Gas Price

Fast, standard and safe low gas prices on the Ethereum network

get
Gas Price

https://ethgasstation.info/api/ethgasAPI.json?api-key=XXAPI_Key_HereXXX
Returns the current recommended fast, standard and safe low gas prices on the Ethereum network, along with the current block and wait times for each "speed".
Request
Response
Request
Query Parameters
api-key
required
string
Create a free account at data.defipulse.com to obtain an API-key
Response
200: OK
***Note: To convert the provided values to gwei, divide by 10.***
{
"fast":50.0,
"fastest":200.0,
"safeLow":10.0,
"average":20.0,
"block_time":13.942307692307692,
"blockNum":7403346,
"speed":0.7090284960673774,
"safeLowWait":13.4,
"avgWait":1.8,
"fastWait":0.5,
"fastestWait":0.5
}
Additional Response info:
Response Breakdown
fast: Recommended fast(expected to be mined in < 2 minutes) gas price in x10 Gwei(divite by 10 to convert it to gwei)
fastest: Recommended fastest(expected to be mined in < 30 seconds) gas price in x10 Gwei(divite by 10 to convert it to gwei)
safeLow: Recommended safe(expected to be mined in < 30 minutes) gas price in x10 Gwei(divite by 10 to convert it to gwei)
average: Recommended average(expected to be mined in < 5 minutes) gas price in x10 Gwei(divite by 10 to convert it to gwei)
block_time: Average time(in seconds) to mine one single block
blockNum: Latest block number
speed: Smallest value of (gasUsed / gaslimit) from last 10 blocks
safeLowWait: Waiting time(in minutes) for safeLow gas price
avgWait: Waiting time(in minutes) for average gas price
fastWait: Waiting time(in minutes) for fast gas price
fastestWait: Waiting time(in minutes) for fastest gas price
Note: To convert the provided values to gwei, divide by 10
API Docs by Provider - Previous
ETH Gas Station⛽️
Next
Prediction Table
Last updated 16 hours ago
WAS THIS PAGE HELPFUL?
CONTENTS
GET
Gas Price
Note: To convert the provided values to gwei, divide by 10
Search...
Search Placeholder
Response
Response
  • fast: Recommended fast(expected to be mined in < 2 minutes) gas price in x10 Gwei(divite by 10 to convert it to gwei)

  • fastest: Recommended fastest(expected to be mined in < 30 seconds) gas price in x10 Gwei(divite by 10 to convert it to gwei)

  • safeLow: Recommended safe(expected to be mined in < 30 minutes) gas price in x10 Gwei(divite by 10 to convert it to gwei)

  • average: Recommended average(expected to be mined in < 5 minutes) gas price in x10 Gwei(divite by 10 to convert it to gwei)

  • block_time: Average time(in seconds) to mine one single block

  • blockNum: Latest block number

  • speed: Smallest value of (gasUsed / gaslimit) from last 10 blocks

  • safeLowWait: Waiting time(in minutes) for safeLow gas price

  • avgWait: Waiting time(in minutes) for average gas price

  • fastWait: Waiting time(in minutes) for fast gas price

  • fastestWait: Waiting time(in minutes) for fastest gas price

Note: To convert the provided values to gwei, divide by 10