{"uid":"cap_dZcl8BES8RlMsfdzmMOgB","slug":"netintel-language-detection-api-905007b2","name":"NetIntel Language Detection API","description":"Detect the language of any text input using stopword-set matching and Unicode script analysis — returns the detected language, ISO code, a high/medium/low confidence level, and top alternative languages so agents can route multilingual content, trigger translation workflows, and classify text without a paid NLP API.","url":"https://netintel.dev/lang-detect/analyze","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to detect the language of (1-10000 characters)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"grade":{"type":"string"},"score":{"type":"number"},"script":{"type":"string"},"findings":{"type":"array"},"confidence":{"type":"string"},"word_count":{"type":"number"},"text_length":{"type":"number"},"alternatives":{"type":"array"},"language_code":{"type":"string"},"is_multilingual":{"type":"boolean"},"detected_language":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"grade":"A","score":100,"script":"Latin","findings":[],"confidence":"high","word_count":41,"text_length":214,"alternatives":[{"code":"pl","score":0.05,"language":"Polish"},{"code":"cs","score":0.05,"language":"Czech"},{"code":"pt","score":0.02,"language":"Portuguese"}],"language_code":"en","is_multilingual":false,"detected_language":"English"}},"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_NoNtkP1AUoHPqlA2AiVbk","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":"Analyzes text to detect its language, script, confidence level, and quality grade, including multilingual detection and alternative language candidates","exampleAgentPrompt":"Can you analyze this paragraph and tell me what language it's written in, how confident you are, and what script it uses? Here's the text: 'De zon scheen helder aan de hemel terwijl de kinderen buiten speelden in het park.'","exampleUseCases":null,"resultDescription":"Returns a JSON object with: detected language name and ISO code, script type (e.g. Latin, Cyrillic), confidence level (high/medium/low), quality grade (A-F), numeric score (0-100), word count, character length, a flag indicating if the text is multilingual, an array of findings, and a ranked list of alternative language candidates with codes and scores.","failureModes":["Empty or extremely short text may return low confidence or ambiguous results","Text with mixed languages may return is_multilingual=true with lower confidence on primary language","Unsupported or rare scripts may yield low scores and fallback alternatives","Payment failure (402) if USDC balance is insufficient or x402 wallet not configured","Malformed request body returns 400 error"],"whenToPreferThis":"Use this endpoint when you need rich language detection metadata beyond a simple language code — particularly when confidence scores, script identification, multilingual detection, and quality grading are needed. Prefer this over generic language detection libraries when you need a pay-per-call cloud API with no subscription, structured JSON output, and alternative language candidates for downstream decision-making.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:54:01.772Z","isFirstParty":false}