{
  "x402Version": 2,
  "id": 1149,
  "slug": "1149",
  "resource": "https://gateway.stride20k.com/crypto/gas/:chain",
  "description": "EVM gas price API: current gas fees for Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, and Avalanche — node-reported gas price plus EIP-1559 estimates from the last 5 blocks: next base fee and 25th/50th/75th-percentile priority fees, in gwei. Read directly from public JSON-RPC nodes with automatic fallbacks. Use for transaction cost estimation, fee optimization, and timing on-chain actions. Cached up to 15 seconds.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x552Cc4A10878C7F20574489D47184249657Ca3f6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {
            "chain": "base"
          },
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "blocksSampled": 5,
              "chain": "base",
              "gasPriceGwei": 0.006,
              "gasPriceWei": "6000000",
              "nextBaseFeeGwei": 0.005,
              "priorityFeeGwei": {
                "p25": 0.0006,
                "p50": 0.0011,
                "p75": 0.003
              }
            },
            "endpoint": "/crypto/gas/:chain",
            "meta": {
              "attribution": null,
              "cached": false,
              "fetchedAt": "2026-07-04T00:00:00.000Z",
              "source": "on-chain (PublicNode/dRPC JSON-RPC)"
            },
            "ok": true
          },
          "type": "json"
        }
      },
      "routeTemplate": "/crypto/gas/:chain",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "pathParams": {
                "properties": {
                  "chain": {
                    "aliases": {
                      "1": "ethereum",
                      "10": "optimism",
                      "56": "bsc",
                      "137": "polygon",
                      "8453": "base",
                      "42161": "arbitrum",
                      "43114": "avalanche",
                      "arb": "arbitrum",
                      "avax": "avalanche",
                      "bnb": "bsc",
                      "eth": "ethereum",
                      "matic": "polygon",
                      "op": "optimism"
                    },
                    "description": "Chain to query. Shorthands accepted: 1, 10, 56, 137, 8453, 42161, 43114, eth, arb, op, matic, avax, bnb.",
                    "enum": [
                      "ethereum",
                      "base",
                      "polygon",
                      "arbitrum",
                      "optimism",
                      "bsc",
                      "avalanche"
                    ],
                    "missTrack": true,
                    "normalize": "lower",
                    "type": "string"
                  }
                },
                "required": [
                  "chain"
                ],
                "type": "object"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "blocksSampled": {
                        "description": "Number of blocks in the fee-history sample.",
                        "type": "integer"
                      },
                      "chain": {
                        "description": "Chain queried.",
                        "type": "string"
                      },
                      "gasPriceGwei": {
                        "description": "eth_gasPrice in gwei.",
                        "type": "number"
                      },
                      "gasPriceWei": {
                        "description": "eth_gasPrice result in wei, as decimal string.",
                        "type": "string"
                      },
                      "nextBaseFeeGwei": {
                        "description": "Projected next-block base fee in gwei (EIP-1559).",
                        "type": "number"
                      },
                      "priorityFeeGwei": {
                        "description": "Average priority fee over last 5 blocks at p25/p50/p75, gwei.",
                        "type": "object"
                      }
                    },
                    "required": [
                      "chain",
                      "gasPriceWei",
                      "gasPriceGwei"
                    ],
                    "type": "object"
                  },
                  "endpoint": {
                    "description": "Always \"/crypto/gas/:chain\".",
                    "type": "string"
                  },
                  "meta": {
                    "properties": {
                      "attribution": {
                        "description": "Licensing attribution when the source requires it.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cached": {
                        "description": "Whether this response was served from cache.",
                        "type": "boolean"
                      },
                      "fetchedAt": {
                        "description": "ISO 8601 time the data was actually retrieved from the upstream.",
                        "type": "string"
                      },
                      "source": {
                        "description": "Upstream source: on-chain (PublicNode/dRPC JSON-RPC).",
                        "type": "string"
                      }
                    },
                    "required": [
                      "source",
                      "cached",
                      "fetchedAt"
                    ],
                    "type": "object"
                  },
                  "ok": {
                    "description": "true on success.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "ok",
                  "endpoint",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "gateway.stride20k.com",
  "lastUpdated": "2026-08-30T12:06:14.11Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-08-30T12:06:13.939Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "gateway.stride20k.com",
    "manifest_name": "gateway.stride20k.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}