Example inputPOST /api/v1/x402/date-diff
{
"start": "2026-08-04T12:00:00Z",
"end": "2026-08-10T12:00:00Z"
}
Portable intent card · utility
Difference between two dates. Use for aging tickets, session duration, or SLA breach math. Returns the delta between two ISO timestamps in structured units. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.
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/date-diff -m POST -H 'x-delx-source: intent-card-date-diff-api' --max-amount 0.001 -b '{"start":"2026-08-04T12:00:00Z","end":"2026-08-10T12:00:00Z"}'
{
"start": "2026-08-04T12:00:00Z",
"end": "2026-08-10T12:00:00Z"
}
{
"intent": "ISO Date Difference for an agent workflow",
"tool_name": "util_date_diff",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/date-diff-api.json"
}
Portable and inspectable