{"currency":"USDC","protocol":"x402","pricing_page":"https://macrodataapi.com/ai-pricing","subscriptions":{},"free_via_realtimeapi":{"free_calls_per_month":1000,"feed":"macrodata","feed_url":"https://realtimeapi.ai/feeds/macrodata","gateway":"https://api.realtimeapi.ai/v1/macrodata","mcp":"https://mcp.realtimeapi.ai/mcp","free_key":"POST https://api.realtimeapi.ai/keys/free","setup_page":"https://macrodataapi.com/realtimeapi","setup_prompt":"https://macrodataapi.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":{"series_list":{"method":"GET","path":"/api/v1/series","price_usd":0.005,"price_micro":5000,"description":"Catalog of every series with publisher, unit, frequency, latest period and next release.","cadence":"Refreshes every 60 minutes."},"series_latest":{"method":"GET","path":"/api/v1/series/{series_id}","price_usd":0.01,"price_micro":10000,"description":"Latest print for one series with the previous value, change, release time and next release.","cadence":"Refreshes at each release; polled every 5 minutes on release days."},"series_history":{"method":"GET","path":"/api/v1/series/{series_id}/history","price_usd":0.02,"price_micro":20000,"description":"Full history of one series, optionally as it stood on a past date (as_of) for point-in-time backtests.","cadence":"Refreshes at each release."},"series_vintages":{"method":"GET","path":"/api/v1/series/{series_id}/vintages","price_usd":0.02,"price_micro":20000,"description":"Every revision of one period of one series: the initial print and each later value with its vintage date.","cadence":"Refreshes at each release."},"releases_upcoming":{"method":"GET","path":"/api/v1/releases/upcoming","price_usd":0.005,"price_micro":5000,"description":"Scheduled data releases for the next N days across every publisher, with the series each one updates.","cadence":"Refreshes every 5 minutes."},"releases_latest":{"method":"GET","path":"/api/v1/releases/latest","price_usd":0.01,"price_micro":10000,"description":"The most recent releases observed, newest first, with the headline values that changed.","cadence":"Refreshes every 60 seconds."},"rates_policy":{"method":"GET","path":"/api/v1/rates/policy","price_usd":0.005,"price_micro":5000,"description":"Current policy rates of the Fed, ECB, Bank of England and RBA with the last decision date and next meeting.","cadence":"Refreshes every 5 minutes."},"yields_country":{"method":"GET","path":"/api/v1/yields/{country}","price_usd":0.01,"price_micro":10000,"description":"Daily par yield curve for a country (US today), every tenor, with the previous session and the 2s10s spread.","cadence":"Refreshes every 30 minutes."}},"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 mdk_live_ key.","5. Steady use? The same endpoints are on RealtimeAPI.ai (feed macrodata) where a free key gives 1,000 calls a month across every feed: https://macrodataapi.com/realtimeapi"],"notes":["Per-request responses carry Cache-Control: private, no-store.","Passes return an mdk_live_ key once; per-request payments do not. There are no subscriptions.","Every response carries a source array naming the publisher, licence and URL of the data."]}