{
"date_epoch": 1720000000,
"age_seconds": 20,
"max_age_seconds": 300,
"now_epoch": 1720000100
}
Portable intent card · web-api-intelligence
Cache Freshness Calculate API for agents
Cache Freshness Calculate: Cache Freshness Calculate calculates remaining freshness from response timing metadata from bounded caller-supplied values without an external provider. Call Cache Freshness Calculate before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Cache Freshness Calculate as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Evaluates only caller-supplied metadata; it performs no DNS lookup, HTTP request, web search, credential use, or persistent storage. Advisory output only; the buyer owns authorization, payment policy, and production decisions.
Intent to transaction
One command, attributed.
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/cache-freshness-calculate -m POST -H 'x-delx-source: intent-card-cache-freshness-calculate-api' --max-amount 0.001 -b '{"date_epoch":1720000000,"age_seconds":20,"max_age_seconds":300,"now_epoch":1720000100}'
{
"intent": "Cache Freshness Calculate for an agent workflow",
"tool_name": "util_cache_freshness_calculate",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/cache-freshness-calculate-api.json"
}
Portable and inspectable