Base gas price history: base fee, gas used/limit, utilization and transaction counts for the last N Base blocks, plus average/min/max, trend and suggested max fee
Price: $0.002 per call · USDC on Base (eip155:8453) or Solana · no signup, no API key.
{"blocks": 5}
{"product": "scanpay.base_gas_history", "network": "eip155:8453", "blocks_requested": 5, "blocks_returned": 5, "from_block": 20000000, "to_block": 20000004, "history": [{"number": 20000000, "timestamp": 1720000000, "base_fee_gwei": 0.001, "gas_used": 10000000, "gas_limit": 30000000, "utilization_pct": 33.33, "tx_count": 100}, {"number": 20000001, "timestamp": 1720000002, "base_fee_gwei": 0.001, "gas_used": 10000000, "gas_limit": 30000000, "utilization_pct": 33.33, "tx_count": 100}, {"number": 20000002, "timestamp": 1720000004, "base_fee_gwei": 0.001, "gas_used": 10000000, "gas_limit": 30000000, "utilization_pct": 33.33, "tx_count": 100}, {"number": 20000003, "timestamp": 1720000006, "base_fee_gwei": 0.001, "gas_used": 10000000, "gas_limit": 30000000, "utilization_pct": 33.33, "tx_count": 100}, {"number": 20000004, "timestamp": 1720000008, "base_fee_gwei": 0.001, "gas_used": 10000000, "gas_limit": 30000000, "utilization_pct": 33.33, "tx_count": 100}], "summary": {"avg_base_fee_gwei": 0.001, "min_base_fee_gwei": 0.001, "max_base_fee_gwei": 0.001, "trend_pct": 0.0, "avg_utilization_pct": 33.33, "suggested_max_fee_gwei": 0.00125, "suggested_priority_fee_gwei": 0.001}, "as_of_ms": 17200
curl "https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/base-gas-history" -H 'Content-Type: application/json' -H 'PAYMENT-SIGNATURE: <x402 payment header>' -d '{"blocks": 5}'
Quickstart (TypeScript / Python) · llms.txt · catalogue.json · all tools