Skip to content

# Environmental Sensors API

Verified data provider by AgentDataAPI agentdataapi.com api.realtimeapi.ai/v1/sensordata

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).

SERVICE QUALITY · 30 DAYS Status page
VIA REALTIMEAPI · P50 · 24H
109 ms vs 92 ms direct from AgentDataAPI
6 of 8 endpoints edge-cached · see data speed & quality report
price / callfrom $0.005
endpoints8
uptime 30d100.00%
saved / call-14 ms

Data Endpoints 8

5 groups

The 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.

SPEED

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.
MEDIAN RESPONSE TIME (P50) · 24 HOURS
Direct to AgentDataAPI92 ms
Through RealtimeAPI109 ms
--faster at p50
-14 mssaved per call
6 / 8endpoints accelerated

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.

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.

Get a free key

1,000 calls a month across every feed. Who is setting it up?

No key needed at all: agents can pay per call in USDC with x402.