# Environmental Sensors API
Readings from open environmental networks: readings from open environmental networks: air quality (OpenAQ), US river gauges (USGS), tides and water levels (NOAA CO-OPS) and earthquakes (USGS), in one station id scheme, one unit set and one quality flag, with nearest-station search by coordinates and derived flags (AQI category, flood stage, recent quakes within a radius).
Data Endpoints 8
5 groupsThe Environmental Sensors API provides real-time data from open environmental networks, including air quality, US river gauges, tides, and earthquakes. The API offers various endpoints for retrieving data, such as air quality near a point, recent earthquakes, and tide predictions. The data is unified in one station id scheme, one unit set, and one quality flag, making it easier to work with. Nearest-station search by coordinates and derived flags (AQI category, flood stage, recent quakes within a radius) are also available.
Faster through RealtimeAPI
Before and after: 6 of 8 endpoints are answered from our edge cache instead of a round trip to AgentDataAPI.
Why use RealtimeAPI
Cached answers from Cloudflare's edge in 300+ cities, measured every 5 minutes.The same data AgentDataAPI serves, refreshed on its schedule: freshness shown per endpoint, and every answer says how old the copy is (X-RTAPI-Data-Age).One API key for every feed.Pay per call in USDC (x402), buy a 1-hour, 1-day, 7-day or 30-day pass, or prepay USDC credits.MCP tools for agents: Claude, Cursor or any MCP client can call this feed directly.How we measure: before is a direct call to AgentDataAPI from Cloudflare's edge (successful probes only); after is what an API-key caller gets at the edge: the read of our cached copy at the same edge location plus the gateway's own time per request. A cache miss adds the provider's time. Both leave out the agent-to-edge leg, which is the same either way. 24-hour p50 and p95, updated hourly. Last updated 2026-11-11 07:05 UTC.
Accelerated endpoints 6
click a column to sort2 endpoints are always served live from AgentDataAPI (data changes faster than every 5 minutes, or per-request lookups).
Frequently asked questions
About pricing, keys and agent access for the Environmental sensors feed.
What type of data does the API provide?
The API provides real-time environmental data, including air quality, US river gauges, tides, and earthquakes.
What are the available endpoints?
The API offers endpoints for air quality, recent earthquakes, tide predictions, and more.
How is the data unified?
The data is unified in one station id scheme, one unit set, and one quality flag.
What is the price of the API?
The price of the API is $0.005 per request.
What is the payment method?
The API can be paid for in USDC (x402) or with an API key.