{"uid":"cap_XC0udmOvcMd5LlAkSWyt6","slug":"language-code-lookup-by-iso-639-or-bcp-47-66bf6ef5","name":"Language Code Lookup by ISO 639 or BCP 47","description":"Look up a language by ISO 639-1, 639-2 (B or T) code, BCP 47 tag or English name; returns all code forms.","url":"https://country-codes-iso.x402tookit.com/language-lookup?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":"Language code, tag or name: fr, fra, fre, pt-BR, Welsh"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"language":{"type":["null","object"],"properties":{"names":{"type":["array","null"],"items":{"type":"string"}},"iso639_1":{"type":["null","string"]},"iso639_2":{"type":["null","string"]},"iso639_2T":{"type":["null","string"]}}},"matchedOn":{"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_ub1aud4U8oRSoVX6iJJMk","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":"Look up a language by ISO 639-1, ISO 639-2 (B or T), or BCP 47 tag and return all code forms and names.","exampleAgentPrompt":"What are all the ISO 639-1 and 639-2 codes for Welsh — I have the English name but need both the bibliographic and terminological forms.","exampleUseCases":[{"title":"Resolve language code for localization pipeline","prompt":"I have the language tag 'pt-BR' and I need to know its ISO 639-1 code and both ISO 639-2 forms so I can configure our localization system correctly."},{"title":"Identify language from unfamiliar code","prompt":"Someone sent me a file tagged with 'fre' — what language is that, and what are all the other code forms I should know about?"},{"title":"Build a language selector with full code mapping","prompt":"I'm building a dropdown for language selection and need the complete ISO code set for Welsh — give me the 639-1, 639-2 bibliographic, and 639-2 terminological codes."}],"resultDescription":"Returns a language object containing ISO 639-1 code, ISO 639-2 B (bibliographic) code, ISO 639-2 T (terminological) code, and an array of known English names for the language, along with which query field was matched and metadata like source and disclaimer.","failureModes":["Unknown or unsupported language input returns an empty or null language object","Ambiguous BCP 47 subtags (e.g. regional variants not in ISO 639) may not resolve","Misspelled English language names may not match","Missing required query parameter 'q' returns a 400-level error","ISO 639-3 codes (three-letter codes for smaller languages) are not supported — only 639-1 and 639-2"],"whenToPreferThis":"Use this endpoint when you have any form of ISO 639-1, ISO 639-2 (B or T), BCP 47 tag, or English language name and need to resolve the full set of standardized code equivalents. Prefer this over the generic multi-entity lookup when your query is specifically a language identifier. It is ideal for internationalization pipelines, localization config validation, or data normalization tasks where language codes need to be cross-referenced.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:35:01.469Z","isFirstParty":false,"canonicalSlug":"language-code-lookup-by-iso-639-or-bcp-47-66bf6ef5"}