Example inputPOST /api/v1/x402/unit-convert
{}
Portable intent card · utility
Convert length, mass, volume, time, data and temperature values for $0.002, up to 100 conversions per call.
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/unit-convert -m POST -H 'x-delx-source: intent-card-unit-convert-api' --max-amount 0.002 -b '{}'
{}
{
"intent": "convert kilometers to miles",
"tool_name": "util_unit_convert",
"price_usdc": "0.002",
"machine_url": "https://commerce.delx.ai/intents/unit-convert-api.json"
}
Portable and inspectable