> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beaconcha.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Current gas price recommendations

> Retrieve current execution-layer fee recommendations and ETH price snapshot. The response provides four fee tiers expressed as wei per gas, each corresponding to a target inclusion time: rapid (≈15 seconds), fast (≈1 minute), standard (≈3 minutes), and slow (>10 minutes). The payload also includes a Unix millisecond timestamp and an ETH/USD price snapshot.



## OpenAPI

````yaml /api/v1/bundled.yaml get /api/v1/execution/gasnow
openapi: 3.0.4
info:
  title: beaconcha.in API Documentation
  license:
    name: GPL-3.0
    url: https://www.gnu.org/licenses/gpl-3.0.en.html
  description: >-
    > ⚠️ No new features or endpoints will be added to V1. We recommend the [V2
    API](/api/overview) for all new projects. See the [migration
    guide](/api/v1-to-v2-migration).

    ## Introduction

    **Advanced and reliable API for accessing comprehensive Ethereum blockchain
    data.**


    - **Free Usage Policy:** The API is free to use under a fair use policy,
    with rate limits of 10 requests per minute per IP.

    - **Caching:** All responses are cached for 1 minute.

    - **Higher Usage Plans:** For higher usage plans, visit:
    [https://beaconcha.in/pricing](https://beaconcha.in/pricing). An API key is
    required to use these plans.


    ### API Key Usage

    API keys can be obtained at
    [/user/settings](https://beaconcha.in/user/settings) and must be included in
    requests either as a query string parameter or in the request header.


    #### Example: Query String Parameter

    ```bash

    curl https://beaconcha.in/api/v1/slot/1?apikey=<your_key>

    ```


    #### Example: Request Header

    ```bash

    curl -H 'apikey: <your_key>' https://beaconcha.in/api/v1/slot/1

    ```
  contact: {}
  version: '1.1'
servers:
  - url: https://beaconcha.in
    description: Ethereum mainnet
  - url: https://hoodi.beaconcha.in
    description: Hoodi Ethereum testnet
security:
  - ApiKeyAuthQuery: []
  - ApiKeyAuthHeader: []
tags:
  - name: Epoch
    description: Data related to consensus layer epochs
  - name: Slots
    description: Data related to consensus layer slots
  - name: Validators
    description: Data related to consensus layer validators
  - name: Rewards
    description: Data related to validator rewards
  - name: Sync Committees
    description: Data related to sync committees
  - name: Rocketpool
    description: Data related to the rocketpool protocol
  - name: ETH.Store®
    description: Data related to the ETH.Store® metric
  - name: Validator deposits
    description: Data related to execution layer validator deposits
  - name: Blocks
    description: Data related to execution layer blocks
  - name: Gas
    description: Data related to gas prices
  - name: Address
    description: Data related to ethereum addresses
  - name: Network
    description: Network data
  - name: Misc
    description: Miscellaneous data
  - name: User
    description: User data
  - name: Machine Metrics
    description: Submit machine, beacon-node, and validator-client monitoring metrics
paths:
  /api/v1/execution/gasnow:
    get:
      tags:
        - Gas
      summary: Current gas price recommendations
      description: >-
        Retrieve current execution-layer fee recommendations and ETH price
        snapshot. The response provides four fee tiers expressed as wei per gas,
        each corresponding to a target inclusion time: rapid (≈15 seconds), fast
        (≈1 minute), standard (≈3 minutes), and slow (>10 minutes). The payload
        also includes a Unix millisecond timestamp and an ETH/USD price
        snapshot.
      operationId: getExecutionGasNow
      responses:
        '200':
          description: >-
            Current fee recommendations and price snapshot were retrieved
            successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.GasNowPageData'
        '400':
          description: The request is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.ApiErrorResponse'
              examples:
                notAvailable:
                  summary: Gasnow data not available
                  value:
                    status: 'ERROR: gasnow data is currently not available'
                    data: null
        '500':
          description: An unexpected server error occurred while processing your request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.ApiErrorResponse'
              examples:
                serverError:
                  summary: Internal error
                  value:
                    status: 'ERROR: internal server error'
                    data: null
components:
  schemas:
    types.GasNowPageData:
      type: object
      description: >-
        Fee recommendations and ETH price snapshot used by the GasNow view and
        API.
      properties:
        code:
          type: integer
          description: Application-level status code. 200 indicates success.
          enum:
            - 200
        data:
          type: object
          description: >-
            Container for gas price tiers and market data at the time of
            computation.
          properties:
            rapid:
              type: integer
              description: >-
                Recommended max fee per gas for rapid inclusion (≈15s), in wei
                per gas.
              example: 141086566
            fast:
              type: integer
              description: >-
                Recommended max fee per gas for fast inclusion (≈1m), in wei per
                gas.
              example: 141086542
            standard:
              type: integer
              description: >-
                Recommended max fee per gas for standard inclusion (≈3m), in wei
                per gas.
              example: 141086518
            slow:
              type: integer
              description: >-
                Recommended max fee per gas for slow inclusion (>10m), in wei
                per gas.
              example: 141086044
            timestamp:
              type: integer
              description: >-
                Unix timestamp in milliseconds (UTC) when the recommendation set
                was computed.
              example: 1760076662742
            price:
              type: number
              format: float
              nullable: true
              description: >-
                Price of ETH in the fiat currency identified by `currency` at
                `timestamp`.
              example: 4366.60356702
            priceUSD:
              type: number
              format: float
              description: Price of ETH in USD at `timestamp`.
              example: 4366.60356702
    types.ApiErrorResponse:
      type: object
      description: Standard error envelope returned when a request fails.
      properties:
        status:
          type: string
          description: >-
            Human-readable error indicator and message. The value begins with
            "ERROR:" followed by details.
          example: 'ERROR: <Message>'
        data:
          type: string
          description: Optional additional context for the error. Null in most cases.
          nullable: true
          default: null
  securitySchemes:
    ApiKeyAuthQuery:
      type: apiKey
      in: query
      name: apikey
      description: ''
    ApiKeyAuthHeader:
      type: apiKey
      in: header
      name: apikey
      description: ''

````