Gas Price

Get Zapper's current gas prices

Overview

The prices endpoint returns Zapper's current Ethereum, BSC, and Polygon/Matic network gas prices

get
Get Gas Prices

http://api.zapper.fi/v1/gas-price
Returns the standard, fast, and instant gas price in GWEI. To convert to WEI multiply response values by 10 ** 9 network can be one of ethereum,binance-smart-chain, polygon. Returns ethereum network gas prices if left blank.
Request
Response
Request
Query Parameters
api_key
required
string
Authorization token
network
optional
string
Network to get gas prices for
Response
200: OK
Gas prices successfully retrieved.
{
"standard": 75,
"fast": 84.000001459,
"instant": 90
}
404: Not Found
Error response from gas-price endpoint
{
"statusCode": 400,
"message": [
"A helpful error message"
],
"error": "Bad Request"
}

‚Äč