# Stride20k EVM Gas Price API

> Stride20k EVM Gas Price API is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns current gas fees for a specified EVM chain (Ethereum, Base, Polygon), including node-reported gas price, next base fee, and priority fee percentiles

## Facts

- Endpoint: GET https://gateway.stride20k.com/crypto/gas/%7Bchain%7D
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stride20k-evm-gas-price-api-90bd4762
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qn1vHZoayMK3_cNkIFHf6

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 stride20k-evm-gas-price-api-90bd4762
```

Example prompt: What are the current gas fees on Base — give me the gas price in Gwei and the recommended priority fee percentiles so I can decide whether to submit my transaction now.

## When to prefer this

Choose this endpoint when you need real-time, EIP-1559-aware gas fee data for Ethereum, Base, or Polygon without setting up your own RPC node or API key. It is ideal for pre-transaction gas checks, cost estimation, and fee optimization in agent workflows. Prefer this over raw RPC calls when you want normalized Gwei output and priority fee percentiles in a consistent schema. Pay-per-call with USDC via x402 makes it suitable for low-frequency or sporadic usage without subscription overhead.

## Known failure modes

- Unsupported chain slug returns an error or empty response
- Node RPC timeout causing delayed or failed response
- Stale cached data if cache TTL is not fresh
- Invalid chain path parameter format causes routing failure
- Network congestion on the queried chain may cause RPC latency

## How this service works

Agent data gateway plus the live x402 market feed. Normalized, schema-stable JSON for crypto prices, DeFi TVL, on-chain DEX pools, gas, FX, US Treasury yields, US weather, WHOIS, DNS, email validation, web-page extraction, tech news, Wikipedia, npm/PyPI package health, ERC-20 token-risk scoring, and composed domain dossiers, plus x402 ecosystem analytics and metered LLM inference. Pay per call with USDC via the x402 protocol; no accounts, no API keys.

## Output

Returns a JSON object with ok:true and a data block containing: chain name, gas price in Wei and Gwei, number of blocks sampled, estimated next base fee in Gwei, and priority fee percentiles (p25, p50, p75) in Gwei. Also includes meta fields: whether the result was cached, the data source (on-chain via PublicNode/dRPC), and the fetch timestamp.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "chain": "base",
   "gasPriceWei": "6000000",
   "gasPriceGwei": 0.006,
   "blocksSampled": 5,
   "nextBaseFeeGwei": 0.005,
   "priorityFeeGwei": {
    "p25": 0.0006,
    "p50": 0.0011,
    "p75": 0.003
   }
  },
  "meta": {
   "cached": false,
   "source": "on-chain (PublicNode/dRPC JSON-RPC)",
   "fetchedAt": "2026-07-04T00:00:00.000Z",
   "attribution": null
  },
  "endpoint": "/crypto/gas/:chain"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stride20k-evm-gas-price-api-90bd4762/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stride20k.com](https://www.zero.xyz/host/gateway.stride20k.com/llms.txt)
