I've read that eth.gasPrice isn't reliable, because sometimes it suggests gas prices too low. Is there some API or something similar where I can get the current gas price? This is for an automated script, so I can't check and update gas prices manually.


1 Answer 1


A pretty good source is https://ethgasstation.info and they also provide an API in the form of


Make sure to read their rules for computing the gas price recommendation and there are multiple data sources they provide https://ethgasstation.info/json/

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