# Coockies.ai Pre-Trade Analysis API

> Coockies.ai Pre-Trade Analysis API is a paid API for AI agents from coockies-ai.vercel.app, paid per call via x402, $0.183658/call, status unknown (last checked 2026-10-10).

Performs pre-trade analysis or signal generation for financial or crypto assets before executing a trade

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/pretrade?utm_source=zero.xyz
- Price: $0.183658/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-pre-trade-analysis-api-2b8a2fb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IJWY5we2b2_YsXD2C_spr

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-pre-trade-analysis-api-2b8a2fb3 -d '<json body>'
```

Example prompt: Before I place a trade, can you run a pre-trade analysis on this position and tell me the risk signals and market conditions I should know about?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call pre-trade analysis signal without committing to a full trading platform subscription. Best suited for AI agents operating on Base chain that need lightweight pre-trade checks integrated into an automated workflow, especially when cost-per-call economics matter.

## Known failure modes

- Missing or malformed input result object returns an error or empty response
- Invalid asset or trade parameters may return an unhelpful generic response
- Service may return stale or incomplete data if underlying market feeds are unavailable
- Pay-per-call payment failure via x402/Base chain will block the request
- Schema is loosely typed so output structure may vary and require validation

## 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 pre-trade analysis data, which may include market signals, risk indicators, trade viability assessments, or computed metrics relevant to the proposed trade.

## 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-pre-trade-analysis-api-2b8a2fb3/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)
