{"uid":"cap_yI1vJZtvFgx1xSTOSYxn-","slug":"vextorium-language-detection-9a795ce5","name":"Vextorium Language Detection","description":"Detect the language of a text without AI (55 languages, statistical langdetect model) with probability and alternatives. Fast and cheap for routing messages or choosing a translation.","url":"https://api.vextorium.com/v1/detect-language?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"name":"Spanish","language":"es","reliable":true,"probability":1,"alternatives":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/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_6GRhUUVQ4aIZrqK7u8MTH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects the language of a given text using a statistical model (no AI), returning language code, name, reliability flag, and probability score for 55 languages.","exampleAgentPrompt":"What language is this text written in? 'El tiempo libre es el mejor regalo que uno puede darse a sí mismo.' — I need the language name, ISO code, and how confident you are.","exampleUseCases":[{"title":"Multilingual chatbot routing","prompt":"I'm getting user messages in all kinds of languages — can you detect the language of this message and tell me the ISO code and confidence? The text is: 'Bonjour, je voudrais annuler ma commande.'"},{"title":"Content moderation language filter","prompt":"Before I process this user-submitted review, can you check what language it's in and whether the detection is reliable? The text is: 'Das Produkt ist wirklich ausgezeichnet, ich bin sehr zufrieden.'"},{"title":"Localization pipeline pre-check","prompt":"I need to know the language of this string before sending it to the right translator: 'Questo documento è riservato e non deve essere condiviso.' — give me the language name, code, and probability."}],"resultDescription":"Returns a JSON object with: 'language' (ISO 639-1 code, e.g. 'es'), 'name' (human-readable language name, e.g. 'Spanish'), 'reliable' (boolean indicating whether detection confidence is high), 'probability' (float 0–1 indicating detection confidence), and 'alternatives' (array of other candidate languages with their scores).","failureModes":["Empty or very short text may produce unreliable detection with low probability score","Ambiguous or mixed-language text may return 'reliable: false' with multiple alternatives","Text with only numbers, symbols, or code may produce incorrect or low-confidence results","Unsupported languages outside the 55-language model will be misidentified as a similar supported language","Malformed request body missing required 'text' field will return an error"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic language detection without the latency or cost of an LLM-based approach. It is ideal for high-volume pipelines (e.g., routing, filtering, or pre-processing multilingual content) where statistical accuracy across 55 languages is sufficient and a probability/reliability score is valuable for downstream decisions. Prefer it over AI-based detection when cost per call and speed matter more than nuanced understanding of low-resource or dialect variants.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:45:30.151Z","isFirstParty":false,"canonicalSlug":"vextorium-language-detection-82c4b6a9"}