---
title: "Current gas fees on any of the supported EVM chains from the last 20 blocks: next-block base fee, slow/normal/fast priority fees (10th/50th/90th percentile, median across blocks), a suggested max fee and what a plain transfer costs in native token and USD. Read-only, no key."
method: POST
path: "/v1/tools/gas-price"
---

# Current gas fees on any of the supported EVM chains from the last 20 blocks: next-block base fee, slow/normal/fast priority fees (10th/50th/90th percentile, median across blocks), a suggested max fee and what a plain transfer costs in native token and USD. Read-only, no key.

`POST /v1/tools/gas-price`

## Request

- Base URL: `https://agents.dexl.io`
- URL: `https://agents.dexl.io/v1/tools/gas-price`
- Auth: API key in header `X-Payment`

Paid per call via x402. Send without payment to get the exact price in the 402.

## Request body

- object
  - `chain` string: Chain id, e.g. base, ethereum, arbitrum, bsc, polygon, optimism.

## Response `200`

The tool output

## Other responses

- `400`: The input did not match the schema
- `402`: Payment required

---

[API](https://skmtc.dev/dexl/apis/dexl-agents.md) · [All operations](https://skmtc.dev/dexl/apis/dexl-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/dexl/apis/dexl-agents/revisions/e3692765c3f7?raw)
