Monitoring · x402 · early usage

Gas price: live gas fees for Ethereum, Base, Arbitrum, Polygon and Solana in one call

Gas price: live gas fees for Ethereum, Base, Arbitrum, Polygon and Solana in one call. Use before sending a transaction to pick a fee or the cheapest chain. Returns base fee, slow/standard/fast priority fees, max fee, congestion, and the USD cost of a transfe…

by x402-seller-pmlm.onrender.com · discovered, not yet claimed by its owner · updated 2026-10-11

30d calls7
30d payers4
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Gas price: live gas fees for Ethereum, Base, Arbitrum, Polygon and Solana in one call. Use before sending a transaction to pick a fee or the cheapest chain. Returns base fee, slow/standard/fast priority fees, max fee, congestion, and the USD cost of a transfer, an ERC-20 transfer and a swap per chain, plus Solana priority fees. Optional chain. 0.002 USDC/call; failed calls are free.

Tags: gas price · gas fees · ethereum gas · estimate gas · solana priority fee · bazaar · builder-code · eip2612GasSponsoring · erc20ApprovalGasSponsoring

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-10-11
Input example from Bazaar metadata
{
  "chain": "all"
}
Output example
{
  "cached": false,
  "chains": [
    {
      "baseFeeGwei": 0.129579,
      "block": 26131718,
      "chain": "ethereum",
      "costStandard": {
        "erc20Transfer": {
          "native": 0.0000117319,
          "usd": 0.03165
        },
        "nativeTransfer": {
          "native": 0.00000379031,
          "usd": 0.01023
        },
        "swap": {
          "native": 0.0000324884,
          "usd": 0.08764
        }
      },
      "gasUsedRatio": 0.529,
      "maxFeePerGasGwei": {
        "fast": 1.25916,
        "slow": 0.260158,
        "standard": 0.31007
      },
      "nativeSymbol": "ETH",
      "nativeUsd": 2697.7,
      "priorityFeeGwei": {
        "fast": 1,
        "slow": 0.001,
        "standard": 0.050912
      }
    },
    {
      "baseFeeGwei": 0.005,
      "block": 52240417,
      "chain": "base",
      "costStandard": {
        "erc20Transfer": {
          "native": 3.965e-7,
          "usd": 0.00107
        },
        "nativeTransfer": {
          "native": 1.281e-7,
          "usd": 0.00035
        },
        "swap": {
          "native": 0.000001098,
          "usd": 0.00296
        }
      },
      "gasUsedRatio": 0.089,
      "maxFeePerGasGwei": {
        "fast": 0.01292,
        "slow": 0.01,
        "standard": 0.0111
      },
      "nativeSymbol": "ETH",
      "nativeUsd": 2697.8,
      "note": "L2 execution cost only; the rollup adds a small L1 data fee per tx",
      "priorityFeeGwei": {
        "fast": 0.00292,
        "slow": 0,
        "standard": 0.0011
      }
    },
    {
      "baseFeeGwei": 0.020016,
      "block": 512172634,
      "chain": "arbitrum",
      "costStandard": {
        "erc20Transfer": {
          "native": 0.00000130104,
          "usd": 0.00351
        },
        "nativeTransfer": {
          "native": 4.20336e-7,
          "usd": 0.00113
        },
        "swap": {
          "native": 0.00000360288,
          "usd": 0.00972
        }
      },
      "gasUsedRatio": 0.08,
      "maxFeePerGasGwei": {
        "fast": 0.040032,
        "slow": 0.040032,
        "standard": 0.040032
      },
      "nativeSymbol": "ETH",
      "nativeUsd": 2696.88,
      "note": "L2 execution cost only; the rollup adds a small L1 data fee per tx",
      "priorityFeeGwei": {
        "fast": 0,
        "slow": 0,
        "standard": 0
      }
    },
    {
      "baseFeeGwei": 246.188,
      "block": 95043353,
      "chain": "polygon",
      "costStandard": {
        "erc20Transfer": {
          "native": 0.0215401,
          "usd": 0.00235
        },
        "nativeTransfer": {
          "native": 0.00695912,
          "usd": 0.00076
        },
        "swap": {
          "native": 0.0596496,
          "usd": 0.0065
        }
      },
      "gasUsedRatio": 0.178,
      "maxFeePerGasGwei": {
        "fast": 780.65,
        "slow": 522.376,
        "standard": 577.574
      },
      "nativeSymbol": "POL",
      "nativeUsd": 0.10899,
      "priorityFeeGwei": {
        "fast": 288.274,
        "slow": 30,
        "standard": 85.1987
      }
    },
    {
      "baseFeeLamportsPerSignature": 5000,
      "chain": "solana",
      "costFor200kCu": {
        "fast": {
          "sol": 0.000005,
          "usd": 0.0006
        },
        "slow": {
          "sol": 0.000005,
          "usd": 0.0006
        },
        "standard": {
          "sol": 0.000005,
          "usd": 0.0006
        }
      },
      "nativeSymbol": "SOL",
      "nativeUsd": 119.7404,
      "note": "Per-slot minimum priority fees paid by txs touching the busiest SOL/USDC pool over the last ~150 slots (a swap-competitive estimate); 1 signature",
      "priorityFeeMicroLamportsPerCu": {
        "fast": 0,
        "slow": 0,
        "standard": 0
      },
      "sampleSlots": 150,
      "slot": 453828503
    }
  ],
  "cheapestEvmForErc20Transfer": "base",
  "generatedAt": "2026-10-06T07:03:03.088Z",
  "latencyMs": 940
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/28412.json for the price and payment options.
  3. Pay. Call GET https://x402-seller-pmlm.onrender.com/gas. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, Arbitrum One, Solana, Avalanche, eip155:1329, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.002 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon, Arbitrum One, Solana, Avalanche, eip155:1329
Demand
7 calls · 4 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0020x079471E6F43b6feeF80895E19cBFcBB496904852300s
exactPolygon
eip155:137
USDC$0.0020x079471E6F43b6feeF80895E19cBFcBB496904852300s
exactArbitrum One
eip155:42161
USDC$0.0020x079471E6F43b6feeF80895E19cBFcBB496904852300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.002787RZwDGpjmRsG5wgnyBeWQHBuARax8Qo6P7dmDuqKeW300s
exactAvalanche
eip155:43114
0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E20000x079471E6F43b6feeF80895E19cBFcBB496904852300s
exacteip155:1329
eip155:1329
0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf4239220000x079471E6F43b6feeF80895E19cBFcBB496904852300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "amountUsd": 0.002,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "amountUsd": 0.002,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "amountUsd": 0.002,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "787RZwDGpjmRsG5wgnyBeWQHBuARax8Qo6P7dmDuqKeW",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "amountUsd": 0.002,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852",
    "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
    "amount": "2000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:1329",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852",
    "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
    "amount": "2000",
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "chains": {
          "items": {
            "properties": {
              "baseFeeGwei": {
                "type": "number"
              },
              "chain": {
                "type": "string"
              },
              "costStandard": {
                "type": "object"
              },
              "priorityFeeGwei": {
                "type": "object"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "cheapestEvmForErc20Transfer": {
          "type": [
            "string",
            "null"
          ]
        },
        "generatedAt": {
          "type": "string"
        }
      },
      "required": [
        "chains"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "chains": [
      {
        "baseFeeGwei": 0,
        "chain": "string",
        "costStandard": {},
        "priorityFeeGwei": {}
      }
    ],
    "cheapestEvmForErc20Transfer": "string",
    "generatedAt": "string"
  },
  "type": "string"
}

Examples

curl
curl "https://x402-seller-pmlm.onrender.com/gas"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402-seller-pmlm.onrender.com/gas");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://x402-seller-pmlm.onrender.com/gas")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
x402-seller-pmlm.onrender.com
Endpoint
https://x402-seller-pmlm.onrender.com/gas
Machine-readable
/resources/28412.json