# Vextorium Gas Price API

> Vextorium Gas Price API is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status down (last checked 2026-10-22).

Returns the current gas price in Gwei and estimated ERC-20 transfer cost in ETH and USD for Base or Ethereum networks

## Facts

- Endpoint: POST https://api.vextorium.com/v1/gas-price?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: down
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-gas-price-api-59f03d07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1X9qTGraiEVnVdslwXS4A

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 vextorium-gas-price-api-59f03d07 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need real-time EVM gas price data for Base or Ethereum networks, especially when you need both the raw Gwei price and a pre-calculated USD cost estimate for ERC-20 transfers. It is ideal for agents that need to make cost-benefit decisions before submitting on-chain transactions or routing between networks. Prefer this over on-chain RPC calls when you want a simple pay-per-call REST API without managing your own node connections.

## Known failure modes

- Invalid network value (not 'base' or 'ethereum') returns an error
- RPC node unavailability may cause timeout or null values
- Missing required 'network' field in body returns validation error
- Network congestion may cause stale or delayed gas data

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

Returns a JSON object with the network name, current gas price in Gwei, ETH price in USD, and an estimated_cost breakdown for an ERC-20 transfer showing the cost in both ETH and USD. Example: {network: 'base', gas_price_gwei: 0.006, eth_price_usd: 2691.22, estimated_cost: {transfer_erc20: {eth: 4.3e-7, usd: 0.0012}}}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "network": {
   "enum": [
    "base",
    "ethereum"
   ],
   "type": "string",
   "description": "Network: base or ethereum"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "base",
  "eth_price_usd": 2691.22,
  "estimated_cost": {
   "transfer_erc20": {
    "eth": 4.3e-7,
    "usd": 0.0012
   }
  },
  "gas_price_gwei": 0.006
 }
}
```

## More

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