Ethereum Gas Price with Free API without Key Needed
Many services provide Ethereum gas tracker and give API methods to get gas price. But most of them require registration and using API key, like here https://etherscan.io/gastracker. But there is example without API key.
Get Ethereum Gas Price via API
Here it is https://ethgasprice.org/api/gas
On Linux terminal: