# Cortex Cloud Gas Price API

> Cortex Cloud Gas Price API is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns current gas price estimates (fast and standard) for the Base blockchain network

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/data/gas
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortex-cloud-gas-price-api-3dc7dd32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yAEf9GkNvqmhAsW7gB8yX

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 cortex-cloud-gas-price-api-3dc7dd32
```

Example prompt: What are the current fast and standard gas prices on the Base network right now?

## When to prefer this

Choose this endpoint when you need real-time Base network gas prices in a pay-per-call model without API key setup. Ideal for agents that need occasional gas price lookups without committing to a subscription, or for autonomous agents that pay via x402 USDC micropayments on Base.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 requiring x402 micropayment
- Base network RPC unavailable — may return stale or error response
- Invalid properties filter parameter — may return 400 bad request
- Network timeout if Base RPC is congested

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

A JSON object containing current gas price estimates for the Base network, broken down by speed tier: 'fast' (e.g. 0.002) and 'standard' (e.g. 0.001), returned as string-formatted numeric values.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {
  "base": {
   "fast": "0.002",
   "standard": "0.001"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortex-cloud-gas-price-api-3dc7dd32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
