{"uid":"cap_kSnwhzOaiZCYAntJUY90q","slug":"pagos-andreax-dev-language-detection-78e7db77","name":"pagos.andreax.dev Language Detection","description":"Detecta el idioma de un texto (código ISO). Barato y de alto volumen para agentes. input=texto.","url":"https://pagos.andreax.dev/api/taller/peaje/detectar-idioma","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":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"texto"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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_6VdpBPOVtJbqXhgSyHGse","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 ISO language code of a given text string, optimized for high-volume agent use at low cost.","exampleAgentPrompt":"What language is this text written in: 'Bonjour, comment puis-je vous aider aujourd'hui?' — give me the ISO language code.","exampleUseCases":[{"title":"Route multilingual customer support messages","prompt":"I have this incoming support ticket message: 'Necesito ayuda con mi pedido urgente.' Can you detect what language it is so I can route it to the right team?"},{"title":"Validate user-submitted content language","prompt":"A user just submitted this review: 'Das Produkt ist wirklich ausgezeichnet und ich bin sehr zufrieden.' Before I process it, can you tell me what language that is using its ISO code?"},{"title":"Language detection for localization pipeline","prompt":"Before I translate this snippet for our app, can you detect the language: 'これは非常に興味深いプロジェクトです'? I need the ISO code to pick the right translation model."}],"resultDescription":"Returns the ISO 639-1 language code (e.g. 'en', 'es', 'fr', 'de', 'zh') corresponding to the detected language of the input text.","failureModes":["Empty or very short input may produce unreliable or incorrect language detection","Highly mixed-language text may return the dominant language or fail to detect accurately","Rare or minority languages may not be supported and could return an incorrect code","Network or service unavailability returns an HTTP error with no language result","Malformed query parameter returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need cheap, high-throughput language detection for agent pipelines, content routing, or localization preprocessing. At $0.001 per call it is well-suited for batch classification of large message volumes without significant cost. Prefer it over full NLP suites when all you need is an ISO language code and not sentiment, translation, or deeper analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:05.529Z","isFirstParty":false}