{"uid":"cap_QdPy4OjO86lta5WKE6VGK","slug":"whatchuneed-gdp-data-api-49fe5206","name":"Whatchuneed GDP Data API","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/macro/gdp","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"country":{"type":"string"},"end_date":{"type":"string","description":"YYYY-MM-DD"},"start_date":{"type":"string","description":"YYYY-MM-DD"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object"}},"units":{"type":"string"},"series":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jj8mSXD3yO4ycaGvZMz2_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves historical GDP data for a specified country over a given date range","exampleAgentPrompt":"Can you pull the GDP data for Germany from 2010-01-01 to 2023-12-31? I want to see how it's trended over the last decade.","exampleUseCases":[{"title":"Country economic trend analysis","prompt":"Get me GDP data for the United States from 2000-01-01 to 2023-12-31 so I can see how the economy has grown over the past two decades."},{"title":"Emerging market GDP research","prompt":"What does GDP data look like for Brazil between 2010-01-01 and 2020-12-31? I'm researching emerging market economies."},{"title":"Post-pandemic economic recovery check","prompt":"Pull GDP figures for the United Kingdom from 2019-01-01 to 2022-12-31 — I want to see how the economy recovered after the pandemic."}],"resultDescription":"Returns a JSON object containing a 'data' array of time-series GDP records, a 'units' string indicating the measurement unit (e.g., USD billions), and a 'series' string identifying the GDP series name.","failureModes":["Invalid or unrecognized country name returns an error or empty data array","Date range outside available data coverage returns empty results","Malformed date strings (not YYYY-MM-DD) may cause validation errors","Missing required fields may result in API rejection","Payment failure via x402 protocol prevents data retrieval"],"whenToPreferThis":"Choose this endpoint when you need historical GDP time-series data for a specific country over a defined date range, especially in agentic workflows requiring pay-per-call economics via x402 without a subscription. Suitable for one-off lookups or when integrating macroeconomic data into a broader multi-API workflow on the whatchuneed platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:11:12.289Z","isFirstParty":false}