{"uid":"cap_Qlgm-_RdBnbiUSSmb_i8d","slug":"iso-country-code-name-resolver-b9267f4f","name":"ISO Country Code & Name Resolver","description":"Resolve country names and ISO alpha-2/alpha-3 codes using a bundled country table.","url":"https://x402-zoo.lolagent.workers.dev/api/iso-country","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"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FVsaPMi3x2d6tDI-B-0y8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves country names and ISO alpha-2/alpha-3 codes to normalized country identifiers using a bundled country table.","exampleAgentPrompt":"What's the ISO alpha-2 and alpha-3 code for Germany? Look it up using the bundled country table.","exampleUseCases":[{"title":"Normalize country name in user data","prompt":"I have a user record that says 'Deutschland' — can you resolve that to the standard ISO alpha-2 and alpha-3 country codes?"},{"title":"Convert alpha-3 code to country name","prompt":"What country does the ISO alpha-3 code 'BRA' refer to? Give me the full normalized name and the two-letter code too."},{"title":"Validate country code before API call","prompt":"Before I submit this form, can you check whether 'GB' is a valid ISO alpha-2 country code and tell me what country it maps to?"}],"resultDescription":"Returns normalized country identifiers including the full country name, ISO alpha-2 code, and ISO alpha-3 code resolved from the input country name or code query.","failureModes":["Unrecognized or misspelled country name returns an error or empty result","Invalid or non-existent ISO codes return a lookup failure","Missing required 'country' query parameter returns a 400-level error","Ambiguous abbreviated country names may not resolve correctly"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, fast, offline-capable country code lookup without external geopolitical database dependencies. Ideal for normalizing user-supplied country strings into ISO 3166 codes, validating country codes before downstream API calls, or enriching datasets with standardized country identifiers. Prefer this over the sibling flag-emoji endpoint when you need raw ISO codes rather than visual representations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:03:05.103Z","isFirstParty":false}