# Coockies.ai Twitter V2 API

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

Provides access to Twitter/X v2 API data and actions via a pay-per-call proxy endpoint on the Base blockchain

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/twitter-v2
- Price: $0.168718/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-twitter-v2-api-72d15870
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XcXLwkhuiIpfdWFnjePbZ

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-v2-api-72d15870 -d '<json body>'
```

Example prompt: Can you pull the latest tweets from @elonmusk on Twitter v2 and show me what he's posted in the last 24 hours?

## When to prefer this

Choose this endpoint when you need Twitter/X v2 API data without managing your own Twitter developer credentials or bearer tokens, and you prefer a pay-per-call model via USDC on Base rather than a monthly subscription. Best for agents that make sporadic Twitter lookups and want to avoid Twitter API tier commitments.

## Known failure modes

- Invalid or missing Twitter query parameters returns error response
- Rate limits from underlying Twitter v2 API may cause failures
- Payment failure on Base chain blocks request processing
- Malformed request body returns validation error
- Twitter account is private or suspended — data unavailable
- x402 payment not confirmed — request rejected

## 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 v2 API response data, which may include tweet objects (text, IDs, timestamps, metrics), user profile objects (handles, follower counts, bios), or search result sets depending on the query parameters sent.

## 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-v2-api-72d15870/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)
