{"uid":"cap_wDoN6Edr9gx2rSMNV-5bf","slug":"country-and-currency-codes-iso-4217-currency-lookup-8545d571","name":"Country and Currency Codes – ISO 4217 Currency Lookup","description":"Currency of a country (code, number, minor units) or every country using a currency, by ISO 4217.","url":"https://country-codes-iso.x402tookit.com/country-currency?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":["q"],"properties":{"q":{"type":"string","description":"A country (name or code) or a currency code, e.g. Japan or EUR"},"mode":{"type":"string","description":"country, currency or auto (default)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"issuers":{"type":["array","null"],"items":{"type":"string"}},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"currency":{"type":["null","object"],"properties":{"code":{"type":["null","string"]},"kind":{"type":["null","string"]},"name":{"type":["null","string"]},"numeric":{"type":["null","string"]},"minorUnit":{"type":["null","number"]}}},"degraded":{"type":["boolean","null"]},"countries":{"type":["array","null"],"items":{"type":"object","properties":{"name":{"type":["null","string"]},"alpha2":{"type":["null","string"]},"primary":{"type":["boolean","null"]}}}},"direction":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4i9PeYALjq7oQU7SE1JZp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the currency for a given country (code, number, minor units) or the list of countries using a given ISO 4217 currency code.","exampleAgentPrompt":"What currency does Japan use, and what's its ISO 4217 code, numeric code, and number of minor units?","exampleUseCases":[{"title":"E-commerce checkout currency display","prompt":"My app is about to show a checkout page for a customer in Brazil — what ISO 4217 currency code, numeric code, and minor units should I use for formatting the price?"},{"title":"Finding all countries using the Euro","prompt":"I need a list of every country that uses the Euro as their currency — can you look that up by the EUR currency code?"},{"title":"Financial data pipeline enrichment","prompt":"I'm processing a transaction for South Korea and need the ISO 4217 currency code, its numeric identifier, and minor unit precision for KRW — can you fetch that?"}],"resultDescription":"Returns a currency object containing the ISO 4217 code, name, numeric code, and minor units, plus a list of countries using that currency (each with name, alpha-2 code, and a primary flag). Also includes source attribution, an 'asOf' timestamp, direction of the lookup, and optional disclaimer/summary fields.","failureModes":["Unrecognized country name or code returns an empty or error result","Ambiguous query without mode specified may resolve incorrectly (use mode=country or mode=currency to disambiguate)","Non-ISO currency names may not match","Territories or special regions may not be included","Rate limit or payment failure returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need to resolve a country to its official ISO 4217 currency (code, numeric, minor units) or find all countries using a specific currency. Prefer this over a generic country-lookup endpoint when the primary output needed is currency metadata. Ideal for financial applications, e-commerce checkout, data enrichment pipelines, and internationalization workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:42.108Z","isFirstParty":false,"canonicalSlug":"country-and-currency-codes-iso-4217-currency-lookup-8545d571"}