# Coockies.ai X.com (Twitter) Social API v2

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

Fetches or interacts with X.com (Twitter) social data via a pay-per-call API proxy on the Base blockchain

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/x-com2?utm_source=zero.xyz
- Price: $0.116428/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-x-com-twitter-social-api-v2-99d83702
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5uTpWqYN18Vpt6-vOVG__

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-com-twitter-social-api-v2-99d83702 -d '<json body>'
```

Example prompt: Can you pull the latest tweets from @elonmusk on X.com and summarize what he's been posting about this week?

## When to prefer this

Choose this endpoint when you need pay-per-call access to X.com (Twitter) social data without managing your own Twitter API credentials or subscriptions. Ideal for AI agents that need occasional Twitter lookups billed per-use via USDC micropayments on Base chain rather than paying a monthly API subscription.

## Known failure modes

- Invalid or missing X.com user handle or tweet ID returns an error response
- Rate limits from the underlying X.com API may cause request failures
- Payment failure or insufficient USDC balance on Base chain blocks the call
- Malformed request body returns a generic error
- Suspended or private accounts may return empty or restricted data

## 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 JSON object with an X.com API response payload containing social data such as tweet content, user profile fields, engagement metrics, or timeline entries depending on the query parameters supplied.

## 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-com-twitter-social-api-v2-99d83702/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)
