{"uid":"cap_7GaiqCbqCOp8ZBOIndvPE","slug":"world-bank-military-expenditure-of-gdp-time-series-477b5a13","name":"World Bank Military Expenditure (% of GDP) Time Series","description":"Military Expenditure Share Of GDP for any country by ISO code as a yearly World Bank Open Data time series, no key. Returns country, year, and value. For AI agents doing macro, demographic, and cross country analysis.","url":"https://proxy.suverse.io/v1/data/suverse-wb-military-expenditure","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y3MvgCcr4r6IAcR_LFQU_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.07","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns World Bank Open Data military expenditure as a share of GDP for any country by ISO code, as a yearly time series requiring no API key.","exampleAgentPrompt":"Pull the full World Bank military expenditure time series for China — I want every year's defense spending as a percentage of GDP — ISO code CN.","exampleUseCases":[{"title":"NATO defense spending trend analysis","prompt":"Get me the yearly military expenditure as a share of GDP for the United States — I want the full World Bank time series so I can see how defense spending has trended over the decades."},{"title":"Emerging market macro comparison","prompt":"I'm doing a cross-country macro report — can you fetch World Bank military expenditure data for Brazil, India, and South Africa? I need the full yearly GDP share time series for each country."},{"title":"Geopolitical risk research","prompt":"For my geopolitical risk model, pull the complete historical military spending as percent of GDP for Russia using its ISO country code RU — I need every year available from the World Bank dataset."}],"resultDescription":"Returns a time series array for the requested country, with each record containing the country name or ISO code, the year, and the military expenditure value expressed as a percentage of GDP, sourced from World Bank Open Data. No API key is required.","failureModes":["Invalid or unrecognized ISO country code returns empty or error response","Country has no World Bank military expenditure data (e.g. some small or restricted nations)","Malformed request body causes a 400 error","Payment not completed via x402 protocol results in 402 response","World Bank upstream data unavailability causes service disruption"],"whenToPreferThis":"Choose this endpoint when you need structured, multi-year World Bank military expenditure as a percentage of GDP for any country by ISO code, without needing your own World Bank API key. It is ideal for macro, geopolitical, and cross-country demographic research agents that need consistent, authoritative defense spending data without building a World Bank integration from scratch. Prefer this over raw World Bank API calls when you want a proxied, agent-friendly interface with per-call micropayment pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:02:26.191Z","isFirstParty":false}