{"uid":"cap_g8a4ihzU6AHbv_Qr6y--t","slug":"2s-iso-639-language-code-lookup-2c2d0c55","name":"2s ISO 639 Language Code Lookup","description":"Look up an ISO 639 language. Pass code in any form — 639-1 (en), 639-2/B (ger) or 639-2/T (deu) — or name (English, partial match). Returns the English name and all sibling codes (alpha-2, alpha3-B, alpha3-T), so you can normalize a messy language tag to canonical ISO identifiers and resolve the bibliographic-vs-terminological alpha-3 split (e.g. German = de / deu / ger). Bundled authoritative ISO 639 data.","url":"https://2s.io/api/iso/language","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":[],"properties":{"code":{"type":"string","description":"ISO 639 code: 639-1 (en), 639-2/B (ger), or 639-2/T (deu)."},"name":{"type":"string","description":"Language name (English), partial allowed."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"code":"en"}}},"response":{"data":{"found":true,"query":{"code":"en","name":null},"source":{"url":"https://www.iso.org/iso-639-language-code","license":"Public domain (ISO 639 code list; data via datasets/language-codes, PDDL)","provider":"ISO 639 language codes (bundled; datasets/language-codes)"},"languages":[{"name":"English","alpha2":"en","alpha3b":"eng","alpha3t":null}]},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"iso.language","settlement":{"txHash":"0xb07eb7058aa0aae30f4b2ad7f504c1170ee2bfa7e71c8a16604b2068b6806b89","network":"eip155:8453","success":true}}}},"exampleRequest":{"code":"en"},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0012/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_37h5oYE3iWdkAoKZ5Qpdv","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":"Looks up ISO 639 language codes (alpha-2 and alpha-3) by code or language name","exampleAgentPrompt":"What are the ISO 639-1 and ISO 639-2 codes for German? I need both the alpha-2 and alpha-3 variants.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a found boolean, the original query (code or name), source attribution, and an array of matched languages each containing the English name, alpha-2 code, alpha-3/B code, and alpha-3/T code.","failureModes":["No match found: found=false with empty languages array when code or name doesn't match any ISO 639 entry","Ambiguous partial name match: may return multiple language entries when name is non-specific","Invalid code format: passing a code that isn't ISO 639-1 or 639-2 may return no results","Missing parameters: if neither code nor name is provided the API may return an error or empty result"],"whenToPreferThis":"Use this endpoint when you need authoritative ISO 639 language code lookups without managing a local dataset or signing up for a service — particularly useful for internationalization pipelines, locale validation, or enriching language metadata. Pay-per-call USDC pricing makes it suitable for low-volume or on-demand agent use cases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:05:36.534Z","isFirstParty":false}