Probe a paid endpoint the way a wallet, a directory or a facilitator does (one unpaid request, no payment headers) and check what it declares: a 402, the v2 PAYMENT-REQUIRED header, well-formed accepts (scheme, network, amount, payee, asset, timeout, the token's signing domain), a price that reads as money, a resource naming the probed URL, a Bazaar extension that validates against its own schema and declares the probed method, a description, no-store, and Coinbase's validator verdict. Every check names its evidence; the answer is a signed Assay record (30-day expiry; a probe is a point in time) anyone can verify free.
curl 'https://api.s2ar.dev/v1/x402/inspect?resource=https%3A%2F%2Fapi.s2ar.dev%2Fx402%2Fv1%2Fassert&method=GET'
curl -X POST https://api.s2ar.dev/v1/x402/inspect \
-H 'content-type: application/json' \
-d '{"resource": "https://api.s2ar.dev/x402/v1/assert", "method": "GET"}'
With a key: add -H 'Authorization: Bearer $S2AR_KEY'. Over x402, while sales are open: the same call at https://api.s2ar.dev/x402/v1/x402/inspect; unpaid, it answers 402 with the accepts[] to sign, then send the payment as PAYMENT-SIGNATURE (or X-PAYMENT). Sales are paused since 2026-10-16, and the mirror answers 410. From an agent: the MCP tool inspect_x402 at https://api.s2ar.dev/mcp.
| parameter | type | required | what |
|---|---|---|---|
resource | string | yes | the endpoint's https URL |
method | string | how to probe it (default GET) (one of GET, POST) | |
checks | array | a subset of GET /v1/x402/inspect/checks (default: all) |
{
"ok": true,
"status": 402,
"verdict": "pass",
"passed": 11,
"checks": 11,
"score": 1.0,
"summary": {
"price_usd": 0.005,
"networks": [
"base"
],
"declared_method": "GET"
},
"results": [
{
"check": "answers_402",
"ok": true,
"evidence": {
"status": 402
}
},
{
"check": "cdp_validate",
"ok": true,
"evidence": {
"valid": true,
"simulation": "accepted"
}
}
],
"record_sha256": "7a0c…",
"charged_usd": 0.005,
"receipt": {
"evidence_hash": "sha256:94abfed2…",
"cost_usd": 0.005,
"what": "inspect",
"determinism": "point-in-time",
"witnesses": [
"probe",
"cdp-validate"
],
"issued_at": "2026-10-10T00:00:00Z",
"refund_rule": "failed calls are never charged",
"charter": "https://api.s2ar.dev/charter"
}
}
Every paid answer carries its receipt; a record's sha256 re-verifies free at /v1/verify/{sha256}. A call that fails is never charged.
inspect an x402 endpoint: the call, its answer and its record, re-derived.
The errors are the same on every route.