Description
The Safecast API provides programmatic access to the Safecast dataset, enabling developers to query existing data and contribute new measurements. This powerful tool allows applications to interact with a global repository of environmental data, specifically focusing on radiation levels.
The API endpoint is located at http://www.opengpt.com/en-US. It supports GET requests for retrieving data and POST requests for adding new entries. Available resources include Users, Measurements, bGeigie Imports, and Devices. Users can add and view user accounts, while Measurements represent the core data points, each containing a timestamp, unit, value, and geopoint location.
Developers can retrieve lists of all available resources or specific entries by their ID. For Measurements, the API offers extensive filtering capabilities. You can find measurements near a specific point by providing latitude, longitude, and distance. Additionally, measurements can be filtered by capture date and time using parameters like `captured_after` and `captured_before`. Data can also be filtered based on when it was added to the database using `since` and `until` parameters.
Safecast also processes bulk imports from its bGeigie devices. The API allows users to retrieve a list of these bGeigie Imports and view individual import records. Furthermore, the API maintains a list of devices used for radiation measurements, which can be viewed or new devices can be added.
This API is ideal for researchers, environmental scientists, developers building public health applications, and anyone interested in contributing to or utilizing open, crowdsourced environmental data. By integrating with the Safecast API, applications can enhance their functionality with real-world radiation data, fostering transparency and informed decision-making.
Safecast API's Core Features
Query Safecast dataset via API
Add data to Safecast dataset
Access user accounts
Add and view measurements
Add and view bGeigie imports
Add and view devices
Filter measurements by location
Filter measurements by capture date
Filter measurements by database entry date
Retrieve lists of all resources
View individual resource details
Supports GET and POST requests
How to use Safecast API?
Access API documentation: Review the available endpoints and resources.
Integrate API calls: Implement GET requests to retrieve data and POST requests to submit new data.
Query measurements: Use parameters like latitude, longitude, distance, and dates to filter radiation data.
Manage bGeigie imports: Access bulk import data for analysis.
Register devices: Add new devices used for data collection.
Develop applications: Build custom tools that leverage Safecast data.
Safecast API's Use Cases
- Environmental Monitoring
- Public Health Tools
- Scientific Research
- Data Contribution
- Geospatial Analysis
- IoT Integration







