# Coockies.ai X/Twitter API Endpoint

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

Provides access to X (Twitter) data and actions via a pay-per-call API on the Base blockchain using the x402 payment protocol

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/x-twitter-api1?utm_source=zero.xyz
- Price: $0.067018/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-x-twitter-api-endpoint-efc68e8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q_VKw1goiuhm1iSDgYy7l

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-twitter-api-endpoint-efc68e8d -d '<json body>'
```

Example prompt: Can you pull recent tweets mentioning 'AI agents' from Twitter so I can see what people are talking about right now?

## When to prefer this

Choose this endpoint when you need programmatic access to Twitter/X data and want to pay per call without a subscription, especially in agent workflows running on Base chain using x402 micropayments. It's suitable for one-off lookups or low-frequency queries where a full Twitter API subscription is not cost-effective.

## Known failure modes

- Invalid or missing Twitter API parameters returns an error response
- Rate limiting from underlying Twitter API may cause failures
- Insufficient USDC balance or failed x402 payment prevents access
- Deleted or suspended Twitter accounts return empty or error results
- Private/protected accounts may return 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 containing the Twitter API response data, which may include tweet objects, user profile fields, timeline arrays, or search results depending on the query parameters passed to the endpoint.

## 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-twitter-api-endpoint-efc68e8d/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)
