{"uid":"cap_T5KukHSwz6BQcmdHLYEG0","slug":"syntexa-agentshelf-language-detection-075419d6","name":"Syntexa AgentShelf Language Detection","description":"Call when an agent needs a heuristic language guess for text. No LLM and no network. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/lang-detect first.","url":"https://agentshelf.syntexa.ch/v1/lang-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["The widget is now generally available for the public on the web."],"maxLength":100000,"minLength":1,"description":"Text whose language should be guessed. Heuristic only. No LLM."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ilB2LCRggbIUnUz8WIwnJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Heuristically detects the natural language of a given text string without using an LLM or external network calls.","exampleAgentPrompt":"Can you figure out what language this text is written in? Here's the snippet: 'Bonjour tout le monde, comment ça va aujourd'hui?' — I need to know before routing it to the right translator.","exampleUseCases":[{"title":"Multilingual chatbot routing","prompt":"I'm getting user messages in various languages and need to detect the language of this one before routing it: 'Hola, ¿puedes ayudarme con mi pedido?' — what language is it?"},{"title":"Content moderation pipeline language tagging","prompt":"Tag this piece of user-submitted content with its language so we know which moderation rules to apply: 'Diese Nachricht enthält unangemessene Inhalte.'"},{"title":"Localization preprocessing for product descriptions","prompt":"Before I send this product description off to be translated, can you detect its language? Here's the text: '제품 설명은 여기에 있습니다.'"}],"resultDescription":"Returns a detected language identifier (e.g. ISO 639 language code and/or language name) along with a confidence score, derived purely from heuristic analysis of the input text with no LLM or network involvement.","failureModes":["Text too short or ambiguous to reliably detect language — may return low-confidence result","Input text is a mix of multiple languages — detection may return dominant language only","Very similar languages (e.g. Malay vs Indonesian) may be misclassified","Empty or whitespace-only text rejected with validation error","Payment failure if USDC balance insufficient — returns 402 Payment Required","Text exceeds 100,000 character limit — rejected with input validation error"],"whenToPreferThis":"Prefer this endpoint when you need fast, offline heuristic language detection with no LLM overhead and no external network dependency. Ideal for high-throughput pipelines where cost per call ($0.002 USDC) is acceptable and latency must be minimal. Use the free sandbox POST /v1/sandbox/lang-detect first for testing. Avoid if you need nuanced language distinction between closely related dialects or code-mixed text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:49:47.543Z","isFirstParty":false,"canonicalSlug":"syntexa-agentshelf-language-detection-075419d6"}