{"success":true,"data":{"id":"svc_language_detect_01","slug":"language-detect","name":"Language Detection","description":"Detect the language of a text (80+ languages) with ISO 639-1 and 639-3 codes, confidence, a reliability flag and the top candidates. Runs locally, nothing is stored. Params: text (required, up to 20,000 characters), top (number of candidates, default 3).","category":"text","endpoint":"https://agentsvc.io/api/v1/proxy/language-detect","price_usdc":0.0025,"latency_p99_ms":300,"input_schema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"top":{"type":"integer","minimum":1,"maximum":10,"default":3}}},"output_schema":{"type":"object","properties":{"language":{"type":"string"},"iso639_1":{"type":"string"},"iso639_3":{"type":"string"},"confidence":{"type":"number"},"reliable":{"type":"boolean"},"candidates":{"type":"array","items":{"type":"object","properties":{"iso639_3":{"type":"string"},"iso639_1":{"type":"string"},"name":{"type":"string"},"score":{"type":"number"}}}},"characters":{"type":"integer"}},"required":["language","iso639_1","confidence"],"example":{"language":"French","iso639_1":"fr","iso639_3":"fra","confidence":0.878,"reliable":true,"candidates":[{"iso639_3":"fra","iso639_1":"fr","name":"French","score":1},{"iso639_3":"spa","iso639_1":"es","name":"Spanish","score":0.622}],"characters":68}},"is_active":true,"provider":"agentsvc.io","tags":["language","detect","nlp","iso639","text"],"method":"POST","example_input":{"text":"Bonjour, je voudrais réserver une table pour deux personnes ce soir."},"price_atomic":"2500","price_display":"$0.0025 USDC","try_url":"https://agentsvc.io/api/v1/try/language-detect","try_limit_per_day":3,"info_url":"https://agentsvc.io/api/v1/services/language-detect","page_url":"https://agentsvc.io/services/language-detect","curl_example":"curl -X POST https://agentsvc.io/api/v1/proxy/language-detect -H \"Content-Type: application/json\" -d '{\"text\":\"Bonjour, je voudrais réserver une table pour deux personnes ce soir.\"}'","status":{"ok":true,"latency_ms":1,"checked_at":"2026-11-21T04:01:56.670Z"}},"payment":{"protocol":"x402","x402_versions_accepted":[1,2],"scheme":"exact","network":"eip155:8453","network_v1":"base","chain_id":8453,"asset":"USDC","asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","asset_decimals":6,"eip712_domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"pay_to":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","request_header_v2":"PAYMENT-SIGNATURE","request_header_v1":"X-PAYMENT","requirements_v2":"base64 JSON in the PAYMENT-REQUIRED response header of the 402","requirements_v1":"JSON body of the 402 (accepts[0])","receipt_header":"PAYMENT-RESPONSE (and X-PAYMENT-RESPONSE): base64 JSON with transaction hash","accounts_required":false,"api_keys_required":false,"settlement":"per call, on-chain, after the service succeeded. Failed calls are never charged.","also_accepted":[{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","network_v1":"solana","asset":"USDC","asset_mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","pay_to":"5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg","note":"Solana option is accepts[1] in the 402. The facilitator pays the transaction fee (extra.feePayer); the payer needs only USDC, no SOL."}]},"links":{"catalog":"https://agentsvc.io/api/v1/services","payment_requirements":"https://agentsvc.io/api/v1/payment-requirements","credits":"https://agentsvc.io/api/v1/credits","openapi":"https://agentsvc.io/openapi.json","llms_txt":"https://agentsvc.io/llms.txt","llms_full_txt":"https://agentsvc.io/llms-full.txt","agents_md":"https://agentsvc.io/AGENTS.md","skill_md":"https://agentsvc.io/SKILL.md","status":"https://agentsvc.io/api/v1/status","docs":"https://agentsvc.io/docs","mcp_server":"https://agentsvc.io/mcp-server.mjs","discovery":"https://agentsvc.io/.well-known/x402","agent_card":"https://agentsvc.io/.well-known/agent-card.json"}}