x402 Micro-Pay Marketplace
Pay-per-call APIs · USDC on Base · no signup, no API key

← All services

Token Count

$0.004 USDC per call

Approx cl100k/o200k token counts. Offline.

Endpoint
POST https://x402-v2-mint-token-count.vercel.app/v1/token-count
Payment
USDC on Base (x402). No account or API key.
Pays to
0xc22f9CAEBAc37fE72D5142f35f21f6696Ea9Ef69
Hosted on
its own isolated endpoint

Try it

Send the request below. Without payment it answers 402 Payment Required with the exact price. An x402 client or agent wallet pays and retries automatically.

OpenAPI spec →
curl -i -X POST 'https://x402-v2-mint-token-count.vercel.app/v1/token-count' \
  -H 'content-type: application/json' \
  -d '{"text":"Hello world from x402."}'
Technical notes

Approx cl100k/o200k token counts; offline

Questions or a problem with this service? Email nicsins@gmail.com.