{"uid":"cap_lqLueqHATra6Sa688W7hB","slug":"iso-3166-1-country-code-to-english-name-lookup-6f311c97","name":"ISO 3166-1 Country Code to English Name Lookup","description":"Call when an agent has an ISO 3166-1 code and needs the English short name. Unknown codes return 404.","url":"https://agentshield.live/country?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":["code"],"properties":{"code":{"type":"string","description":"ISO 3166-1 alpha-2 or alpha-3 code."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"code":"DE","name":"Germany","known":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6P0zijfJls_LsB4oEE-fv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves an ISO 3166-1 alpha-2 or alpha-3 country code to its official English short name","exampleAgentPrompt":"What is the official English country name for the ISO 3166-1 code 'DEU'?","exampleUseCases":[{"title":"Enrich shipping records with country names","prompt":"I have a dataset of shipping records with two-letter country codes like 'FR' and 'CN' — can you look up the full English country name for each code so I can display it in our reports?"},{"title":"Display country name in localized UI","prompt":"Our app receives the ISO code 'BRA' from a user's profile — can you resolve that to the official English country name so we can display it in the interface?"},{"title":"Validate and decode passport country field","prompt":"A passport scanner returned the code 'NLD' — what is the full English country name that corresponds to that ISO 3166-1 code?"}],"resultDescription":"A JSON object containing the submitted ISO code, the official English short name of the country (e.g. 'Germany'), and a boolean 'known' field confirming the code was recognized. Returns a 404 error for unrecognized codes.","failureModes":["Unknown or invalid ISO code returns HTTP 404","Passing a non-standard or obsolete code (e.g. former country codes) may return 404","Alpha-4 or numeric ISO codes are not supported and will fail validation","Malformed or empty code parameter causes request failure"],"whenToPreferThis":"Use this endpoint when you have an ISO 3166-1 alpha-2 (e.g. 'DE') or alpha-3 (e.g. 'DEU') country code and need the standardized English short name. It is ideal for enriching structured data, display layers, or any workflow requiring human-readable country names from machine codes. It is not a full country database — use it only for code-to-name resolution, not for capitals, populations, or other country metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T18:57:22.011Z","isFirstParty":false,"canonicalSlug":"iso-3166-1-country-code-to-english-name-lookup-6f311c97"}