Example inputPOST /api/v1/x402/token-estimate
{}
Portable intent card · utility
Estimate token counts for a bounded text payload across common model families for $0.001, with no API key.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/token-estimate -m POST -H 'x-delx-source: intent-card-token-estimate-api' --max-amount 0.001 -b '{}'
{}
{
"intent": "estimate the token count and cost of text",
"tool_name": "util_token_estimate",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/token-estimate-api.json"
}
Portable and inspectable