{"uid":"cap_z0wR_12cOdGPqkT3-DlFu","slug":"agentshield-live-capital-lookup-f1535fce","name":"agentshield.live Capital Lookup","description":"Call when an agent needs the listed capital of a country. Unknown or disagreed countries return 404. Not a live gazetteer.","url":"https://agentshield.live/capital?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","required":["country"],"properties":{"country":{"type":"string","description":"ISO 3166-1 code or English short name."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"known":true,"capital":"Berlin","country":"DE","country_name":"Germany"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__W1fMockbf6gSnISTh-mV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the capital city of a country given its ISO 3166-1 code or English short name; returns 404 for unknown or disputed countries.","exampleAgentPrompt":"What is the capital city of Germany? Use the country name or ISO code DE to look it up.","exampleUseCases":[{"title":"Geopolitical data enrichment pipeline","prompt":"I have a dataset with country codes like US, FR, and JP — can you look up the capital city for each one so I can add it to my records?"},{"title":"Travel itinerary country info","prompt":"I'm building a trip summary for a user going to Brazil — what's the capital city there? Use country code BR."},{"title":"Educational quiz answer validation","prompt":"A student answered that the capital of Australia is Sydney — can you check what the actual capital is using the country name Australia?"}],"resultDescription":"A JSON object containing the capital city name, the ISO 3166-1 country code, the full country name, and a 'known' boolean confirming the country was recognized. Returns HTTP 404 if the country is unknown or disputed.","failureModes":["404 returned for disputed or unrecognized country names or codes","Misspelled country names may not match and return 404","Countries with disputed capitals (e.g. Taiwan, Kosovo) return 404","ISO codes for territories without recognized capitals may fail","Non-English country names may not resolve correctly"],"whenToPreferThis":"Use this endpoint when you need a quick, static lookup of a country's capital city from either an ISO 3166-1 country code or an English country name. It is ideal for data enrichment, reference lookups, and education use cases where a known, unambiguous capital is required. Avoid it for disputed territories, live geopolitical data, or full gazetteer functionality.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:30:15.624Z","isFirstParty":false,"canonicalSlug":"agentshield-live-capital-lookup-f1535fce"}