the402 endpoint detail

← All endpoints

api.agentstools.dev gas

https://api.agentstools.dev/gas

answers 402

EVM gas oracle for any major chain - Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Avalanche: next-block baseFee plus slow, med and fast priority-fee tiers (maxFeePerGas and maxPriorityFeePerGas), read live from chain state in one call. Choose network (default Ethereum). EIP-1559 and legacy handled.

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

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.agentstools.dev%2Fgas"