Api Endpoint

d21 gas_price

Gas Price ($0.002): current Base gas market read live from Base's own public JSON-RPC, not a hosted gas-oracle vendor -- legacy gas price (eth_gasPrice), EIP-1559 base fee (latest block), and a suggested priority/max fee (eth_maxPriorityFeePerGas + a computed 2x-base-fee heuristic), all in gwei, plus a plain-transfer cost estimate. Base mainnet only. Body {} or { chain: "base" }. Check free /v1/gas_price/availability first.

Open interactive test console

Offering

Provider
draconic21-x402-api.onrender.com
Method
POST
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://draconic21-x402-api.onrender.com/v1/gas_price
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
gas-price, EIP-1559, Base, onchain-analytics, transaction-fee

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
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x1520Ef5530AA71350049BE2903Cf078B38c40AE5"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "6mc4GhWFyNcMh7gAVDWrKeYjDqFtEKWKQuZ9RTw2VkfM"
  }
]

Observed health

Status
Healthy
Latest latency
119 ms
Average latency
197 ms
HTTP status
204
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": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "enum": [
            "base"
          ],
          "description": "Only 'base' is supported today; omit or pass \"base\"."
        }
      },
      "required": [],
      "additionalProperties": true
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string"
        },
        "network": {
          "type": "string"
        },
        "native_symbol": {
          "type": "string"
        },
        "block_number": {
          "type": [
            "integer",
            "null"
          ]
        },
        "gas_price_gwei": {
          "type": [
            "number",
            "null"
          ]
        },
        "base_fee_gwei": {
          "type": [
            "number",
            "null"
          ]
        },
        "suggested_priority_fee_gwei": {
          "type": [
            "number",
            "null"
          ]
        },
        "suggested_max_fee_gwei": {
          "type": [
            "number",
            "null"
          ]
        },
        "estimated_transfer_cost": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "gas_units": {
              "type": "integer"
            },
            "native_cost_gwei": {
              "type": "number"
            }
          }
        },
        "caveats": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "chain",
        "gas_price_gwei",
        "caveats"
      ]
    }
  },
  "required": [
    "type"
  ]
}