Example inputPOST /api/v1/x402/percentile
{
"values": [
2,
4,
6,
8,
10
]
}
Portable intent card · utility
Percentile of a list. Use for p50/p95 style summaries without a stats stack. Returns the requested percentile of a numeric array. $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/percentile -m POST -H 'x-delx-source: intent-card-percentile-api' --max-amount 0.001 -b '{"values":[2,4,6,8,10]}'
{
"values": [
2,
4,
6,
8,
10
]
}
{
"intent": "Percentile for Agents for an agent workflow",
"tool_name": "util_percentile",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/percentile-api.json"
}
Portable and inspectable