{"uid":"cap_UfmY05H5rrSIpPA-A6hjY","slug":"agentshop-macro-fiscal-report-api-x402-1684db83","name":"agentshop — Macro-Fiscal 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/macro-fiscal?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.TAX.TOTL.GD.ZS","GC.DOD.TOTL.GD.ZS","SE.XPD.TOTL.GD.ZS"],"contentType":"text/html","description":"Fiscal Position Report — Tax, Debt and Education Spending","freePreview":"/preview/macro-fiscal","indicatorsLabel":["Tax revenue (% of GDP)","Central government debt, total (% of GDP)","Government expenditure on education (% 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_7xPkiQAPiGurOmUIDR1qQ","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":"Fetches a machine-readable macroeconomic fiscal position report (tax revenue, government debt, education spending) for 10 economies over 2015–2025, paid per fetch in USDC via x402.","exampleAgentPrompt":"Can you pull the fiscal position report — tax revenue, government debt, and education spending across 10 economies from 2015 to 2025 — and give it to me as a JSON summary?","exampleUseCases":[{"title":"Country debt comparison for research","prompt":"I need a cross-country comparison of central government debt as a percentage of GDP for the 10 economies in the fiscal report, covering 2015 to 2025. Can you fetch it in JSON format and highlight the trend and volatility for each country?"},{"title":"Spreadsheet-ready fiscal data export","prompt":"Can you download the macro-fiscal report as a summary CSV so I can drop it straight into my spreadsheet? I want one row per economy with the derived fiscal metrics."},{"title":"Education spending policy brief","prompt":"I'm writing a policy brief and need to know how government education expenditure as a share of GDP compares across the 10 covered economies over the past decade — can you grab that report and pull out the key findings and rankings?"}],"resultDescription":"Returns a fiscal position report covering 10 economies for 2015–2025 with indicators for tax revenue (% of GDP), central government debt (% of GDP), and government education expenditure (% of GDP). Includes key findings, a ranking table, share of group total, trend analysis with R², volatility metrics, a full year-by-year data matrix, and coverage/data-quality disclosures. Available in html, json, csv, or summary-csv format.","failureModes":["Payment failure or insufficient USDC balance returns HTTP 402 with payment required details","Invalid format parameter value returns an error (only html, json, csv, summary-csv are accepted)","Network or host unavailability returns a 5xx error","Data freshness lag: underlying World Bank indicators may not include the most recent year"],"whenToPreferThis":"Choose this endpoint when you need a ready-made, multi-economy fiscal report with derived analytics (rankings, trends, volatility) rather than raw indicator values. It is ideal for agents that need structured macroeconomic fiscal data without managing API keys or subscriptions — paying only per fetch via x402/USDC. Prefer it over World Bank APIs when you need pre-aggregated, analyst-quality output with key findings already computed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:43:13.793Z","isFirstParty":false,"canonicalSlug":"agentshop-macro-fiscal-report-api-x402-1684db83"}