{"uid":"cap_yzdekzDW1D41oilz95Ek7","slug":"language-detection-api-ca1dd648","name":"Language Detection API","description":"51 REST endpoints for AI agents. Weather, news, crypto, stocks, products, courses, real estate, and 42 more. Pay per call in USDC/USDT via x402.","url":"https://engedi.digi-life17.workers.dev/api/detect-language","method":"GET","headers":{},"bodySchema":null,"responseSchema":{},"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_1eMYAfRLQMy7vB13UQy0E","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 given text string and returns the identified language with a confidence score","exampleAgentPrompt":"What language is this text written in? 'Bonjour, comment allez-vous aujourd'hui?'","exampleUseCases":null,"resultDescription":"Returns a JSON object with the detected language (likely language code/name), a confidence score, and metadata fields including whether the result was cached, the source, and the last updated timestamp.","failureModes":["Missing required 'text' query parameter returns an error","Very short or ambiguous text may produce low confidence results","Mixed-language text may return only the dominant language","Extremely rare or constructed languages may not be detected accurately","Empty string input likely returns an error or zero confidence result"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost language detection call for a single text string, especially within AI pipelines or multilingual workflows where you need to programmatically identify language before routing to translation, moderation, or NLP services. It is well-suited for per-request language classification rather than bulk batch operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:04:00.238Z","isFirstParty":false}