Glyphcall
Chain data3 free calls over HTTPFrom $0.01 per call · failed calls are never charged

The same method on other networks: /eth/gas-history and its related tools.

Celo gas history, fee history

$0.01 per call · failed calls are never charged · no account needed: a card key or USDC

Fee history on Celo (eth_feeHistory): base fee in gwei for each of the last N blocks (5-100, default 20), how full each block was, and the 10th, 50th and 90th percentile priority fees, with the low, average and high base fee over the window. Use to judge whether fees are rising, pick a priority fee or time a transaction; for the current price alone use celo_gas.

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

How many recent blocks, 5-100 (default 20)

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
blocksintegerHow many recent blocks, 5-100 (default 20)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/celo/gas-history?blocks=20"

Node.js

const r = await fetch("https://glyphtools.com/celo/gas-history?blocks=20", {
  headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header

Python

import requests

r = requests.get("https://glyphtools.com/celo/gas-history?blocks=20", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()

Or one of your 3 free calls, no key — the same request with &trial=1 on the end:

curl "https://glyphtools.com/celo/gas-history?blocks=20&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "chain": "Celo",
  "chainId": 42220,
  "fromBlock": 123456770,
  "toBlock": 123456789,
  "blocks": 20,
  "baseFeeGwei": {
    "low": 0.011,
    "average": 0.012,
    "high": 0.014,
    "latest": 0.012,
    "next": 0.012
  },
  "priorityFeeGwei": {
    "p10": 0.0005,
    "p50": 0.001,
    "p90": 0.01
  },
  "history": [
    {
      "block": 123456789,
      "baseFeeGwei": 0.012,
      "gasUsedRatio": 0.48,
      "priorityFeeGwei": [
        0.0005,
        0.001,
        0.01
      ]
    }
  ]
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is celo_gas_history, and the first 10 successful calls are free:

https://glyphtools.com/mcp

Related tools