Skip to main content
Polygon Gas Station provides gas price recommendations for PoS mainnet, Amoy testnet, and zkEVM networks. It queries the RPC for eth_feeHistory and computes the 10th, 25th, and 50th percentiles of priority fees across the last 15 blocks. These become the safeLow, standard, and fast predictions.
On Polygon PoS mainnet, a minimum priority fee of 25 gWei is required.

Query gas price recommendations

Send a GET request to the endpoint for your target network.

Testnet endpoints

  • Amoy testnet: https://gasstation.polygon.technology/amoy
  • zkEVM Cardona: https://gasstation.polygon.technology/zkevm/cardona
curl https://gasstation.polygon.technology/amoy

Mainnet endpoints

  • PoS mainnet: https://gasstation.polygon.technology/v2
  • zkEVM mainnet: https://gasstation.polygon.technology/zkevm
curl https://gasstation.polygon.technology/v2

Response format

Example response:
{
  "safeLow": {
    "maxPriorityFee":30.7611840636,
    "maxFee":30.7611840796
    },
  "standard": {
    "maxPriorityFee":32.146027800733336,
    "maxFee":32.14602781673334
    },
  "fast": {
    "maxPriorityFee":33.284344224133335,
    "maxFee":33.284344240133336
    },
  "estimatedBaseFee":1.6e-8,
  "blockTime":6,
  "blockNumber":24962816
}
FieldDescription
safeLowConservative fee estimate (GWei). Use for non-urgent transactions.
standardModerate fee estimate (GWei). Suitable for most transactions.
fastHigher fee estimate (GWei). Use when faster inclusion is needed.
estimatedBaseFeeCurrent base fee in GWei.
blockNumberThe latest block mined when the recommendation was made.
blockTimeAverage block time in seconds for the network.