Parameters1
| Parameter | Type | Default | Example |
|---|---|---|---|
blocks | number | null | 20 |
Service overview
Real-time Base mainnet gas prices via direct RPC eth_feeHistory — slow/standard/fast tiers (max_fee_per_gas + max_priority_fee_per_gas in gwei), current EIP-1559 base fee, latest block number, and median block fullness across the last 20 blocks. Use for fee estimation, tx scheduling, and base-chain congestion signals.
Level up your agent by giving it access to thousands of services. All payable per-request via x402. No API keys, no accounts.
Paste into your agentic chat and let your agent guide you.
npx awal x402 pay "https://gas.apitoll.cloud/v1/base/gas" \
--query '{
"blocks": "{blocks}"
}'{
"endpoint": "GET /v1/base/gas",
"paid": true,
"query": "example input",
"result": {
"value": "Structured response from the service."
}
}API surface
1 crawlable route
| Parameter | Type | Default | Example |
|---|---|---|---|
blocks | number | null | 20 |
FAQ
Service
Live DEX token price in USD by ticker symbol or contract address (Base, Ethereum, Solana, Polygon, BSC, Arbitrum, Optimism, Avalanche — bare 0x address defaults to Base, else network:address). Symbols resolve to the CANONICAL top-market-cap asset (CoinGecko listing — squat-proof). Returns price, 24h change, volume, market cap, FDV, liquidity as flat JSON, echoing the matched deployment. Token price, crypto price, DEX price. $0.001 per call.
Service
Detect upgradeable proxy patterns (EIP-1967, UUPS, Transparent) via eth_getStorageAt - returns the implementation address behind a proxy
Service
Exa /contents endpoint