# Strale Gas Price Check

> Strale Gas Price Check is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-10-27).

Returns current on-chain gas prices for Ethereum or Base networks

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/gas-price-check?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-gas-price-check-ca0f4e6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9T14VEdRrKFRsStNmpdsw

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 strale-gas-price-check-ca0f4e6d
```

Example prompt: What's the current gas price on Ethereum mainnet right now?

## When to prefer this

Choose this endpoint when you need a quick, auditable gas price lookup for Ethereum or Base networks with cryptographic audit trail. Useful for AI agents that need to verify transaction costs before executing on-chain actions, especially when compliance or audit logging is required.

## Known failure modes

- Invalid chain_id returns an error or defaults to Ethereum
- Network or node unavailability may cause timeouts
- Unsupported chain IDs return a validation error
- Stale gas data if underlying node is lagging

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns current gas prices for the specified blockchain network (Ethereum mainnet by default, or Base), along with an audit record containing cryptographic chain hashing for trust verification. Typical output includes gas price values (likely in Gwei) and associated chain metadata.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain_id": {
       "type": "string",
       "description": "Chain ID: 1 (Ethereum), 137 (Polygon PoS) or 56 (BNB Smart Chain). Rollups are refused. Default: 1"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-gas-price-check-ca0f4e6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
