# Coockies.ai Gas Estimate

> Coockies.ai Gas Estimate is a paid API for AI agents from coockies-ai.vercel.app, paid per call via x402, $0.105822/call, status unknown (last checked 2026-09-15).

Estimates gas fees for a transaction on the Base blockchain network

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/gas-estimate
- Price: $0.105822/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-gas-estimate-d2867cbf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__IFtqSJbRoSAfQKvA9YmG

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 coockies-ai-gas-estimate-d2867cbf -d '<json body>'
```

Example prompt: Can you estimate the gas fee for my transaction on the Base chain so I know how much it'll cost before I send it?

## When to prefer this

Use this endpoint when you need a gas fee estimate specifically for transactions on the Base (Coinbase L2) blockchain before executing them, especially in a pay-per-call context where cost efficiency matters. Prefer this over generic gas estimators when operating within the Coockies.ai API ecosystem already.

## Known failure modes

- Invalid or missing transaction parameters returns an error result
- Network congestion may cause stale gas price estimates
- Base chain RPC unavailability causes lookup failure
- Malformed input schema returns validation error

## How this service works

194 production-ready API endpoints. AI, Search, Social, Finance, Crypto. Pay-per-call with x402 on Base chain.

## Output

Returns a result object containing estimated gas data for the transaction, including cost estimates relevant to execution on the Base blockchain network.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coockies-ai-gas-estimate-d2867cbf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coockies-ai.vercel.app](https://www.zero.xyz/host/coockies-ai.vercel.app/llms.txt)
