{"uid":"cap_TGa88kPkUoxI_aQvQRYJs","slug":"x402stock-gdp-data-ee7d960e","name":"x402stock GDP Data","description":"US real GDP, quarterly, with quarter-over-quarter and year-over-year change","url":"https://agents.x402stock.xyz/api/v1/gdp?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false}}},"responseSchema":{"type":"object","required":["source","as_of","series_id","title","unit","frequency","latest","prior","change","change_percent","yoy_percent","history"],"properties":{"unit":{"type":"string"},"as_of":{"type":"string"},"prior":{"anyOf":[{"type":"object","required":["date","value"],"properties":{"date":{"type":"string"},"value":{"type":"number"}},"additionalProperties":false},{"type":"null"}]},"title":{"type":"string"},"change":{"anyOf":[{"type":"number"},{"type":"null"}]},"latest":{"anyOf":[{"type":"object","required":["date","value"],"properties":{"date":{"type":"string"},"value":{"type":"number"}},"additionalProperties":false},{"type":"null"}]},"source":{"type":"string","const":"fred"},"history":{"type":"array","items":{"type":"object","required":["date","value"],"properties":{"date":{"type":"string"},"value":{"type":"number"}},"additionalProperties":false}},"frequency":{"type":"string"},"series_id":{"type":"string"},"yoy_percent":{"anyOf":[{"type":"number"},{"type":"null"}]},"change_percent":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ltIr-tg4Yl8X8bgn9j-_J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_zvJHrHrcUaB-pKs13wTYl","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns US GDP data for use by AI agents, paid per-request in USDC via x402","exampleAgentPrompt":"Can you pull the latest US GDP data so I can see how the economy has been growing recently?","exampleUseCases":[{"title":"GDP trend for investment thesis","prompt":"I'm building an investment case — can you fetch the US GDP time series so I can see how economic growth has trended over the past several quarters?"},{"title":"Macro briefing for a portfolio manager","prompt":"Pull the latest US GDP figures for me; I need to include current economic output stats in my weekly macro briefing."},{"title":"Recession risk assessment","prompt":"Get me the most recent US GDP data so I can assess whether the economy is showing signs of contraction or slowing growth."}],"resultDescription":"Returns US GDP figures and related macroeconomic data, likely including time-series values of gross domestic product (e.g. quarterly or annual figures, growth rates). The response is delivered as JSON and billed at $0.01 USDC per call via x402 payment protocol.","failureModes":["Payment failure if wallet has insufficient USDC balance","Invalid or unsupported query parameters return an error","Endpoint not in supported catalog returns 404","Rate limiting or server-side errors return 5xx responses","Missing required parameters may return 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need programmatic, pay-per-use access to US GDP data without setting up API keys or accounts. It is ideal for AI agents that need autonomous access to macroeconomic data and can pay per request in USDC. Prefer this over free tiers when reliable, up-to-date GDP data is needed on demand with no subscription friction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T18:46:29.461Z","isFirstParty":false,"canonicalSlug":"x402stock-gdp-data-ee7d960e"}