The data in this application can be accessed with direct requests to an API.
We provide up-to-date snapshots of XRONOS entire scientific database as flat-file exports:
This is the simplest and most efficient way to access larger portions of the database.
To query subsets of the database, we provide a JSON API at this endpoint:
https://xronos.ch/api/v1/data
You can also filter the data with this interface to only access the subsets relevant for you. With the following URL you get - for example - only one date with the Lab Number AAR-1847.
https://xronos.ch/api/v1/data?query_labnr=AAR-1847
The | ("pipe") operator allows you to combine multiple filter keys. | represents a logical OR. That means the following URL will give you both dates AAR-1847 and KN-2506.
https://xronos.ch/api/v1/data?query_labnr=AAR-1847|KN-2506
You can also combine multiple filter criteria by adding filter parameters to the URL with the & ("and") operator. The parameters are combined with a logical AND. The following query will therefore give you all dates measured on charcoal from Germany.
https://xronos.ch/api/v1/data?query_country=Germany&query_material=charcoal
Heres a list of the available filter criteria:
XRONOS is an open resource, and we welcome responsible reuse of its data. When accessing the API or harvesting pages programmatically, please be polite: identify yourself, respect the site policy, make requests slowly, and avoid asking for the same resource repeatedly.
User-Agent string that identifies
your project or application and provides a contact email or URL.
robots.txt and do not request paths that are excluded
there.
We reserve the right to block traffic uses an excessive amount of server resources or causes problems for other users. If in doubt, please contact us.