zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Finance/Etherscan
Logo Etherscan

Etherscan

Current gas price tiers and base fee, from Etherscan's V2 multichain API.

Endpoints
1
Requests
683
Updated
5 hours ago
For LLMs
llms.txt
Endpoint healthnot yet measured
  • gas-oraclenot measured
no measurements yetdaily 01:00 WIB

Playground

1 endpoint
GET/v1/finance:etherscan/gas-oracle30s cache1 paramchecking key…
Parameters
chainIdnumber

Chain selector. 1 is Ethereum mainnet, 137 Polygon; both serve this oracle without credentials.

·
Response
EXAMPLE
{
  "unit": "gwei",
  "chainId": 1,
  "dataset": "gas-oracle",
  "provider": "etherscan",
  "lastBlock": 25800500,
  "fastGasPrice": 0.227841836,
  "gasUsedRatio": [
    0.862360183333333,
    0.946595916666667,
    0.3724444,
    0.445706816666667,
    0.753381933333333
  ],
  "safeGasPrice": 0.16983154,
  "suggestBaseFee": 0.16983154,
  "proposeGasPrice": 0.17083154
}

Code examples

Gas Oracle
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("finance:etherscan", "gas-oracle", {
  "chainId": 1
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/finance:etherscan/gas-oracle?chainId=1" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

1 endpoint · plain text
GETGas Oracle/v1/finance:etherscan/gas-oracleCurrent gas price tiers and base fee, from Etherscan's V2 multichain API.

Parameters

chainIdnumberoptional
Chain selector. 1 is Ethereum mainnet, 137 Polygon; both serve this oracle without credentials.

Request

curl -X GET "https://api.zpi.web.id/v1/finance:etherscan/gas-oracle?chainId=1" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "unit": "gwei",
  "chainId": 1,
  "dataset": "gas-oracle",
  "provider": "etherscan",
  "lastBlock": 25800500,
  "fastGasPrice": 0.227841836,
  "gasUsedRatio": [
    0.862360183333333,
    0.946595916666667,
    0.3724444,
    0.445706816666667,
    0.753381933333333
  ],
  "safeGasPrice": 0.16983154,
  "suggestBaseFee": 0.16983154,
  "proposeGasPrice": 0.17083154
}

Related APIs

More in finance

Pluang

finance/pluang

Data pasar Pluang lintas aset: order book, running trade, tradebook dan ringkasan broker per saham IDX, plus saham Amerika, emas, kripto, sinyal analis dan berita.

27.9K calls·1d cache

Binance Vision

finance/binance-vision

Binance's public bulk archive: klines, 5-minute open-interest and long/short metrics, funding, book depth and liquidations, back to 2017.

7.9K calls·1d cache

TradingView

finance/tradingview

Screener, charts, technical indicators, fundamentals, news and the macro calendar across 16 markets — Indonesian equities, US equities, crypto, forex and futures.

57K calls·1d cache

Stockbit

finance/stockbit

Data saham IDX dari Stockbit: harga, chart intraday, profil emiten, diskusi komunitas, dan kamus investasi.

17.8K calls·1d cache

Mempool Space

finance/mempool-space

Recommended fee tiers in sat/vB, as mempool.space's own estimator sees them.

1.1K calls·2m cache

Lbma

finance/lbma

The running average the auction operator publishes per metal and session.

978 calls·1d cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026