# Polygon PoS Gas Conditions

> Polygon PoS Gas Conditions is a paid API for AI agents from onchaincheck.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Returns current Polygon PoS gas metrics (block number, base fee, gas price, priority fee in gwei) plus estimated POL and USD costs for native and ERC-20 transfers using Chainlink POL/USD pricing.

## Facts

- Endpoint: GET https://onchaincheck.dev/polygon/gas?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polygon-pos-gas-conditions-53331019
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E55Mi5ufUiVP0R65XFIw9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability polygon-pos-gas-conditions-53331019
```

Example prompt: What are the current gas conditions on Polygon PoS — give me the base fee, gas price, priority fee, and how much a native POL transfer and an ERC-20 transfer would cost right now in both POL and USD?

## When to prefer this

Use this endpoint when you need real-time Polygon PoS gas conditions specifically, including both raw gwei values and USD-denominated cost estimates for common transfer types. Prefer it over generic gas trackers when you need Chainlink-priced POL/USD conversion baked in alongside block-level gas data in a single call.

## Known failure modes

- Chainlink POL/USD feed unavailable — USD cost estimates may be missing or stale
- Polygon RPC node temporarily unavailable — returns 5xx or empty response
- Data may lag by a few seconds relative to the very latest block

## How this service works

Current Polygon PoS gas conditions: block number, base fee, gas price and priority fee in gwei, and the estimated cost in POL and USD of a native transfer and an ERC-20 transfer (Chainlink POL/USD).

## Output

A JSON object containing the chain identifier, current block number, block timestamp, POL/USD price, base fee in gwei, gas price in gwei, max priority fee in gwei, estimated cost of a native POL transfer in both POL and USD, and estimated cost of an ERC-20 transfer in both POL and USD.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "polygon",
  "blockTime": "2026-10-22T15:50:44.000Z",
  "nativeUsd": 0.0905823,
  "baseFeeGwei": "248.763643361",
  "blockNumber": 95985915,
  "gasPriceGwei": "276.772562084",
  "nativeSymbol": "POL",
  "estimatedCost": {
   "erc20Transfer": {
    "usd": 0.00163,
    "native": "0.01799021653546"
   },
   "nativeTransfer": {
    "usd": 0.0005265,
    "native": "0.005812223803764"
   }
  },
  "maxPriorityFeeGwei": "28.008918723"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polygon-pos-gas-conditions-53331019/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchaincheck.dev](https://www.zero.xyz/host/onchaincheck.dev/llms.txt)
