# Vextorium EVM Gas History

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

Returns historical gas fees (base fee, tip percentiles, gas usage) for EVM chains over recent blocks, plus next-block base fee prediction and tip recommendations.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/gas-history?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-evm-gas-history-918e1da5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mQnnI2FRo9sDKfgESbKd_

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-evm-gas-history-918e1da5 -d '<json body>'
```

Example prompt: What are the gas fees on Ethereum right now? Pull the last 15 blocks of gas history and tell me the recommended tip for a fast transaction.

## When to prefer this

Choose this endpoint when you need historical gas fee data and tip recommendations for a specific EVM chain (Base, Ethereum, Arbitrum, Optimism, Polygon, BNB, Avalanche, Gnosis, Linea, Scroll, Sonic, Unichain) with per-block granularity. Ideal for agents that need to optimize transaction gas settings, monitor network congestion, or predict upcoming fees programmatically via a pay-per-call model.

## Known failure modes

- Invalid or unsupported network name returns an error
- Requesting too many blocks may return partial data or an error
- Network connectivity issues to the chain RPC may yield stale or missing data
- Payment failure via x402 returns 402 Payment Required

## 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 number of blocks analyzed, a per-block detail array (block number, tip p10/p50/p90 in gwei, base fee in gwei, gas usage %), the average base fee across all blocks, the predicted next base fee, and fast/normal tip recommendations in gwei.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "blocks": {
   "type": "integer"
  },
  "network": {
   "enum": [
    "base",
    "ethereum",
    "arbitrum",
    "optimism",
    "polygon",
    "bnb",
    "avalanche",
    "gnosis",
    "line",
    "scroll",
    "sonic",
    "unichain"
   ],
   "type": "string",
   "description": "Chain (default base)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "blocks": 10,
  "detail": [
   {
    "block": 52091652,
    "tip_p10_gwei": 0,
    "tip_p50_gwei": 0.001,
    "tip_p90_gwei": 0.005,
    "base_fee_gwei": 0.005,
    "gas_usage_pct": 8.1
   },
   {
    "block": 52091653,
    "tip_p10_gwei": 0,
    "tip_p50_gwei": 0.00115,
    "tip_p90_gwei": 0.0265,
    "base_fee_gwei": 0.005,
    "gas_usage_pct": 8.1
   }
  ],
  "network": "base",
  "avg_base_fee_gwei": 0.005,
  "next_base_fee_gwei": 0.005,
  "tip_recommendation_gwei": {
   "fast": 0.013771,
   "normal": 0.001015
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-evm-gas-history-918e1da5/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)
