{"uid":"cap_QIPUQfPjR3ZlWL8PZYD2a","slug":"moneytools-language-detection-515fc20d","name":"MoneyTools Language Detection","description":"Language detection: Detect the language of a text (82 languages, ISO 639-3 + BCP 47), including Traditional vs Simplified Chinese. Free tier 10/day; then $0.001 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.001 USDC per call via x402 on Base. Run by MoneyTools.","url":"https://tools.moneytools.dev/v1/lang-detect?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","examples":["這是一個測試句子，用來偵測語言。"],"description":"text (20+ chars best)"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"payment":{"type":"object","properties":{"charged":{"type":"boolean"},"network":{"type":"string"},"amountUsd":{"type":"string"},"transaction":{"type":["string","null"]}}},"freeTier":{"type":"object"},"_moneytools":{"type":"object","description":"optional plan / partner hints"}},"description":"Tool-specific JSON result (see llms.txt / openapi.json). Always includes payment info.","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"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_UDh_njquG3WzafsaunXkz","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 the language of a text string across 82 languages with ISO 639-3 and BCP 47 codes, distinguishing Traditional vs Simplified Chinese","exampleAgentPrompt":"What language is this text written in: '이것은 한국어로 작성된 문장입니다'? Also tell me if it uses a specific script variant.","exampleUseCases":[{"title":"Route multilingual support tickets","prompt":"I'm getting customer support messages in mixed languages — can you detect what language this message is in so I can route it to the right team: 'Ich kann mich nicht in mein Konto einloggen'?"},{"title":"Distinguish Traditional vs Simplified Chinese","prompt":"Tell me whether this Chinese text is Traditional or Simplified Chinese: '這是繁體中文還是簡體中文？'"},{"title":"Validate user locale input","prompt":"A user typed '¿Cómo puedo restablecer mi contraseña?' — detect the language so I can confirm whether to serve them the Spanish version of the help page."}],"resultDescription":"A JSON object containing the detected language code (ISO 639-3 and BCP 47), confidence indicators, and for Chinese text the script variant (Traditional vs Simplified). The response also includes payment metadata fields: whether a charge was applied, the network, amount in USD, and transaction hash (null if free tier).","failureModes":["Text shorter than recommended 20 characters may yield low-confidence or incorrect detection","Unsupported or mixed-language text may return an ambiguous result","Free tier limit (10/day) exceeded without payment credentials returns HTTP 402 with PAYMENT-REQUIRED","Invalid or missing 'text' query parameter returns an error response","Network or service unavailability returns a 5xx error; no charge is applied on failure"],"whenToPreferThis":"Choose this endpoint when you need fast, inexpensive per-call language detection across a broad set of 82 languages with ISO 639-3/BCP 47 output and explicit Traditional vs Simplified Chinese discrimination. It is ideal for pay-per-use agent workflows via x402/USDC micropayments on Base with no subscription required, and when you need reliable no-charge-on-failure guarantees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:42:00.588Z","isFirstParty":false,"canonicalSlug":"moneytools-language-detection-515fc20d"}