the402 endpoint detail

← All endpoints

x402.halowerk.com route optimize

https://x402.halowerk.com/route/optimize

answers 402

Takes what the caller holds and what the seller accepts and works out which combinations can settle the amount. All costs are brought into USD, otherwise no comparison is possible: gas on the source chain plus, where needed, the cost of a swap or a bridge. Routes that require a swap or a bridge are marked explicitly - they often look cheaper on paper and are slower and riskier in practice. Every a

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

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fx402.halowerk.com%2Froute%2Foptimize"