{"uid":"cap_hwQCZH-0NpNQ7SfiivYOR","slug":"language-tone-detector-7dc2ad6a","name":"Language & Tone Detector","description":"Detect language, formality and tone of a text with confidence scores. Deterministic heuristics + compact wordlists. Returns iso_639-1 + register. — $0.001 USDC/call on eip155:8453. Pay-per-call via x402 — no API key, no account. Free samples daily.","url":"https://defi-intel-agent-gateway.gg-neo15.workers.dev/v1/text/language-tone-detect","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T7JKtCSO2mXX9E28NjhmY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects language, formality register, and tone of a text snippet, returning ISO 639-1 language code and confidence scores using deterministic heuristics and wordlists.","exampleAgentPrompt":"Can you detect the language and formality of this text for me: 'Bonjour, pourriez-vous m'indiquer la direction de la gare?' — I need the ISO language code and whether it's formal or informal, with confidence scores.","exampleUseCases":[{"title":"Routing multilingual support tickets","prompt":"I have a customer message that came in and I'm not sure what language it's in — can you detect the language, formality level, and tone of this text: 'Hola, necesito ayuda con mi pedido urgente por favor'? I need to know which support team to route it to."},{"title":"Checking email register before sending","prompt":"Before I send this draft email, can you tell me if the tone and formality level are appropriate? Here's the text: 'Hey, just wanted to touch base re: the Q3 numbers — lmk if you got a sec.' Is it formal, informal, and what language is it?"},{"title":"Flagging aggressive user-generated content","prompt":"Can you analyze the tone and register of this comment someone posted on our platform: 'This is absolutely unacceptable and your team is completely incompetent!!!' — I want to know if it's hostile and how confident you are."}],"resultDescription":"Returns an ISO 639-1 language code (e.g. 'en', 'fr', 'es'), a formality/register label (e.g. formal, informal, neutral), a tone descriptor, and confidence scores for each classification, all computed via deterministic heuristics without ML inference.","failureModes":["Empty or whitespace-only input returns error or low-confidence result","Very short text (1-2 words) may yield low confidence scores","Mixed-language text may return the dominant language only","Unusual scripts or rare languages may fall back to 'unknown'","Payment failure (insufficient USDC balance) returns 402 status"],"whenToPreferThis":"Choose this endpoint when you need fast, cheap, deterministic language and tone detection without ML latency — ideal for routing pipelines, content moderation pre-filters, or localization workflows where sub-millisecond reproducibility matters more than neural accuracy. At $0.001/call with no API key required, it's well-suited for high-volume, pay-per-call agent pipelines on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:42:41.504Z","isFirstParty":false}