{"currency":"USDC","protocol":"x402","pricing_page":"https://agentdataapi.com/ai-pricing","subscriptions":{},"free_via_realtimeapi":{"free_calls_per_month":1000,"feeds":{"sensors":{"feed":"sensordata","feed_url":"https://realtimeapi.ai/feeds/sensordata","gateway":"https://api.realtimeapi.ai/v1/sensordata"}},"mcp":"https://mcp.realtimeapi.ai/mcp","free_key":"POST https://api.realtimeapi.ai/keys/free","setup_page":"https://agentdataapi.com/realtimeapi","setup_prompt":"https://agentdataapi.com/realtimeapi/prompt.txt"},"passes":{"pass_1h":{"price_usd":1.0,"tier":"pro","duration_hours":1,"endpoint":"POST /api/v1/payments/agent-subscribe","body":{"plan":"pass_1h"}},"pass_1d":{"price_usd":3.0,"tier":"pro","duration_hours":24,"endpoint":"POST /api/v1/payments/agent-subscribe","body":{"plan":"pass_1d"}},"pass_7d":{"price_usd":8.0,"tier":"pro","duration_hours":168,"endpoint":"POST /api/v1/payments/agent-subscribe","body":{"plan":"pass_7d"}}},"per_request":{"sensors_stations_near":{"method":"GET","path":"/api/v1/stations/near","price_usd":0.005,"price_micro":5000,"description":"Stations of every open network within a radius of a point, nearest first, with network, parameters and distance.","cadence":"Refreshes every 24 hours."},"sensors_air":{"method":"GET","path":"/api/v1/air/{station_id}","price_usd":0.005,"price_micro":5000,"description":"Latest air quality readings at one monitor (PM2.5, PM10, O3, NO2, SO2, CO) with the US EPA AQI value and category.","cadence":"Refreshes every 60 minutes."},"sensors_air_near":{"method":"GET","path":"/api/v1/air/near","price_usd":0.01,"price_micro":10000,"description":"Air quality monitors within a radius of a point with their latest readings and AQI, nearest first.","cadence":"Refreshes every 60 minutes."},"sensors_water_gauge":{"method":"GET","path":"/api/v1/water/gauge/{site}","price_usd":0.005,"price_micro":5000,"description":"Latest river gauge height, discharge and water temperature at a USGS site, with the NWS flood stage status.","cadence":"Refreshes every 15 minutes."},"sensors_water_history":{"method":"GET","path":"/api/v1/water/gauge/{site}/history","price_usd":0.02,"price_micro":20000,"description":"Gauge readings for the last 7 days at a USGS site, newest first, with observed and ingested times for point-in-time use.","cadence":"Refreshes every 15 minutes.","cache_ttl_s":1800},"sensors_tides":{"method":"GET","path":"/api/v1/tides/{station}","price_usd":0.005,"price_micro":5000,"description":"Latest observed water level at a NOAA tide station (metres above MLLW) with the next predicted high and low.","cadence":"Refreshes every 6 minutes."},"sensors_tide_predictions":{"method":"GET","path":"/api/v1/tides/{station}/predictions","price_usd":0.005,"price_micro":5000,"description":"Predicted high and low tides for a day at a NOAA tide station (metres above MLLW, UTC).","cadence":"Refreshes every 24 hours."},"sensors_quakes":{"method":"GET","path":"/api/v1/quakes/recent","price_usd":0.005,"price_micro":5000,"description":"Earthquakes in the last N hours from the USGS feed, optionally above a magnitude and within a radius of a point.","cadence":"Refreshes every 60 seconds."}},"how_to_pay":["1. GET the endpoint with no X-API-Key. You receive HTTP 402 with a Payment-Required header and a JSON body whose accepts[] lists the USDC amount, network (Base recommended) and payTo address.","2. Sign that amount with your wallet (EIP-3009 transferWithAuthorization on Base; the x402 client libraries do this). No gas is spent by you.","3. Repeat the request with the signed payload in the x-payment header. The facilitator settles on-chain and the response is the data (per request) or a key (pass).","4. Running a job? Buy a 1 hour, 1 day or 7 day pass: POST /api/v1/payments/agent-subscribe with {\"plan\": \"pass_1d\"} returns an adk_live_ key valid for every data slice (energy, sensors, weather, news).","5. Steady use? The same endpoints are on RealtimeAPI.ai (feeds griddata, sensordata, weatherdata, newssignals) where a free key gives 1,000 calls a month across every feed: https://agentdataapi.com/realtimeapi"],"notes":["Per-request responses carry Cache-Control: private, no-store.","Passes return an adk_live_ key once and cover every slice; per-request payments do not return a key. There are no subscriptions.","Every response carries a source array naming the publisher, licence and URL of the data, plus as_of and status."]}