apiosk_inspect_x402
Inspect a URL's x402 payment terms (price, asset, network, payTo) before paying. Makes one unauthenticated read-only request and returns the exact amount to confirm cost.
Instructions
Read an arbitrary URL's x402 payment terms (price, asset, network, payTo) WITHOUT paying. Use this on an external result's url from apiosk_discover before paying: it makes one unauthenticated request, parses the 402 offer, and returns the exact amount so you can confirm the price with the user. Read-only; never spends. apiosk_execute (for Apiosk catalog listings) does not need this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The https:// URL of the x402 resource to inspect (e.g. a federated listing's resource URL). | |
| method | No | HTTP method the resource charges on. Defaults to GET. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||