{"uid":"cap_X4mqLsZn-KYK1Pk7TtLxk","slug":"iso-country-lookup-by-name-or-code-bdc6ac26","name":"ISO Country Lookup by Name or Code","description":"Look up a country by name or its 2- or 3-letter ISO code and get capital, currencies, official languages, calling code, region, land area, bordering countries, and flag emoji in one normalized object. Handy for onboarding forms, compliance checks, and shipping-rule engines that key off ISO codes rather than free-text country names.","url":"https://x402.forgemesh.io/iso-country-codes","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"country":{"type":"string","description":"name or code, e.g. Japan"}}},"responseSchema":{"type":"json","example":{"cca2":"JP","flag":"🇯🇵","name":"Japan","region":"Asia","capital":["Tokyo"],"currencies":{"JPY":{"name":"Japanese yen","symbol":"¥"}}}},"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_utUwlMWrlXi8Yt88-LVsc","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":"Look up a country by name or ISO 2/3-letter code and return capital, currencies, languages, calling code, region, area, bordering countries, and flag emoji in one object.","exampleAgentPrompt":"What's the capital, official languages, currency, and calling code for Japan — can you look it up by its ISO code?","exampleUseCases":null,"resultDescription":"A normalized object containing the country's capital, currencies, official languages, international calling code, geographic region, land area in km², list of bordering country codes, and flag emoji — all keyed from a single name or ISO 2/3-letter code input.","failureModes":["Unrecognized country name or code returns an error or empty result","Ambiguous free-text name (e.g. abbreviations, alternate spellings) may fail to match","Non-country geographic entities (territories, disputed regions) may not be in the dataset","Payment failure (insufficient USDC) blocks the request"],"whenToPreferThis":"Use this endpoint when you need a single, normalized country data object from a name or ISO code — ideal for onboarding forms that must normalize free-text input to ISO codes, compliance pipelines checking region or currency, or shipping-rule engines. Prefer over a general geocoding or mapping API when the input is a country name/code (not coordinates) and the output needed is administrative/political metadata rather than a map or address.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:43:08.188Z","isFirstParty":false}