# Gasoracle - EVM Gas Price Oracle

> Gasoracle - EVM Gas Price Oracle is a paid API for AI agents from stablecrypto.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns safe, standard, and fast gas price tiers for a given EVM-compatible blockchain network

## Facts

- Endpoint: POST https://stablecrypto.dev/api/etherscan/gas/gasoracle
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gasoracle-evm-gas-price-oracle-b23490dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zlXMmwtkDIcQZX57h17Su

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 gasoracle-evm-gas-price-oracle-b23490dd -d '<json body>'
```

Example prompt: What are the current safe, standard, and fast gas prices on Ethereum mainnet (chain ID 1) right now?

## When to prefer this

Use this endpoint when you need real-time gas price recommendations across safe/standard/fast tiers for any EVM-compatible chain. Prefer it over raw RPC gas estimates when you want tiered recommendations rather than a single value, especially for Ethereum mainnet (chain 1), Polygon (137), or Base (8453).

## Known failure modes

- Unsupported chain ID returns error or empty response
- Network timeout if the underlying Etherscan oracle is unavailable
- Invalid chainid type (non-numeric) causes schema validation failure
- Chain ID provided but not supported by Etherscan gas oracle (e.g. obscure L2s)

## How this service works

Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.

## Output

Returns three gas price tiers — safe (low priority), standard (normal), and fast (high priority) — in Gwei for the specified EVM chain, enabling informed transaction fee selection.

## Example request

```json
{
 "chainid": 1
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chainid": {
   "type": "number",
   "description": "EVM chain ID (1=Ethereum, 137=Polygon, 8453=Base, etc.)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gasoracle-evm-gas-price-oracle-b23490dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablecrypto.dev](https://www.zero.xyz/host/stablecrypto.dev/llms.txt)
