{"uid":"cap_n4p0SMpcNXtxA_lClTg9g","slug":"country-languages-lookup-by-country-name-or-iso-code-e022c5b5","name":"Country Languages Lookup by Country Name or ISO Code","description":"Languages listed for a country with ISO 639-1 and 639-2 codes and names, from a country name or ISO code.","url":"https://country-codes-iso.x402tookit.com/country-languages?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":"Country name or ISO code, e.g. Switzerland or CH"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"country":{"type":["null","object"],"properties":{"tld":{"type":["null","string"]},"name":{"type":["null","string"]},"alpha2":{"type":["null","string"]},"alpha3":{"type":["null","string"]},"region":{"type":["null","string"]},"capital":{"type":["null","string"]},"numeric":{"type":["null","string"]},"subRegion":{"type":["null","string"]},"currencies":{"type":["array","null"],"items":{"type":"string"}},"independent":{"type":["boolean","null"]},"callingCodes":{"type":["array","null"],"items":{"type":"string"}},"officialName":{"type":["null","string"]}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"languages":{"type":["array","null"],"items":{"type":"object","properties":{"tag":{"type":["null","string"]},"name":{"type":["null","string"]},"region":{"type":["null","string"]},"iso639_1":{"type":["null","string"]},"iso639_2":{"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_LNf7pTOCj7YW28xSo3KfY","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 all languages spoken in a country with their ISO 639-1 and ISO 639-2 codes and names, given a country name or ISO code.","exampleAgentPrompt":"What languages are spoken in Switzerland, and what are their ISO 639-1 and 639-2 codes?","exampleUseCases":[{"title":"Localization language selection for a country","prompt":"I'm building a localization system and need to know all languages spoken in Japan along with their ISO 639-1 and 639-2 codes — can you look those up?"},{"title":"Language detection for user onboarding","prompt":"A user signed up with a Canadian phone number — what languages are officially spoken in Canada and what are their ISO 639 codes so I can set their language preferences?"},{"title":"Language metadata enrichment for a dataset","prompt":"I have a dataset of countries and need to enrich each one with their spoken languages and ISO 639 codes. Start with Nigeria — what languages and codes does it have?"}],"resultDescription":"Returns a list of languages for the specified country, each with its ISO 639-1 code, ISO 639-2 code, BCP 47 tag, language name, and region. Also includes country metadata such as alpha-2/alpha-3 codes, capital, region, subregion, currencies, calling codes, TLD, and official name. Response includes a summary, data source attribution, and an 'asOf' timestamp.","failureModes":["Unrecognized country name or code returns no results or an error verdict","Ambiguous input (e.g. common abbreviations) may require more specific input","Network or payment authorization failure returns no data","Countries with no registered language data may return empty language arrays","Degraded flag may be set if upstream data source is partially unavailable"],"whenToPreferThis":"Use this endpoint when you need to enumerate languages spoken in a specific country along with their ISO 639-1 and 639-2 codes — ideal for localization pipelines, i18n configuration, language-preference inference, or data enrichment. Prefer this over a generic country lookup when language codes (not just names) are required. If you only need currency or calling code data, sibling endpoints may be more appropriate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:13:45.279Z","isFirstParty":false,"canonicalSlug":"country-languages-lookup-by-country-name-or-iso-code-e022c5b5"}