Chainstack Gas Data API

The Gas Data API from Chainstack — 5 operation(s) for gas data.

Operations 5

POST /eth_estimateGas eth_estimateGas #
POST /eth_gasPrice eth_gasPrice #
POST /eth_maxPriorityFeePerGas eth_maxPriorityFeePerGas #
POST /eth_feeHistory eth_feeHistory #
POST /eth_blobBaseFee eth_blobBaseFee #

Documentation

📖
Documentation
https://docs.chainstack.com/reference/platform-api-getting-started
📖
Documentation
https://docs.chainstack.com/reference/ethereum-getting-started
📖
Documentation
https://docs.chainstack.com/reference/ethereum-beacon-chain-api-getting-started
📖
Documentation
https://docs.chainstack.com/reference/solana-getting-started
📖
Documentation
https://docs.chainstack.com/reference/bitcoin-getting-started
📖
Documentation
https://docs.chainstack.com/reference/bnb-chain-getting-started
📖
Documentation
https://docs.chainstack.com/reference/polygon-getting-started
📖
Documentation
https://docs.chainstack.com/reference/arbitrum-getting-started
📖
Documentation
https://docs.chainstack.com/reference/optimism-getting-started
📖
Documentation
https://docs.chainstack.com/reference/base-getting-started
📖
Documentation
https://docs.chainstack.com/reference/avalanche-getting-started
📖
Documentation
https://docs.chainstack.com/reference/fantom-getting-started
📖
Documentation
https://docs.chainstack.com/reference/gnosis-getting-started
📖
Documentation
https://docs.chainstack.com/reference/cronos-getting-started
📖
Documentation
https://docs.chainstack.com/reference/aurora-getting-started
📖
Documentation
https://docs.chainstack.com/reference/ronin-getting-started
📖
Documentation
https://docs.chainstack.com/reference/tron-getting-started
📖
Documentation
https://docs.chainstack.com/reference/ton-getting-started
📖
Documentation
https://docs.chainstack.com/reference/starknet-getting-started
📖
Documentation
https://docs.chainstack.com/reference/zksync-getting-started
📖
Documentation
https://docs.chainstack.com/reference/polygon-zkevm-getting-started
📖
Documentation
https://docs.chainstack.com/reference/hyperliquid-getting-started
📖
Documentation
https://docs.chainstack.com/reference/monad-getting-started
📖
Documentation
https://docs.chainstack.com/reference/plasma-getting-started
📖
Documentation
https://docs.chainstack.com/reference/tempo-getting-started

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/chainstack-gas-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

chainstack-gas-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Chainstack Gas Data API
  version: 1.0.0
  contact:
    name: Chainstack API Support
    email: support@chainstack.com
  license:
    name: Chainstack Terms
    url: https://chainstack.com/terms-of-service/
  description: 'Operations tagged Gas Data across 8 of this provider''s published API definitions: chainstack-arbitrum-node-api-openapi.yml, chainstack-avalanche-node-api-openapi.yml, chainstack-ethereum-node-api-openapi.yml, chainstack-gnosis-node-api-openapi.yml, chainstack-monad-node-api-openapi.yml, chainstack-plasma-node-api-openapi.yml, chainstack-polygon-node-api-openapi.yml, chainstack-tempo-node-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{node_id}.p2pify.com/{api_key}
  description: Chainstack-managed node endpoint
  variables:
    node_id:
      default: nd-000-000-000
      description: Your Chainstack node identifier
    api_key:
      default: <api-key>
      description: Per-node access key
tags:
- name: Gas Data
paths:
  /eth_estimateGas:
    post:
      tags:
      - Gas Data
      summary: eth_estimateGas
      operationId: estimateGas
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_estimateGas
                params:
                  type: array
                  items:
                    type: object
                    properties:
                      from:
                        type: string
                        format: byte
                      to:
                        type: string
                        format: byte
                  default:
                  - from: '0x13867a801e352e219c2d2AC29288Bf086e5C81ef'
                    to: '0xbe0eb53f46cd790cd13851d5eff43d12404d33e8'
                  - latest
      responses:
        '200':
          description: The estimated gas amount
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
                    format: byte
    servers:
    - url: https://{node_id}.p2pify.com/{api_key}
      description: Chainstack-managed node endpoint
      variables:
        node_id:
          default: nd-000-000-000
          description: Your Chainstack node identifier
        api_key:
          default: <api-key>
          description: Per-node access key
  /eth_gasPrice:
    post:
      tags:
      - Gas Data
      summary: eth_gasPrice
      operationId: getGasPrice
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_gasPrice
                params:
                  type: array
                  default: []
      responses:
        '200':
          description: The value of the current gas base fee in Wei.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
    servers:
    - url: https://{node_id}.p2pify.com/{api_key}
      description: Chainstack-managed node endpoint
      variables:
        node_id:
          default: nd-000-000-000
          description: Your Chainstack node identifier
        api_key:
          default: <api-key>
          description: Per-node access key
  /eth_maxPriorityFeePerGas:
    post:
      tags:
      - Gas Data
      summary: eth_maxPriorityFeePerGas
      operationId: maxPriorityFeePerGas
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_maxPriorityFeePerGas
                params:
                  type: array
                  default: []
      responses:
        '200':
          description: The estimated max priority fee per gas
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
                    format: byte
    servers:
    - url: https://{node_id}.p2pify.com/{api_key}
      description: Chainstack-managed node endpoint
      variables:
        node_id:
          default: nd-000-000-000
          description: Your Chainstack node identifier
        api_key:
          default: <api-key>
          description: Per-node access key
  /eth_feeHistory:
    post:
      tags:
      - Gas Data
      summary: eth_feeHistory
      operationId: eth_feeHistory
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_feeHistory
                params:
                  type: array
                  default:
                  - '0x4'
                  - latest
                  - - 25
                    - 75
      responses:
        '200':
          description: Fee history for the requested block range.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
    servers:
    - url: https://{node_id}.p2pify.com/{api_key}
      description: Chainstack-managed node endpoint
      variables:
        node_id:
          default: nd-000-000-000
          description: Your Chainstack node identifier
        api_key:
          default: <api-key>
          description: Per-node access key
  /eth_blobBaseFee:
    post:
      tags:
      - Gas Data
      summary: eth_blobBaseFee
      operationId: blobBaseFee
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_blobBaseFee
                params:
                  type: array
                  items: {}
                  default: []
      responses:
        '200':
          description: Returns the base fee for blob gas in wei.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type:
                    - object
                    - 'null'
    servers:
    - url: https://{node_id}.p2pify.com/{api_key}
      description: Chainstack-managed node endpoint
      variables:
        node_id:
          default: nd-000-000-000
          description: Your Chainstack node identifier
        api_key:
          default: <api-key>
          description: Per-node access key
x-refined-from:
- chainstack-arbitrum-node-api-openapi.yml
- chainstack-avalanche-node-api-openapi.yml
- chainstack-ethereum-node-api-openapi.yml
- chainstack-gnosis-node-api-openapi.yml
- chainstack-monad-node-api-openapi.yml
- chainstack-plasma-node-api-openapi.yml
- chainstack-polygon-node-api-openapi.yml
- chainstack-tempo-node-api-openapi.yml