Query and add to the Safecast dataset with your own application.
https://api.safecast.org/en-US
GET https://api.safecast.org/.json
The Measurement is the basic unit in the Safecast database.
A measurement is composed of four key parts.
captured_atunitvaluelocation (latitude, longitude)Measurements are accessed via the HTTP API:
GET https://api.safecast.org/measurements.json
You can filter the measurements with a variety of options to find measurements near a point, captured on certain dates etc.
Provide latitude, longitude and distance.
GET https://api.safecast.org/measurements.json?distance=100&latitude=34.5&longitude=135.5
Provide captured_after, captured_before or both.
GET https://api.safecast.org/measurements.json?captured_after=2012-09-08+00%3A00&captured_before=2012-09-09+00%3A00
Provide since, until or both.
GET https://api.safecast.org/measurements.json?since=2012-09-08+00%3A00&until=2012-09-09+00%3A00
Bulk imports of measurements, typically associated with drives that collect a lot of data using Safecast’s bGeigie devices are processed and logged independently.
You can retrieve a list of all of these imports:
GET https://api.safecast.org/bgeigie_imports.json
And you can view individual imports:
GET https://api.safecast.org/bgeigie_imports/10757.json
Safecast maintains a list of devices that are used to take radiation measurements. You can view a list of these devices:
GET https://api.safecast.org/devices.json
If you want to add a new device, you can do so:
POST http://api.safecast.dev/en-US/devices.json