# Industrial Platform Web Tools – Gas Price Lookup

> Industrial Platform Web Tools – Gas Price Lookup is a paid API for AI agents from x402-gateway-production-1f21.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Returns current gas price data for a specified EVM-compatible blockchain network (Base or Ethereum mainnet)

## Facts

- Endpoint: GET https://x402-gateway-production-1f21.up.railway.app/gas-price?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/industrial-platform-web-tools-gas-price-lookup-e281e1c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kT__5Ig1Htn8ZCTGjNrKo

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 industrial-platform-web-tools-gas-price-lookup-e281e1c7
```

Example prompt: What's the current gas price on the Base network (eip155:8453) right now?

## When to prefer this

Use this endpoint when you need real-time gas price data for Base (eip155:8453) or Ethereum mainnet (eip155:1) via a machine-payable micropayment API. Prefer it for automated agent workflows that need fee estimates before submitting transactions, or for monitoring gas price trends without setting up direct RPC connections. It is particularly suited for AI agents operating on the x402 payment protocol that need a simple, pay-per-call gas oracle without managing API keys.

## Known failure modes

- Unsupported chain ID returns validation error — only eip155:8453 (Base) and eip155:1 (Ethereum mainnet) are accepted
- Missing required 'chain' query parameter returns 400 bad request
- Network connectivity issues to the RPC provider may return stale or error responses
- Payment failure (x402 protocol) prevents the response from being returned

## How this service works

Gas price in the Roundhouse canonical contract: CAIP-2 chain to current base_fee_gwei and as_of. Recurring fee-state primitive for transaction timing and autonomous execution.

## Output

A JSON object containing the current gas price status and fee data for the requested EVM chain, indicating network readiness and current pricing in wei or gwei.

## 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",
     "required": [
      "chain"
     ],
     "properties": {
      "chain": {
       "enum": [
        "eip155:8453",
        "eip155:1"
       ],
       "type": "string",
       "default": "eip155:8453"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ready"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/industrial-platform-web-tools-gas-price-lookup-e281e1c7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production-1f21.up.railway.app](https://www.zero.xyz/host/x402-gateway-production-1f21.up.railway.app/llms.txt)
