# Coockies.ai Twitter API v1+v2

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

Provides access to Twitter/X data and actions via a combined v1 and v2 API interface, paid per-call via x402 on Base chain

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/twitter-v1-v2?utm_source=zero.xyz
- Price: $0.141519/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-twitter-api-v1-v2-3557cbbf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vh6BLXJH5e7_38N7BWFdL

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-api-v1-v2-3557cbbf -d '<json body>'
```

Example prompt: Can you pull the most recent tweets from @elonmusk and tell me what topics he's been posting about this week?

## When to prefer this

Choose this endpoint when you need programmatic Twitter/X data access without managing your own Twitter developer credentials, and want to pay per-call in USDC via x402 rather than subscribing to a Twitter API tier. Suitable for agents that need occasional Twitter lookups as part of broader workflows.

## Known failure modes

- Invalid or missing Twitter query parameters returns an error result
- Rate limit exceeded on the underlying Twitter API returns a failure response
- Non-existent user or tweet ID returns empty or error result
- Malformed input payload causes request rejection
- Twitter API downtime propagates as an error through the proxy

## 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, engagement counts, timestamps, and other metadata depending on the specific query made against the Twitter v1/v2 API endpoints.

## 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-api-v1-v2-3557cbbf/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)
