Api Endpoint

base-gas-x402-production.up.railway.app

Current gas price on Base and what a transaction costs in USD right now: base fee, priority tiers, ready-to-sign maxFeePerGas.

Open interactive test console

Offering

Provider
base-gas-x402-production.up.railway.app
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://base-gas-x402-production.up.railway.app/gas
MIME type
application/json
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
Gas, gas price, gas oracle, Base, base-l2, onchain-data

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
105 ms
Average latency
220 ms
HTTP status
402
Last checked
Reachability
100% over 14 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"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "gasLimit": {
          "type": "integer",
          "minimum": 21000,
          "maximum": 30000000,
          "default": 21000,
          "description": "Gas units to price. 21000 ETH transfer (default), 65000 ERC-20, 85000 NFT mint, 180000 swap, 1500000 deploy."
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "baseFeePerGas": {
          "type": "string"
        },
        "priorityFeePerGas": {
          "type": "object"
        },
        "estimatedTransferCost": {
          "type": "object",
          "properties": {
            "gasLimit": {
              "type": "integer"
            },
            "eth": {
              "type": "string"
            },
            "usd": {
              "type": "string"
            }
          }
        },
        "suggestedFees": {
          "type": "object"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}