---
title: "Gas Price Check (x402)"
method: GET
path: "/x402/v2/gas-price-check"
tags: ["x402"]
---

# Gas Price Check (x402)

`GET /x402/v2/gas-price-check`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/gas-price-check`
- Auth: none required

Current gas fees on Ethereum, Polygon or BNB Chain: safe, proposed and fast prices in Gwei plus the base fee, computed from the priority fees actually paid over the last 20 blocks.

## Query parameters

- `chain_id` string: Chain ID: 1 (Ethereum), 137 (Polygon PoS) or 56 (BNB Smart Chain). Rollups are refused. Default: 1

## Response `200`

Success

- object
  - `chain_id` string
  - `base_fee_gwei` number
  - `fast_gas_gwei` number
  - `safe_gas_gwei` number
  - `blocks_sampled` number
  - `gas_used_ratio` string
  - `proposed_gas_gwei` number

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
