# What does this x402 endpoint charge?

See what an x402 API charges before you call it: price per request, token, network and payout address, decoded by the same strict decoder the tx402 SDK uses before it pays.

## USAGE

```bash
curl -H 'Accept: text/markdown' 'https://tools.tx402.io/inspect?url=https://api.example.com/v1/geocode'
curl -H 'Accept: application/json' 'https://tools.tx402.io/api/v1/inspect?url=https://api.example.com/v1/geocode'
```

| Parameter | Meaning                                                                                        |
| --------- | ---------------------------------------------------------------------------------------------- |
| url       | Required. The https URL of the endpoint to inspect. http: is not probed by the hosted service. |
| format    | Optional. `json`, `md` or `html`. Beats the Accept header, so a link can pin a representation. |

The report is ENDPOINT / PAYMENT / OBSERVED / SECURITY / RISK. Every risk band is produced by a published,
versioned pure function — the weights are at https://tools.tx402.io/methodology.

One live probe is made per endpoint per politeness window no matter how many people ask; everyone else is
served the cached result with its age in `meta.cache_age_seconds`. This service never pays and never
constructs a payment.
