# Coockies.ai Twitter All-in-One API

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

Provides comprehensive Twitter/X data access including tweets, profiles, search results, and social metadata via a unified all-in-one endpoint

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/twitter-aio?utm_source=zero.xyz
- Price: $0.162274/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-twitter-all-in-one-api-f55e4098
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XZuWLAB6J_zX-9nldSsw4

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-all-in-one-api-f55e4098 -d '<json body>'
```

Example prompt: Can you pull recent tweets and profile info for @elonmusk from Twitter — I want to see his latest posts and how many followers he has?

## When to prefer this

Choose this endpoint when you need a single, pay-per-call Twitter data access point without managing Twitter API credentials directly. It is well-suited for agents that occasionally need Twitter data across profiles, search, or timelines and want to pay micro-amounts per call via x402 on Base chain rather than subscribing to a Twitter API plan.

## Known failure modes

- Invalid or suspended Twitter handle returns empty or error result
- Rate limiting from underlying Twitter API may cause temporary failures
- Private/protected accounts return no accessible tweet data
- Malformed query parameters result in generic error response
- Twitter API downtime causes upstream fetch failures

## 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 Twitter data such as tweet content, user profile fields (bio, follower/following counts, profile image), tweet engagement metrics (likes, retweets, replies), and timeline or search results depending on the query parameters passed.

## 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-all-in-one-api-f55e4098/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)
