title | summary | version |
---|---|---|
Gas Price Reporting API Index |
Index of all the different gas pricing API's available |
Collection of All Gas Price Prediction and Reporting Services and their various formats
Notice: GasNow as of 2021-10-01 will be shutting down due to SparkPools closure
@article{'Gas Price Reporting Index',
title={'Transaction Pricing and Reporting Survey for Ethereum'},
url={'https://github.com/sambacha/gas-reporting'},
author={Bacha, Sam}}
- Fastest: next block (i.e. <30 seconds)
- Fast: below 2 minutes (<10 blocks)
- Medium: around 5 minutes (<20 blocks)
- Slow: below 30 minutes (a.k.a safe-low, <120 blocks)
Note: This is a proxy for BlockNative's Gas Pricing Service
{
"system": "ethereum",
"network": "main",
"unit": "gwei",
"maxPrice": 336,
"currentBlockNumber": 13095949,
"msSinceLastBlock": 4542,
"blockPrices": [
{
"blockNumber": 13095950,
"baseFeePerGas": 113.110076547,
"estimatedTransactionCount": 172,
"estimatedPrices": [
{
"confidence": 99,
"price": 129,
"maxPriorityFeePerGas": 15.96,
"maxFeePerGas": 242.18
},
{
"confidence": 95,
"price": 119,
"maxPriorityFeePerGas": 6.84,
"maxFeePerGas": 233.06
},
{
"confidence": 90,
"price": 118,
"maxPriorityFeePerGas": 5.09,
"maxFeePerGas": 231.31
},
{
"confidence": 80,
"price": 116,
"maxPriorityFeePerGas": 3.21,
"maxFeePerGas": 229.43
},
{
"confidence": 70,
"price": 115,
"maxPriorityFeePerGas": 2.28,
"maxFeePerGas": 228.5
}
]
}
]
}
BlockNative Chrome Extenstion
blocknative eth gas estimate extenstion
https://blocknative-api.herokuapp.com/data
{
"pendingBlockNumberVal": 13378149,
"seconds": 17,
"maxPrice": 768,
"estimatedTransactions": 279,
"estimatedPrices": [{
"confidence": 99,
"price": 86,
"maxPriorityFeePerGas": 2.96,
"maxFeePerGas": 170.76
}, {
"confidence": 95,
"price": 85,
"maxPriorityFeePerGas": 1.75,
"maxFeePerGas": 169.55
}, {
"confidence": 90,
"price": 85,
"maxPriorityFeePerGas": 1.56,
"maxFeePerGas": 169.36
}, {
"confidence": 80,
"price": 85,
"maxPriorityFeePerGas": 1.48,
"maxFeePerGas": 169.28
}, {
"confidence": 70,
"price": 85,
"maxPriorityFeePerGas": 1.37,
"maxFeePerGas": 169.17
}],
"baseFeePerGas": 83.897778652
}
https://ethereum-api.xyz/gas-prices
http GET https://ethereum-api.xyz/gas-prices
{
"timestamp": 1633172858972,
"slow": {
"time": 756,
"price": 39
},
"average": {
"time": 84,
"price": 42
},
"fast": {
"time": 30,
"price": 54
},
"fastest": {
"time": 24,
"price": 58
}
}
https://docs.etherscan.io/api-endpoints/gas-tracker
https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=YourApiKeyToken
{
"status": "1",
"message": "OK",
"result": {
"LastBlock": "13053741",
"SafeGasPrice": "20",
"ProposeGasPrice": "22",
"FastGasPrice": "24",
"suggestBaseFee": "19.230609716",
"gasUsedRatio": "0.370119078777807,0.8954731,0.550911766666667,0.212457033333333,0.552463633333333"
}
}
gasnow.org/taichi
wss://www.gasnow.org/ws
{
"type": "gasprice",
"data": {
"gasPrices": {
"rapid": 67000000000,
"fast": 64455346560,
"standard": 63455346560,
"slow": 63455346560
},
"cumulativeCounts": [
{
"gwei": "63",
"cumulativeCount": 93
},
{
"gwei": "64",
"cumulativeCount": 81
},
{
"gwei": "65",
"cumulativeCount": 65
},
{
"gwei": "66",
"cumulativeCount": 35
},
{
"gwei": "67",
"cumulativeCount": 34
},
{
"gwei": "68",
"cumulativeCount": 32
},
{
"gwei": "69",
"cumulativeCount": 30
},
{
"gwei": "70",
"cumulativeCount": 25
},
{
"gwei": "71",
"cumulativeCount": 22
},
{
"gwei": "73",
"cumulativeCount": 21
},
{
"gwei": "74",
"cumulativeCount": 19
},
{
"gwei": "75",
"cumulativeCount": 17
},
{
"gwei": "78",
"cumulativeCount": 16
},
{
"gwei": "80",
"cumulativeCount": 15
},
{
"gwei": "81",
"cumulativeCount": 13
},
{
"gwei": "87",
"cumulativeCount": 12
},
{
"gwei": "88",
"cumulativeCount": 11
},
{
"gwei": "89",
"cumulativeCount": 9
},
{
"gwei": "94",
"cumulativeCount": 8
},
{
"gwei": "96",
"cumulativeCount": 6
},
{
"gwei": "98",
"cumulativeCount": 5
},
{
"gwei": "109",
"cumulativeCount": 4
},
{
"gwei": "112",
"cumulativeCount": 3
},
{
"gwei": "120",
"cumulativeCount": 2
},
{
"gwei": "221",
"cumulativeCount": 1
}
],
"timestamp": 1629975608579
}
}
{
"code": 200,
"data": {
"rapid": 131000000000,
"fast": 116000000000,
"standard": 100000000000,
"slow": 91600000000,
"timestamp": 1613914581546
}
}
{
"lastUpdate": "2021-02-21T13:38:38.945308Z",
"lowest": "2",
"safeLow": "109000000001",
"standard": "119000000001",
"fast": "131000000001",
"fastest": "10680081443136"
}
{
"low": {
"suggestedMaxPriorityFeePerGas": "1.37826449268",
"suggestedMaxFeePerGas": "70.067746222",
"minWaitTimeEstimate": 15000,
"maxWaitTimeEstimate": 30000
},
"medium": {
"suggestedMaxPriorityFeePerGas": "1.5",
"suggestedMaxFeePerGas": "81.637728684",
"minWaitTimeEstimate": 15000,
"maxWaitTimeEstimate": 45000
},
"high": {
"suggestedMaxPriorityFeePerGas": "2",
"suggestedMaxFeePerGas": "93.585975639",
"minWaitTimeEstimate": 15000,
"maxWaitTimeEstimate": 60000
},
"estimatedBaseFee": "57.241234774"
}
{
"SafeGasPrice": "100",
"ProposeGasPrice": "108",
"FastGasPrice": "119"
}
https://gas-price-api.1inch.exchange/v1.0
GET https://gas-price-api.1inch.exchange/v1.0 HTTP/1.1
Host:gas-price-api.1inch.exchange
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:87.0) Gecko/20100101 Firefox/87.0
Accept:application/json, text/plain, */*
Accept-Language:en-US,en;q=0.5
Accept-Encoding:gzip, deflate, br
Referer:https://1inch.exchange/
Origin:https://1inch.exchange
Connection:keep-alive
If-None-Match:W/"55-14kgjK/la5g2ZUcb/96cMvcDlDQ"
Content-Type:text/plain
{
"fast": 96820000000,
"instant": 125000000000,
"standard": 90000000000,
"slow": 82000000000
}
{
"fast": 1200.0,
"fastest": 1200.0,
"safeLow": 1020.0,
"average": 1050.0,
"block_time": 13.327868852459016,
"blockNum": 11900622,
"speed": 0.997822721438169,
"safeLowWait": 12.9,
"avgWait": 1.5,
"fastWait": 0.5,
"fastestWait": 0.5,
"gasPriceRange": {
"1200": 0.5,
"1180": 0.5,
"1160": 0.6,
"1140": 0.6,
"1120": 0.7,
"1100": 0.7,
"1080": 1.2,
"1060": 1.5,
"1040": 11.5,
"1020": 12.9,
"1000": 14.3,
"980": 17.4,
"960": 18.9,
"940": 21.1,
"920": 222.1,
"900": 222.1,
"880": 222.1,
"860": 222.1,
"840": 222.1,
"820": 222.1,
"800": 222.1,
"780": 222.1,
"760": 222.1,
"740": 222.1,
"720": 222.1,
"700": 222.1,
"680": 222.1,
"660": 222.1,
"640": 222.1,
"620": 222.1,
"600": 222.1,
"580": 222.1,
"560": 222.1,
"540": 222.1,
"520": 222.1,
"500": 222.1,
"480": 222.1,
"460": 222.1,
"440": 222.1,
"420": 222.1,
"400": 222.1,
"380": 222.1,
"360": 222.1,
"340": 222.1,
"320": 222.1,
"300": 222.1,
"280": 222.1,
"260": 222.1,
"240": 222.1,
"220": 222.1,
"200": 222.1,
"190": 222.1,
"180": 222.1,
"170": 222.1,
"160": 222.1,
"150": 222.1,
"140": 222.1,
"130": 222.1,
"120": 222.1,
"110": 222.1,
"100": 222.1,
"90": 222.1,
"80": 222.1,
"70": 222.1,
"60": 222.1,
"50": 222.1,
"40": 222.1,
"30": 222.1,
"20": 222.1,
"10": 222.1,
"8": 222.1,
"6": 222.1,
"4": 222.1,
"1050": 1.5
}
}
{
"fast": 1200.0,
"fastest": 1200.0,
"safeLow": 1020.0,
"average": 1050.0,
"block_time": 13.327868852459016,
"blockNum": 11900622,
"speed": 0.997822721438169,
"safeLowWait": 12.9,
"avgWait": 1.5,
"fastWait": 0.5,
"fastestWait": 0.5,
"gasPriceRange": {
"1200": 0.5,
"1180": 0.5,
"1160": 0.6,
"1140": 0.6,
"1120": 0.7,
"1100": 0.7,
"1080": 1.2,
"1060": 1.5,
"1040": 11.5,
"1020": 12.9,
"1000": 14.3,
"980": 17.4,
"960": 18.9,
"940": 21.1,
"920": 222.1,
"900": 222.1,
"880": 222.1,
"860": 222.1,
"840": 222.1,
"820": 222.1,
"800": 222.1,
"780": 222.1,
"760": 222.1,
"740": 222.1,
"720": 222.1,
"700": 222.1,
"680": 222.1,
"660": 222.1,
"640": 222.1,
"620": 222.1,
"600": 222.1,
"580": 222.1,
"560": 222.1,
"540": 222.1,
"520": 222.1,
"500": 222.1,
"480": 222.1,
"460": 222.1,
"440": 222.1,
"420": 222.1,
"400": 222.1,
"380": 222.1,
"360": 222.1,
"340": 222.1,
"320": 222.1,
"300": 222.1,
"280": 222.1,
"260": 222.1,
"240": 222.1,
"220": 222.1,
"200": 222.1,
"190": 222.1,
"180": 222.1,
"170": 222.1,
"160": 222.1,
"150": 222.1,
"140": 222.1,
"130": 222.1,
"120": 222.1,
"110": 222.1,
"100": 222.1,
"90": 222.1,
"80": 222.1,
"70": 222.1,
"60": 222.1,
"50": 222.1,
"40": 222.1,
"30": 222.1,
"20": 222.1,
"10": 222.1,
"8": 222.1,
"6": 222.1,
"4": 222.1,
"1050": 1.5
}
}
{ "safeLow": 102, "standard": 105, "fast": 114.6, "fastest": 120 }
{
"health": true,
"block_number": 11900628,
"slow": 101.0,
"standard": 107.0,
"fast": 115.0,
"instant": 130.8,
"block_time": 13.191
}
{
"health": true,
"block_number": 11900628,
"slow": 101.0,
"standard": 107.0,
"fast": 115.0,
"instant": 130.8,
"block_time": 13.191
}
nanoeth is the SI nomenclature for
gwei
{
"number_of_blocks": 200,
"latest_block_number": 11907178,
"percentile_1": "1e-9 nanoeth",
"percentile_2": "0.00001 nanoeth",
"percentile_3": "0.000011001 nanoeth",
"percentile_4": "1 nanoeth",
"percentile_5": "6 nanoeth",
"percentile_10": "10 nanoeth",
"percentile_15": "152 nanoeth",
"percentile_20": "170 nanoeth",
"percentile_25": "181.5 nanoeth",
"percentile_30": "190.000001459 nanoeth",
"percentile_35": "200 nanoeth",
"percentile_40": "214.76 nanoeth",
"percentile_45": "222.814063547 nanoeth",
"percentile_50": "229.9 nanoeth",
"percentile_55": "232 nanoeth",
"percentile_60": "245 nanoeth",
"percentile_65": "256 nanoeth",
"percentile_70": "262 nanoeth",
"percentile_75": "270.6 nanoeth",
"percentile_80": "278 nanoeth",
"percentile_85": "289.02 nanoeth",
"percentile_90": "300 nanoeth",
"percentile_95": "314.4 nanoeth",
"percentile_96": "315.21 nanoeth",
"percentile_97": "316.075841562 nanoeth",
"percentile_98": "325 nanoeth",
"percentile_99": "326 nanoeth",
"percentile_100": "348 nanoeth"
}
{
"safeLow": 159,
"standard": 184,
"fast": 262,
"fastest": 289,
"blockNum": 11907235
}
{
"safeLow": 159,
"standard": 184,
"fast": 262,
"fastest": 289,
"blockNum": 11907235
}
{
"status": "1",
"message": "OK",
"result": {
"LastBlock": "11907242",
"SafeGasPrice": "248",
"ProposeGasPrice": "269",
"FastGasPrice": "294"
}
}
{
"status": "1",
"message": "OK",
"result": {
"LastBlock": "11907242",
"SafeGasPrice": "248",
"ProposeGasPrice": "269",
"FastGasPrice": "294"
}
}
http://api.zapper.fi/v1/gas-price
{
"standard": 113,
"fast": 114,
"instant": 136
}
https://api.archerdao.io/v1/gas
{
"code": 200,
"data": {
"immediate": "228202648099",
"rapid": "67236905683",
"fast": "13591066085",
"standard": "1101380018",
"slow": "0",
"slower": "0",
"slowest": "0"
}
}
Current offchain list: