I would like to get the historical Gas (Gwei) price in hourly or minutely with safelow, Standard, fast and fastest. I am aware of the etherscan.io which gives avg gas price for a day and also ethstation which gives realtime data. I am able to get the real-time from https://www.etherchain.org/tools/gasPriceOracle. Is there a way where i can get historical prices?


You can follow this website they have provided their API as well click here

and you can get a lot of other detailed information as well

| improve this answer | |

The closest you can get is using this graph of historical gas prices.

Unless somebody has been storing the data you are asking for in a database, you will not be able to retrieve it. You can, however, run the same algorithm that ethgasstation.info uses on the graph above and interpolate the data, if desired.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.