# agentx.sale Gas Price Check

> agentx.sale Gas Price Check is a paid API for AI agents from agentx.sale, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Returns live gas price in gwei and USD cost of a token transfer for Base, Ethereum, Polygon, Avalanche, Arbitrum, or OP Mainnet

## Facts

- Endpoint: GET https://agentx.sale/x402/gas-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentx-sale-gas-price-check-46c32d4e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2J5qZpBOJ7hcIoA3Yjwn5

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 agentx-sale-gas-price-check-46c32d4e
```

Example prompt: What's the current gas price on Base right now, and how much would a token transfer cost in USD?

## When to prefer this

Use this endpoint when you need a fast, real-time gas price check on a specific EVM chain (Base, Ethereum, Polygon, Avalanche, Arbitrum, or OP Mainnet) and want the USD cost of a token transfer calculated alongside the raw gwei figure — ideal for pre-trade checks, fee estimation, or agent-driven DeFi workflows.

## Known failure modes

- Unsupported chain name returns an error or empty result
- Network congestion may cause slightly stale gwei readings
- Missing or misspelled 'chain' query param may default to a single chain or return an error
- Payment failure (402) if USDC balance is insufficient

## How this service works

Gas price check: live gwei on Base, Ethereum, Polygon, Avalanche, Arbitrum or OP Mainnet, with USD cost of a token transfer

## Output

A JSON object containing the chain name, current gas price in gwei, and the estimated USD cost of a standard token transfer on that chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "Base",
  "gasPriceGwei": 0.006,
  "transferCostUsd": 0.0003
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentx-sale-gas-price-check-46c32d4e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentx.sale](https://www.zero.xyz/host/agentx.sale/llms.txt)
