the402 endpoint detail

← All endpoints

api.usesaferoute.com v1 swap-safety-check

https://api.usesaferoute.com/v1/swap-safety-check

answers 402

Check whether an approved Base token swap is eligible before supplying a wallet. Returns verified token contracts, indicative output, liquidity sources, fee estimate, warnings, and the exact next action. No custody, signing, or execution.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0x08a6a2ddecdebdbfcb29d725042a6f3d74849e08
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
295 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:12:46.705Z (20d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.usesaferoute.com%2Fv1%2Fswap-safety-check"