{"uid":"cap_bLjERisz11KwsjeEKrxU8","slug":"ddg-language-detection-api-d6fb63c4","name":"DDG Language Detection API","description":"DDG agent-payable service request","url":"https://agents.daedalusdevelopmentgroup.com/v1/language-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"ok":true}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"ok":true}},"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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mkEDtcvrkJcmVcLRqQdRy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects the natural language of a given text input and returns the identified language","exampleAgentPrompt":"Can you detect what language this text is written in: 'Bonjour, comment allez-vous aujourd'hui?'","exampleUseCases":[{"title":"Multilingual support ticket routing","prompt":"I'm getting support tickets in different languages and need to route them to the right team — can you detect the language of this message: 'Necesito ayuda con mi pedido, no ha llegado.'"},{"title":"Content moderation pipeline language gate","prompt":"Before we run moderation on this user comment, figure out what language it's in: 'Das ist wirklich unglaublich und völlig inakzeptabel.'"},{"title":"Chatbot language detection before response","prompt":"A user just messaged our bot and I need to know what language they're using so we reply correctly — what language is this: '이 제품은 언제 배송되나요?'"}],"resultDescription":"Returns a JSON object with an 'ok' boolean and the detected language information for the provided text, including language name or language code.","failureModes":["Empty or missing text body returns an error","Text too short to reliably detect language may yield low-confidence or incorrect result","Non-textual or binary input bodies may be rejected","Payment not included or insufficient USDC amount via x402 returns 402 Payment Required","Malformed JSON body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a cheap ($0.001 USDC per call), machine-payable language detection step in an AI agent pipeline and want to pay per-call via x402 USDC rather than managing a full NLP provider subscription. It is well-suited for high-volume agentic workflows where autonomous micropayments are desirable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:31:13.865Z","isFirstParty":false,"canonicalSlug":"ddg-language-detection-api-d6fb63c4"}