Zero-cost price index and gasless x402 quote generator
check_priceInstant zero-cost pricing hook for code402 tools. Returns the live price, an opaque quote_id, TTL, and the settlement URL. Free forever — feeds the price index into an agent planner's context without creating any financial obligation. If the planner acts on the quote, it hits the settlement_url with an EIP-3009 signed voucher.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool": "iban-check",
"amount": 1
},
"name": "check_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Target tool name (e.g. 'iban-check', 'vendor-onboarding-pack') | |
| amount | No | Optional batch count or volume units (default 1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| price | Yes | ||
| scope | No | ||
| valid | Yes | ||
| ttl_ms | No | ||
| currency | No | ||
| quote_id | Yes | ||
| settlement_url | Yes |