# Coockies.ai Twitter/X API

> Coockies.ai Twitter/X API is a paid API for AI agents from coockies-ai.vercel.app, paid per call via x402, $0.191839/call, status unknown (last checked 2026-10-16).

Proxies Twitter/X social data requests via a pay-per-call API hub, returning structured social media data from Twitter/X.

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/twitter-x-api?utm_source=zero.xyz
- Price: $0.191839/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-twitter-x-api-c7be8231
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KIw2iXPa-GSbVgQyLxTko

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-twitter-x-api-c7be8231 -d '<json body>'
```

Example prompt: Can you pull the latest tweets and follower count for the Twitter account @elonmusk using the Coockies.ai Twitter API?

## When to prefer this

Choose this endpoint when you need pay-per-call access to Twitter/X data without managing Twitter API credentials directly, especially in agent workflows using x402 micropayments on Base chain. Useful when you want low-commitment, usage-based social data access without API key management overhead.

## Known failure modes

- Invalid or missing Twitter/X query parameters returns an error in the result object
- Rate limits on the underlying Twitter API may cause failures or empty results
- Non-existent user handles or tweet IDs return empty or error responses
- Insufficient USDC balance for x402 payment prevents the call from being made
- Malformed input schema causes a 400-level error from the proxy layer

## 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 structured Twitter/X API response data, including fields relevant to the query such as tweet content, user metadata, engagement metrics, or timeline entries, wrapped in a generic result envelope.

## 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-twitter-x-api-c7be8231/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)
