{"uid":"cap_4J40WjRekzwkKxj9naBNL","slug":"forgemesh-language-identifier-749d1fd3","name":"Forgemesh Language Identifier","description":"Determines the language of any input text with a confidence score and runner-up candidates, useful when a short snippet is ambiguous between closely related languages. For content routing, translation triage, and multilingual pipelines that need a fast, deterministic language call instead of an LLM guess.","url":"https://x402.forgemesh.io/language-identifier","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"text to analyze, up to 10k chars"}}},"responseSchema":{"type":"json","example":{"detected":"fr","candidates":[{"language":"fr","confidence":0.98}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cnJsuulIPjSwaUFGo97ts","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 input text and returns the identified language with a confidence score and runner-up candidates.","exampleAgentPrompt":"Can you figure out what language this text is written in and give me a confidence score? Here's the snippet: 'Bonjour, comment ça va aujourd'hui?'","exampleUseCases":null,"resultDescription":"Returns the detected language (name and/or BCP-47 code), a confidence score for the top result, and one or more runner-up language candidates for ambiguous cases — useful for routing or triage decisions.","failureModes":["Text exceeds 10,000 character limit — input truncated or rejected","Text is too short or contains only numbers/symbols — low confidence or inconclusive result","Ambiguous closely-related language pairs (e.g. Malay vs Indonesian) may return low confidence scores","Empty text field returns an error","Payment failure or insufficient USDC balance blocks the call"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic language identification with a confidence score rather than an LLM guess — especially for multilingual pipelines, content routing, and translation triage where short or ambiguous text snippets need a reliable language call. Prefer this over general-purpose LLMs when cost predictability and consistency matter at scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:57:56.913Z","isFirstParty":false}