{"uid":"cap_vmLPjeUTXcaJetQjlwWZl","slug":"primeapi-text-language-detection-bea375da","name":"PrimeAPI Text Language Detection","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/tools/text/language","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.178905","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.178905/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.178905","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.178905","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R7YlnXdHrOu4_J99IZBVK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.178905","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 input and returns the identified language.","exampleAgentPrompt":"What language is this text written in: 'Bonjour, comment puis-je vous aider aujourd'hui?'","exampleUseCases":null,"resultDescription":"Returns an object indicating the detected language of the submitted text, likely including a language name or BCP-47 language code and possibly a confidence score.","failureModes":["Empty or missing query string returns an error","Very short or ambiguous text may yield low-confidence or incorrect detection","Non-textual input (numbers only, symbols) may fail to identify a language","Payment failure in USDC returns 402 Payment Required","Rate limiting or server errors return 5xx responses"],"whenToPreferThis":"Use this endpoint when you need to programmatically detect the language of arbitrary text without maintaining your own NLP stack, especially in a pay-per-call context where you want no API key overhead and can pay in USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:33.327Z","isFirstParty":false}