the402 endpoint detail

← All endpoints

api.delx.ai x402 char-count

https://api.delx.ai/api/v1/x402/char-count

payable

Count characters, words, and lines. Call before truncating prompts, validating SMS length, or estimating token budget from raw text. Returns character, word, line, and byte-oriented counts in one JSON object. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
163 ms
Payment options
3 usable of 3
Last checked
2026-08-10T09:15:57.146Z (1d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fchar-count"