Gas Fee
Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon: current gas price in gwei, next base fee, slow/standard/fast EIP-1559 maxFeePerGas + priority fee, congestion and trend, and the USD cost of a native transfer, USDC payment, swap or approve before you send. Pass chain=base or network=base. Payment settles only after a successful (2xx) response; input errors are never charged.
Offering
- Provider
- beggar-bot-demand.beggarbot.workers.dev
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Other
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://beggar-bot-demand.beggarbot.workers.dev/v1/gasfee- MIME type
- application/json
- First seen
- 2026-11-08T18:21:36.396Z
- Last seen
- Tags
- gas price, gas fee, gwei, base gas, ethereum gas, transaction cost, EIP-1559
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"payTo": "0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7"
}
]Observed health
- Status
- Healthy
- Latest latency
- 70 ms
- Average latency
- 220 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 7 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"GET",
"HEAD",
"DELETE"
]
},
"queryParams": {
"type": "object",
"properties": {
"chain": {
"type": "string",
"description": "base (default), optimism, ethereum, arbitrum, polygon, base-sepolia"
},
"network": {
"type": "string",
"description": "alias of chain, e.g. network=base"
},
"gas_limit": {
"type": "string",
"description": "optional custom gas limit"
},
"tx_bytes": {
"type": "string",
"description": "optional tx size for L1 fee"
}
}
}
},
"required": [
"type",
"method"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"chain": {
"type": "string"
},
"gas_price_gwei": {
"type": "number"
},
"next_base_fee_gwei": {
"type": "number"
},
"slow": {
"type": "object"
},
"standard": {
"type": "object"
},
"fast": {
"type": "object"
},
"congestion": {
"type": "string"
},
"cost_estimates": {
"type": "object"
},
"native_usd": {
"type": "number"
},
"live": {
"type": "boolean"
}
}
}