# CryptoPulse Gas Price API

> CryptoPulse Gas Price API is a paid API for AI agents from cryptopulse.saascloud.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns live gas prices in both wei and gwei for Base or Ethereum mainnet, fetched from public RPC nodes.

## Facts

- Endpoint: GET https://cryptopulse.saascloud.ai/api/gas
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptopulse-gas-price-api-03a5a814
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SkQm_8j7Jg-Y28wDMtc6E

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 cryptopulse-gas-price-api-03a5a814
```

Example prompt: What's the current gas price on Ethereum mainnet right now, in both wei and gwei?

## When to prefer this

Use this endpoint when you need a quick, real-time gas price snapshot for Base or Ethereum mainnet and don't require advanced fee estimation (e.g. EIP-1559 priority fees, historical percentiles). Ideal for pre-transaction cost checks, DeFi automation triggers, and gas monitoring workflows where wei and gwei values are sufficient.

## Known failure modes

- Invalid chain parameter returns an error or defaults to Base
- RPC node unavailability may cause timeouts or stale data
- No historical or percentile gas data returned — only current snapshot
- Extremely volatile gas periods may cause slightly outdated readings between poll intervals

## How this service works

Live gas price (wei and gwei) for Base or Ethereum mainnet from public RPC.

## Output

Returns the current network gas price expressed in both wei (raw integer) and gwei (human-readable decimal) for the requested chain (Base or Ethereum mainnet), sourced from a live public RPC node.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "description": "base (default) or ethereum"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptopulse-gas-price-api-03a5a814/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptopulse.saascloud.ai](https://www.zero.xyz/host/cryptopulse.saascloud.ai/llms.txt)
