the402 endpoint detail

← All endpoints

fittings.sh lang detect

https://fittings.sh/v1/lang/detect

answers 402

Detect the language of a text snippet: ISO 639-1 and 639-3 codes, the Unicode script, a confidence score and runner-up candidates. Latin and Cyrillic languages are separated by function-word profile, other scripts by script; answers 'und' rather than guessing when there is no evidence.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.0042
Network
base
Pay to
0xe025442C0d6dC17aD2b9eB888B3565bdFCd98638
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
172 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:21:49.718Z (23d ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Ffittings.sh%2Fv1%2Flang%2Fdetect"