# Chain Check API – Gas Snapshot

> Chain Check API – Gas Snapshot is a paid API for AI agents from chaincheck-api.netlify.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-23).

Returns real-time gas prices in gwei and estimated transfer costs in USD across multiple chains, identifying the cheapest chain for swaps.

## Facts

- Endpoint: GET https://chaincheck-api.netlify.app/v1/gas-snapshot?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chain-check-api-gas-snapshot-648c21d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IyBbwK2dnHHJpzqJaQvNh

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 chain-check-api-gas-snapshot-648c21d6
```

Example prompt: What are the current gas prices in gwei and estimated transfer costs in USD across chains right now, and which one is cheapest for doing a swap?

## When to prefer this

Use this endpoint when you need a lightweight, no-signup, pay-per-call gas price snapshot across multiple EVM chains with direct USD cost estimates — especially in agent workflows where you want to route transactions to the cheapest available chain without maintaining your own RPC connections or subscribing to a gas oracle.

## Known failure modes

- Payment not received or insufficient USDC balance returns HTTP 402
- Malformed request parameters return a 400 error
- Downstream chain RPC unavailability may return stale or partial gas data
- Rate limiting or provider downtime on Netlify may return 503

## How this service works

No-signup crypto data API for AI agents and developers. Multi-chain wallet reports ($0.01) and smart-contract risk quick-scans ($0.02), paid per call with x402 in USDC on Base.

## Output

A JSON object containing per-chain gas prices in gwei and estimated transfer costs in USD, plus a 'cheapest_for_swap' field identifying the lowest-cost chain for executing a swap at the time of the call.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chains": {
   "base": {
    "gas_gwei": 0.006,
    "transfer_cost_usd": 0.0003
   }
  },
  "cheapest_for_swap": "base"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chain-check-api-gas-snapshot-648c21d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chaincheck-api.netlify.app](https://www.zero.xyz/host/chaincheck-api.netlify.app/llms.txt)
