Example inputPOST /api/v1/x402/iso-duration-parse
{
"duration": "PT1H30M"
}
Portable intent card · agent-workflow
Parse ISO-8601 duration subset PnDTnHnMnS into total seconds. Call when you need this bounded result before handing data to a downstream tool. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Honest limit: execution uses only caller-supplied data in memory; it does not call a paid upstream, retain input, search the web, read a live RPC, or invoke a media generator. Results are advisory; the caller owns authorization, budgets, and production controls.
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/iso-duration-parse -m POST -H 'x-delx-source: intent-card-iso-duration-parse-api' --max-amount 0.001 -b '{"duration":"PT1H30M"}'
{
"duration": "PT1H30M"
}
{
"intent": "ISO Duration Parse for an agent workflow",
"tool_name": "util_iso_duration_parse",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/iso-duration-parse-api.json"
}
Portable and inspectable