# Genexxis Gas Price Oracle

> Genexxis Gas Price Oracle is a paid API for AI agents from gas.genexxis.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns current base fee, slow/standard/fast priority fees in gwei, and USD costs for native transfer, ERC-20 transfer, and Uniswap swap (including L1 data fee on rollups) for a specified EVM chain.

## Facts

- Endpoint: GET https://gas.genexxis.com/now?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/genexxis-gas-price-oracle-08f88405
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7IazjdTcPkM0PIuKo0GOs

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 genexxis-gas-price-oracle-08f88405
```

Example prompt: What are the current gas fees on Base — give me the base fee, the slow/standard/fast priority fees in gwei, and the USD cost to do a Uniswap swap right now?

## When to prefer this

Choose this endpoint when you need current, real-time gas fee estimates for a specific EVM chain broken down by speed tier (slow/standard/fast) and expressed in both gwei and USD for practical transaction types — especially when operating on rollups where L1 data fees matter. It is more convenient than raw RPC calls because it bundles native token price conversion and pre-calculates costs for common transaction types in a single call.

## Known failure modes

- Unsupported chain name returns an error — only ethereum, base, arbitrum, optimism, polygon, and bsc are valid
- Missing required 'chain' query parameter returns a validation error
- Network issues fetching live on-chain data may cause transient 500 errors
- Stale price data possible during high congestion periods

## How this service works

Current gas on one EVM chain: base fee and slow/standard/fast priority fee in gwei, and USD cost of a native transfer, an ERC-20 transfer and a Uniswap swap including the L1 data fee on rollups.

## Output

A JSON object with chain name, native token, current native token USD price, base fee in gwei, slow/standard/fast priority fees in gwei, and USD costs (slow/standard/fast) for three transaction types — ETH transfer (21,000 gas), ERC-20 transfer (65,000 gas), and Uniswap swap (180,000 gas) — each including the L1 data fee where applicable for rollup chains.

## 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": {
       "type": "string",
       "description": "ethereum, base, arbitrum, optimism, polygon or bsc"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Base",
  "chain": "base",
  "nativeUsd": 2342.74,
  "baseFeeGwei": 0.005,
  "nativeToken": "ETH",
  "transactions": {
   "ethTransfer": {
    "gas": 21000,
    "costUsd": {
     "fast": 0.000739,
     "slow": 0.000265,
     "standard": 0.000303
    },
    "l1DataFeeUsd": 8.75e-7
   },
   "uniswapSwap": {
    "gas": 180000,
    "costUsd": {
     "fast": 0.00633,
     "slow": 0.00226,
     "standard": 0.0026
    },
    "l1DataFeeUsd": 0.00000355
   },
   "erc20Transfer": {
    "gas": 65000,
    "costUsd": {
     "fast": 0.00229,
     "slow": 0.000817,
     "standard": 0.000938
    },
    "l1DataFeeUsd": 0.00000112
   }
  },
  "priorityFeeGwei": {
   "fast": 0.01,
   "slow": 0.00036,
   "standard": 0.00115
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/genexxis-gas-price-oracle-08f88405/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gas.genexxis.com](https://www.zero.xyz/host/gas.genexxis.com/llms.txt)
