Gas Tracker
Endpoints with are under the API Pro subscription. To upgrade your API plan, browse through the PolygonScan APIs page.
Get Gas Oracle
Returns the current Safe, Proposed and Fast gas prices.
https://api.polygonscan.com/api
?module=gastracker
&action=gasoracle
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
No parameters required.
Get Daily Average Gas Limit 

Returns the historical daily average gas limit of the Polygon network.
https://api.polygonscan.com/api
?module=stats
&action=dailyavggaslimit
&startdate=2021-02-01
&enddate=2021-02-28
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
enddate
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Get Polygon Daily Total Gas Used

Returns the total amount of gas used daily for transactions on the Polygon network.
https://api.polygonscan.com/api
?module=stats
&action=dailygasused
&startdate=2021-02-01
&enddate=2021-02-28
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
enddate
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Get Daily Average Gas Price

Returns the daily average gas price used on the Polygon network.
https://api.polygonscan.com/api
?module=stats
&action=dailyavggasprice
&startdate=2021-02-01
&enddate=2021-02-28
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
enddate
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Last updated