{"uid":"cap_wuGbtOSG7qSw5NZ-pmqFI","slug":"arch-tools-language-detect-309efd49","name":"Arch Tools — Language Detect","description":"Arch Tools — language-detect","url":"https://archtools.dev/v1/tools/language-detect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to detect the language of"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CncTsm6NhxlH5T_EwHCcj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects the natural language (e.g. English, French, Spanish) of a given text string","exampleAgentPrompt":"What language is this text written in: 'Le chat est sur la table'?","exampleUseCases":[{"title":"Routing multilingual support tickets","prompt":"I'm getting customer support messages in different languages — can you detect what language each message is in so I can route them to the right team? Here's the first one: 'Necesito ayuda con mi pedido.'"},{"title":"Validating localized user submissions","prompt":"A user submitted this text to our French-only form — can you check if it's actually written in French: 'This product is really great, I love it'?"},{"title":"Preprocessing text before translation","prompt":"Before I send this paragraph to the translator, can you tell me what language it's in? Here it is: 'Der Zug fährt um acht Uhr ab.'"}],"resultDescription":"Returns a JSON object indicating the detected language of the input text, typically including the language name, ISO language code, and a confidence score indicating how certain the detection is.","failureModes":["Empty or very short text may return low-confidence or ambiguous results","Mixed-language text may return only the dominant language or fail to resolve","Rare or minority languages may not be detected correctly","Extremely short inputs like single words may be misclassified","Payment failure or insufficient USDC balance returns a 402 error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call language detection service with no subscription required, especially in agent workflows where you're processing variable volumes of text from unknown sources. It fits well as a preprocessing step before translation, sentiment analysis, or routing logic. Prefer it over heavyweight NLP APIs when you only need language identification and want to pay only for what you use via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:38:05.495Z","isFirstParty":false}