# Coockies.ai X Search

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

Searches X (formerly Twitter) and returns results via a pay-per-call API on the Base blockchain

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/x-search
- Price: $0.18/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-x-search-8a9ba672
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EXnWRMfNEkEpFA7Trwthj

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-x-search-8a9ba672 -d '<json body>'
```

Example prompt: Search X for the latest posts about 'Bitcoin ETF approval' from the past 24 hours and show me what people are saying.

## When to prefer this

Use this endpoint when you need to search X (Twitter) posts programmatically and want pay-per-call pricing via cryptocurrency on Base chain rather than a subscription-based Twitter API plan. Best for agents that need occasional or sporadic X search without committing to API subscriptions.

## Known failure modes

- Payment failure — insufficient USDC balance on Base chain
- Invalid or missing search query in request body
- Rate limiting from underlying X search provider
- No results found for query
- API timeout or upstream X service unavailability
- 402 Payment Required if x402 payment header is missing or malformed

## 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 X/Twitter search data matching the query, including post content and associated metadata.

## 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-x-search-8a9ba672/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)
