{"uid":"cap_VHSmSNwFta0R0toXlyTdT","slug":"fiscal-space-macroeconomic-report-api-x402-4d520a39","name":"Fiscal Space Macroeconomic Report API (x402)","description":"Machine-to-machine macroeconomic report API. Pay per fetch in USDC over x402. No accounts, no API keys.","url":"https://reportbazaar.app.workbuddy.host/report/theme-fiscal-space?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"],"type":"string"},"queryParams":{"type":"object","properties":{"format":{"enum":["html","json","csv","summary-csv"],"type":"string","description":"Delivery format. csv is a tidy long panel; summary-csv is one row per economy of derived metrics."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"years":"2015:2025","schema":"/schema/report.json","formats":["html","json","csv","summary-csv"],"contains":["key findings","ranking table","share of group total","trend with R²","volatility","full year-by-year matrix","coverage and data-quality disclosure"],"economies":10,"indicators":["GC.DOD.TOTL.GD.ZS","GC.XPN.INTP.ZS","GC.TAX.TOTL.GD.ZS"],"contentType":"text/html","description":"Fiscal Space Report — Debt, Interest and Revenue","freePreview":"/preview/theme-fiscal-space","indicatorsLabel":["Central government debt, total (% of GDP)","Interest payments (% of expense)","Tax revenue (% of GDP)"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_82k_xHi_pYXUQZ3m0e-2m","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a structured macroeconomic report on fiscal space — covering government debt, interest payments, and tax revenue — for a set of economies over 2015–2025, paid per fetch via x402 in USDC.","exampleAgentPrompt":"Pull the fiscal space report for the 10 economies — I need central government debt, interest payments, and tax revenue from 2015 to 2025 — and give it to me as JSON so I can run my own analysis.","exampleUseCases":[{"title":"Sovereign debt comparison for investment research","prompt":"I'm doing sovereign credit research — can you fetch me the fiscal space report with government debt, interest burden, and tax revenue data for those 10 economies and give me a summary of which countries have the most fiscal headroom?"},{"title":"Export panel data for econometric modelling","prompt":"I need a tidy long-panel CSV of the fiscal space indicators — debt-to-GDP, interest-to-expense, and tax revenue share — covering 2015 to 2025 so I can run a regression model."},{"title":"Briefing on fiscal sustainability trends","prompt":"Can you get me the fiscal space report in HTML and pull out the key findings and trend data? I want to understand which of the 10 economies are showing deteriorating fiscal positions over the last decade."}],"resultDescription":"A report covering 10 economies from 2015 to 2025 across three World Bank fiscal indicators (central government debt % of GDP, interest payments % of expense, tax revenue % of GDP), delivered in the requested format (HTML, JSON, CSV, or summary-CSV). Includes key findings, a ranking table, share-of-group-total breakdowns, trend lines with R², volatility metrics, a full year-by-year data matrix, and a coverage/data-quality disclosure.","failureModes":["Payment not accepted or insufficient USDC balance — x402 payment failure returns HTTP 402","Invalid format query parameter value returns error","Upstream World Bank data unavailable or stale — report may have coverage gaps noted in disclosure","Network timeout for the payment + data fetch flow","Unsupported HTTP method returns error"],"whenToPreferThis":"Choose this endpoint when you need pre-computed, analysis-ready fiscal sustainability data (debt, interest burden, tax revenue) for a cross-country panel without signing up for an account or managing API keys. It is ideal for agents that can handle x402 micropayments natively and need structured macroeconomic output in multiple formats (JSON for pipelines, CSV for modelling, HTML for display). Prefer alternatives if you need custom country selection, real-time data, or indicators beyond the three fiscal-space metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:42:06.776Z","isFirstParty":false,"canonicalSlug":"fiscal-space-macroeconomic-report-api-x402-4d520a39"}