# Coockies.ai Twitter/X API Endpoint

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

Provides access to Twitter/X social media data and interactions via a pay-per-call API on the Base blockchain

## Facts

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

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-endpoint-4939a455 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to Twitter/X data without managing Twitter API credentials directly, especially in agent workflows using x402 micropayments on Base chain. It is suitable for one-off lookups of social data without committing to a Twitter API subscription.

## Known failure modes

- Invalid or missing Twitter/X query parameters return an empty or error result
- Rate limits from the underlying Twitter/X API may cause failures
- Payment failure on Base chain (insufficient USDC) prevents the call from completing
- Non-existent user handles or tweet IDs return empty data
- API downtime on Coockies.ai infrastructure results in service unavailability

## 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/X data such as tweet content, user profile details, engagement metrics, or search results depending on the query parameters provided.

## 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-endpoint-4939a455/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)
