{"uid":"cap_X0ozRcRgbPihc0L4J2taB","slug":"api-x402node-dev-81816959","name":"x402node Language Detection","description":"language detect, detect language, identify language, language identifier, language detection, language detector, langdetect, ISO 639-3 language code. Detect language of any text. Returns ISO 639-3 code with confidence. Supports 80 plus languages. For AI agents handling multilingual text, content routing, translation pipelines. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/text/lang-detect","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":["text"],"properties":{"text":{"type":"string","description":"Input text (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0022","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.0022/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_44-j-1FKftU_VVGLZLKf0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0022","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects the language of any text input and returns an ISO 639-3 language code with confidence score, supporting 80+ languages.","exampleAgentPrompt":"What language is this text written in, and how confident are you? — 'Bonjour, je m'appelle Marie et j'habite à Paris.'","exampleUseCases":null,"resultDescription":"Returns a JSON object with the detected ISO 639-3 language code (e.g. 'fra' for French), a confidence score between 0 and 1, an array of alternative language candidates with their own confidence scores, and the sample length used for detection.","failureModes":["Very short text (1-2 characters) may yield low confidence or unreliable detection","Mixed-language text may return the dominant language but with reduced confidence","Unknown or constructed languages not in the 80+ supported set may return a closest match with low confidence","Empty or whitespace-only input may return an error or null language code","Heavily romanized or transliterated text may be misclassified"],"whenToPreferThis":"Use this endpoint when you need fast, per-call language identification of arbitrary text with an ISO 639-3 code and confidence score — especially useful in multilingual AI pipelines, content routing systems, or translation preprocessing where you need a standardized language tag rather than a human-readable label.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:14.330Z","isFirstParty":false}