{"uid":"cap_CITfstKpd-C7QAZ-I_7wu","slug":"reportbazaar-macro-military-expenditure-report-api-aac68cc8","name":"ReportBazaar Macro Military Expenditure Report API","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-military?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":20,"indicators":["MS.MIL.XPND.GD.ZS"],"contentType":"text/html","description":"Military Expenditure Report","freePreview":"/preview/macro-military","indicatorsLabel":["Military expenditure (% 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_rT_fIV2aq-9QOZZrKmVSu","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 macroeconomic report on military expenditure as a percentage of GDP across 20 economies (2015–2025), paid per call in USDC via x402 with no account or API key required.","exampleAgentPrompt":"Pull the military expenditure report as a JSON so I can see how military spending as a percentage of GDP has trended across the 20 covered economies from 2015 to 2025, including the ranking table and volatility data.","exampleUseCases":[{"title":"Defense budget comparison for policy brief","prompt":"I'm writing a policy brief and need a ranked table of military expenditure as a percentage of GDP across the 20 covered economies — can you fetch that report in JSON format so I can pull out the rankings and trend data?"},{"title":"Quantitative research panel dataset","prompt":"I need a tidy long-panel CSV of military spending (% of GDP) from 2015 to 2025 across all covered economies for a regression analysis I'm running — can you grab that?"},{"title":"Executive summary of military spending trends","prompt":"Give me a one-page summary of the key findings on military expenditure trends — which economies are rising fastest, which are volatile, and what the overall direction looks like — fetch the summary-CSV format so we can quickly digest it."}],"resultDescription":"Returns a structured report containing military expenditure (% of GDP) data for 20 economies spanning 2015–2025, including key findings, a ranked table, each economy's share of group total, a trend line with R² coefficient, volatility metrics, a full year-by-year data matrix, and a coverage/data-quality disclosure. Available in html, json, csv, or summary-csv format. A free preview is available at /preview/macro-military.","failureModes":["402 Payment Required — USDC payment via x402 not included or insufficient; agent must attach payment header","Invalid format parameter — only html, json, csv, summary-csv are accepted; unsupported values return an error","Network or host unavailability — reportbazaar.app.workbuddy.host may be intermittently unreachable","Stale or incomplete data — coverage gaps may exist for certain economies in certain years, disclosed in the data-quality section"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable macroeconomic data on military expenditure across 20 economies over a decade, without wanting to manage API keys or subscriptions — especially in autonomous agent workflows where x402 micropayments in USDC are already supported. It is ideal for one-off data pulls, policy research, quantitative modeling, or comparative defense economics analysis. Prefer alternatives if you need real-time or daily-updated data, coverage beyond 20 economies, or a broader set of macroeconomic indicators.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:47:16.207Z","isFirstParty":false,"canonicalSlug":"reportbazaar-macro-military-expenditure-report-api-aac68cc8"}