ApiToll Base Gas Oracle

Base gas oracle / gas price API for AI agents and bots — get the gas price for a transaction on Base in one x402 call. Real-time slow/standard/fast EIP-1559 fee tiers from a live eth_feeHistory call, returned as DROP-IN maxFeePerGas + maxPriorityFeePerGas in wei — plug straight into a viem/ethers transaction, no gwei conversion. Plus base fee, head block, and network fullness. Call it before every Base tx to set a fair fee or wait out congestion.

TradingLiveeip155:8453Exactvia cdp
BaseGasGas-oracleGas-priceTransaction-fees
Calls · 30d
16↓ 26%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 32 snapshots so far.
$0.87
Verified settled volume
820 settlements proven x402 by their on-chain EIP-3009 marker.
$0.0010
Listed price
As published in the catalog. Always read the live 402 before paying.
18
Calls · 30d
Upstream's own call count for this endpoint, not ours.
15
Unique payers · 30d
Last called 2026-09-23 21:05Z
Upstream on-chain volume
Reported by the source catalog.
Paid to
0xcc69d619E6053F88A4845066518f465bD06Fc96c

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "error": "payment_required",
  "message": "This endpoint requires an x402 micropayment (USDC on Base). See the 402 `accepts` for payment details."
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.001USDC≈ $0.001 USD
on Base · exact scheme

Pay 0.001 USDC on Base to 0xcc69…Fc96c. The signed payment is good for 5 minutes.

USD Coin contract
0x8335…02913
Payment window
5 minutes
As published
1000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0xcc69d619E6053F88A4845066518f465bD06Fc96c",
    "amount": "1000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 300
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "type": "http",
        "method": "GET",
        "queryParams": {
          "blocks": 20
        }
      },
      "output": {
        "type": "json",
        "example": {
          "stats": {
            "ts": "2026-05-28T15:42:30.000Z",
            "blocks_sampled": 20,
            "median_fullness_pct": 31.5
          },
          "tiers": {
            "fast": {
              "maxFeePerGas": "16300000",
              "max_fee_gwei": 0.0163,
              "max_priority_gwei": 0.01,
              "maxPriorityFeePerGas": "10000000"
            },
            "slow": {
              "maxFeePerGas": "8300000",
              "max_fee_gwei": 0.0083,
              "max_priority_gwei": 0.002,
              "maxPriorityFeePerGas": "2000000"
            },
            "standard": {
              "maxFeePerGas": "10300000",
              "max_fee_gwei": 0.0103,
              "max_priority_gwei": 0.004,
              "maxPriorityFeePerGas": "4000000"
            }
          },
          "network": "base-mainnet",
          "base_fee_wei": "4200000",
          "block_number": 16842103,
          "base_fee_gwei": 0.0042
        }
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method"
          ],
          "properties": {
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "GET"
              ],
              "type": "string"
            },
            "queryParams": {
              "type": "object",
              "required": [
                "blocks"
              ],
              "properties": {
                "blocks": {
                  "type": "integer",
                  "maximum": 50,
                  "minimum": 1,
                  "description": "Recent blocks to sample for percentile reward (1..50, clamped). Wider = smoother tiers, narrower = more reactive."
                }
              }
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "example": {
              "type": "object",
              "properties": {
                "stats": {
                  "type": "object",
                  "required": [
                    "blocks_sampled",
                    "median_fullness_pct",
                    "ts"
                  ],
                  "properties": {
                    "ts": {
                      "type": "string",
                      "format": "date-time",
                      "description": "ISO 8601 timestamp when snapshot was assembled."
                    },
                    "blocks_sampled": {
                      "type": "integer",
                      "description": "Number of recent blocks sampled for percentile calculation."
                    },
                    "median_fullness_pct": {
                      "type": "number",
                      "description": "Median (gasUsed / gasLimit) × 100 across sampled blocks. 100 = full, 0 = empty."
                    }
                  },
                  "description": "Sampling metadata: block count and median fullness."
                },
                "tiers": {
                  "type": "object",
                  "properties": {
                    "fast": {
                      "type": "object",
                      "required": [
                        "max_fee_gwei",
                        "max_priority_gwei",
                        "maxFeePerGas",
                        "maxPriorityFeePerGas"
                      ],
                      "properties": {
                        "maxFeePerGas": {
                          "type": "string",
                          "description": "DROP-IN: exact maxFeePerGas in wei. tx.maxFeePerGas = BigInt(this)."
                        },
                        "max_fee_gwei": {
                          "type": "number",
                          "description": "maxFeePerGas in gwei (human-readable)."
                        },
                        "max_priority_gwei": {
                          "type": "number",
                          "description": "maxPriorityFeePerGas (tip) in gwei (human-readable)."
                        },
                        "maxPriorityFeePerGas": {
                          "type": "string",
                          "description": "DROP-IN: exact maxPriorityFeePerGas in wei (BigInt-ready)."
                        }
                      }
                    },
                    "slow": {
                      "type": "object",
                      "required": [
                        "max_fee_gwei",
                        "max_priority_gwei",
                        "maxFeePerGas",
                        "maxPriorityFeePerGas"
                      ],
                      "properties": {
                        "maxFeePerGas": {
                          "type": "string",
                          "description": "DROP-IN: exact maxFeePerGas in wei. tx.maxFeePerGas = BigInt(this)."
                        },
                        "max_fee_gwei": {
                          "type": "number",
                          "description": "maxFeePerGas in gwei (human-readable)."
                        },
                        "max_priority_gwei": {
                          "type": "number",
                          "description": "maxPriorityFeePerGas (tip) in gwei (human-readable)."
                        },
                        "maxPriorityFeePerGas": {
                          "type": "string",
                          "description": "DROP-IN: exact maxPriorityFeePerGas in wei (BigInt-ready)."
                        }
                      }
                    },
                    "standard": {
                      "type": "object",
                      "required": [
                        "max_fee_gwei",
                        "max_priority_gwei",
                        "maxFeePerGas",
                        "maxPriorityFeePerGas"
                      ],
                      "properties": {
                        "maxFeePerGas": {
                          "type": "string",
                          "description": "DROP-IN: exact maxFeePerGas in wei. tx.maxFeePerGas = BigInt(this)."
                        },
                        "max_fee_gwei": {
                          "type": "number",
                          "description": "maxFeePerGas in gwei (human-readable)."
                        },
                        "max_priority_gwei": {
                          "type": "number",
                          "description": "maxPriorityFeePerGas (tip) in gwei (human-readable)."
                        },
                        "maxPriorityFeePerGas": {
                          "type": "string",
                          "description": "DROP-IN: exact maxPriorityFeePerGas in wei (BigInt-ready)."
                        }
                      }
                    }
                  },
                  "description": "Three fee tiers (slow p10, standard p50, fast p90). Each carries human gwei (max_fee_gwei/max_priority_gwei) AND DROP-IN wei (maxFeePerGas/maxPriorityFeePerGas, BigInt-ready) to plug straight into a viem/ethers tx."
                },
                "network": {
                  "enum": [
                    "base-mainnet",
                    "base-sepolia"
                  ],
                  "type": "string",
                  "description": "Network identifier (Base mainnet or testnet)"
                },
                "base_fee_wei": {
                  "type": "string",
                  "description": "Base fee in wei (exact, BigInt-ready decimal string)."
                },
                "block_number": {
                  "type": "integer",
                  "description": "Latest sampled block number (the head)."
                },
                "base_fee_gwei": {
                  "type": "number",
                  "description": "EIP-1559 base fee for the next block (gwei, human-readable)."
                }
              }
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-09-23 21:05Z
Last indexed by Roundhouse
2026-09-24 02:00Z
Last enriched (probe, favicon, geo)
2026-09-14 16:46Z
x402 version
2
Max timeout
300s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 32 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service ApiToll Base Gas Oracle and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=ApiToll%20Base%20Gas%20Oracle'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://gas.apitoll.cloud/v1/base/gas, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402,
or use an organization key from https://roundhouseai.io/dashboard/team.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.