InputPOST /api/v1/x402/token-estimate
{
"text": "example"
}
Web and API intelligence · utility
Estimate GPT- and Claude-style token counts for a text payload for $0.001 USDC; deterministic and keyless. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/token-estimate -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"text":"example"}'
{
"text": "example"
}
{
"tool_name": "example",
"result": {}
}
Machine-readable evidence