# Saylor Innovations Data Desk – EVM Gas Fee History

> Saylor Innovations Data Desk – EVM Gas Fee History is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Returns EVM gas fee history including base fee, priority tip percentiles, trend, congestion level, and USD transfer cost for a given chain over recent blocks

## Facts

- Endpoint: GET https://saylorinnovations.com/api/gas/history?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-evm-gas-fee-history-3b396c80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_INTeMNPkXPF5xvAt5rBBz

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 saylor-innovations-data-desk-evm-gas-fee-history-3b396c80
```

Example prompt: What are the gas fees looking like on Ethereum right now — base fee, priority tips, and whether it's trending up or down — and how much would a simple transfer cost in USD? Sample the last 50 blocks.

## When to prefer this

Choose this endpoint when you need historical gas fee context — trends, percentiles, and congestion levels — rather than just a single point-in-time gas price quote. It is especially useful for agents that need to decide when to submit transactions, compare gas costs across multiple EVM chains, or build gas dashboards. The USD transfer cost output makes it immediately actionable without requiring additional token price lookups. Prefer this over raw RPC calls when you want structured, pre-computed analytics over a configurable recent window.

## Known failure modes

- Unsupported chain name returns an error — must be one of: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea
- Blocks parameter outside 2–100 range is rejected
- Chain RPC unavailability may result in stale or missing data
- Payment failure (x402) prevents the response from being returned
- Missing required 'chain' query parameter returns a validation error

## How this service works

EVM gas fee history - base fee, priority tip percentiles, trend and congestion for a chain over the last N blocks with the USD cost of a transfer

## Output

A JSON object containing: the chain name, base fee stats in gwei (min/max/avg), priority tip percentiles in gwei, trend direction string (e.g. rising/falling/stable), congestion label, next block base fee estimate, average block utilization percentage, base fee trend as a percentage, a block-by-block base fee series array, the number of blocks sampled, the native transfer cost in USD, and a timestamp of when the check was run.

## 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, bsc, avalanche or linea"
      },
      "blocks": {
       "type": "string",
       "description": "optional 2-100 recent blocks, default 20"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "base_fee_gwei"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain the data is for"
      },
      "trend": {
       "type": "string",
       "description": "Direction of recent change"
      },
      "checked_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the check was run (UTC)"
      },
      "congestion": {
       "type": "string"
      },
      "base_fee_gwei": {
       "type": "object",
       "description": "Base fee per gas in gwei"
      },
      "blocks_sampled": {
       "type": [
        "number",
        "null"
       ],
       "description": "Blocks sampled"
      },
      "priority_tip_gwei": {
       "type": "object",
       "description": "Priority tip, in gwei"
      },
      "base_fee_trend_pct": {
       "type": [
        "number",
        "null"
       ],
       "description": "Base fee trend, as a percentage"
      },
      "native_transfer_cost": {
       "type": "object",
       "description": "Native transfer cost"
      },
      "series_base_fee_gwei": {
       "type": "array",
       "items": {
        "type": "number"
       },
       "description": "Series base fee, in gwei"
      },
      "next_block_base_fee_gwei": {
       "type": "number",
       "description": "Next block base fee, in gwei"
      },
      "avg_block_utilization_pct": {
       "type": [
        "number",
        "null"
       ],
       "description
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-evm-gas-fee-history-3b396c80/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
