Quote an x402 endpoint
ripar_quote_endpointDiscover an HTTP endpoint's required payment by sending a request and reading the 402 challenge. Reports the cheapest acceptable payment amount, asset, network, and payee, or flags free endpoints.
Instructions
Ask a paid endpoint what it charges, without paying. Makes the request, reads the HTTP 402 challenge, and reports the cheapest acceptable payment: amount, asset, network, and payee. An endpoint that answers 200 is reported as free rather than as an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the endpoint to quote | |
| body | No | JSON body, for POST | |
| method | No | HTTP method | GET |
| headers | No | Extra request headers |