{"uid":"cap_4JHVE5YFTllvg8M3whF0r","slug":"translate-toll-language-detection-6880eb8e","name":"Translate Toll - Language Detection","description":"Translation and language detection for AI agents. Translate to 100+ languages or detect source language.","url":"https://translate-toll-production.up.railway.app/detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to analyze"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1PSso5UwoaIQhiMiDgrB_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects the source language of a given text snippet","exampleAgentPrompt":"What language is this text written in: 'Bonjour, comment puis-je vous aider aujourd'hui?'","exampleUseCases":[{"title":"Detect language of incoming support ticket","prompt":"Before routing this support message, figure out what language it's written in: 'Necesito ayuda con mi pedido, no llegó a tiempo.'"},{"title":"Classify language of user-generated content","prompt":"Can you tell me what language this user review is in? The text is: 'Das Produkt ist wirklich ausgezeichnet, ich bin sehr zufrieden.'"},{"title":"Auto-route multilingual chatbot messages","prompt":"My chatbot just received a message — detect the language so I know which response flow to use. The text is: '私の注文はどこにありますか？'"}],"resultDescription":"Returns the detected language of the input text, typically including a language name and/or BCP-47 language code, and potentially a confidence score indicating how certain the detection is.","failureModes":["Empty or whitespace-only text input returns an error or undefined result","Very short text (single word or character) may yield low-confidence or incorrect detection","Mixed-language text may return only the dominant language or an ambiguous result","Rare or constructed languages may not be recognized","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need to identify the language of an unknown text before deciding how to process, route, or translate it. Ideal for preprocessing pipelines, multilingual chatbots, or content moderation systems that need to branch logic based on the user's language. Choose this over a full translation endpoint when you only need the language label, not translated content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:16:46.323Z","isFirstParty":false,"canonicalSlug":"translate-toll-language-detection-6880eb8e"}