# LensCrypt Gas Tracker — On-Chain Gas Price by Chain

> LensCrypt Gas Tracker — On-Chain Gas Price by Chain is a paid API for AI agents from lensscrypt.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-09).

Returns current gas prices and fee estimates for a specified blockchain network

## Facts

- Endpoint: GET https://lensscrypt.vercel.app/api/gas/%7Bchain%7D
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lenscrypt-gas-tracker-on-chain-gas-price-by-chain-ebe11a7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_geK_YPqnjKP7yffU8fYXi

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 lenscrypt-gas-tracker-on-chain-gas-price-by-chain-ebe11a7c
```

Example prompt: What are the current gas prices on Ethereum right now — I want to know if it's a good time to send a transaction?

## When to prefer this

Use this endpoint when you need real-time gas fee data for a specific blockchain before executing a transaction, automating a DeFi workflow, or advising a user on optimal send timing. Prefer this over manual block explorer lookups when building automated agents that need programmatic gas price access across multiple chains in a single API ecosystem.

## Known failure modes

- Unsupported chain identifier returns an error or empty response
- Chain node connectivity issues may return stale or unavailable data
- Invalid chain parameter format returns a 400 or error JSON
- Payment failure via x402 protocol returns a 402 Payment Required response

## How this service works

81 paid REST endpoints covering wallet analytics, DeFi yields, token safety, smart money tracking, whale alerts, sniper detection, GMX perps, Solana tools, protocol stats, gas tracking, DEX quotes, NFT analytics, social signals, and 8 AI-powered endpoints (MiMo V2.5). Pay USDC via x402 protocol on Base.

## Output

Returns a JSON object with current gas price data for the specified chain, likely including fast/standard/slow gas estimates in gwei and/or USD cost approximations, plus a status field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lenscrypt-gas-tracker-on-chain-gas-price-by-chain-ebe11a7c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lensscrypt.vercel.app](https://www.zero.xyz/host/lensscrypt.vercel.app/llms.txt)
