{"uid":"cap_yXc1lhK-PmZYgpc-PhBqr","slug":"delx-language-script-detect-fcec4177","name":"Delx Language Script Detect","description":"Detect dominant Unicode script families in a text sample — call when detecting dominant Unicode script families. Use on text/URLs the agent already holds—adjacent to high-volume extract demand, never advertised as general web or X search. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results a…","url":"https://api.delx.ai/api/v1/x402/language-script-detect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"UTF-8 text to encode, chunk, index, or analyze (caller-supplied only)."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-language-script-detect/v1","scripts":{"latin":{"count":9,"percent":64.2857},"japanese":{"count":5,"percent":35.7143}},"sample_chars":16,"dominant_script":"latin"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8WsmHvWONJc8rN5_15yPv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects the dominant Unicode script families (e.g. Latin, Cyrillic, Arabic, Han) present in a caller-supplied text sample","exampleAgentPrompt":"Can you detect which Unicode script family dominates this text: 'Привет мир, это тест'?","exampleUseCases":[{"title":"Multilingual pipeline routing","prompt":"I have this scraped text snippet and need to know which Unicode script family it belongs to before routing it to the right translation model — can you detect the dominant script in: 'مرحبا بالعالم'?"},{"title":"Content language verification","prompt":"Before indexing this user-submitted content, check what Unicode script family it's written in so I can validate it matches the expected language channel — the text is: '日本語のテキストサンプルです'"},{"title":"Mixed-script detection in RAG preprocessing","prompt":"I'm preprocessing chunks for a RAG pipeline and need to flag any chunks that contain non-Latin scripts — can you tell me the dominant Unicode script family in this chunk: 'Αυτό είναι ένα ελληνικό κείμενο'?"}],"resultDescription":"Returns a deterministic machine-readable JSON object identifying the dominant Unicode script family or families detected in the input text, along with distribution or confidence signals for each script present.","failureModes":["Empty or whitespace-only text input returns ambiguous or null script result","Highly mixed-script input may return multiple families without a clear dominant result","Very short inputs (single characters) may produce low-confidence classifications","Non-UTF-8 encoded bytes passed as string may cause parse errors","Exceeding input size limits may result in truncation or rejection"],"whenToPreferThis":"Choose this endpoint when you already hold a text string and need a fast, stateless, deterministic classification of its Unicode script family — particularly useful in multilingual NLP pipelines, content routing, pre-processing for translation or OCR, and RAG chunking workflows. Prefer over language-detection APIs when you specifically need script/writing-system identification rather than spoken language detection, and when you want a local, zero-retention computation at very low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:55:42.466Z","isFirstParty":false}