Api Endpoint

Ontario Protocol

Base gas price: base fee, priority fee p25/p50/p90 over the last 20 blocks, ready-to-sign maxFeePerGas and maxPriorityFeePerGas for slow, normal and fast inclusion, an L1 data-fee upper bound, and the estimated total cost in wei of an ETH transfer and an ERC-20 transfer, live from Base mainnet RPC with the block number. Required: none; optional blocks (5 to 50). $0.0015 USDC on Base. Failed read, no charge. No account, no API key. Estimates, not inclusion guarantees.

Open interactive test console

Offering

Provider
ontarioprotocol.com
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://ontarioprotocol.com/api/x402/base/gas
MIME type
application/json
First seen
2026-10-26T21:37:17.077Z
Last seen
Tags
base gas price, gas fee estimate, maxFeePerGas, Gas, Base, base fee

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.0015 USDC
Atomic price: 1500 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1500",
    "payTo": "0xa2d72aBF2C5e939fdDCA4156B74dE482e03CA3ec"
  }
]

Observed health

Status
Healthy
Latest latency
116 ms
Average latency
661 ms
HTTP status
402
Last checked
Reachability
100% over 4 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "properties": {
    "queryParams": {
      "additionalProperties": false,
      "properties": {
        "blocks": {
          "default": 20,
          "description": "Optional number of recent blocks the fee percentiles cover, 5 to 50. Default 20.",
          "maximum": 50,
          "minimum": 5,
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "queryParams"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "additionalProperties": true,
      "type": "object"
    }
  },
  "required": [
    "example"
  ],
  "type": "object"
}