# Twitter V1/V2 Search & Data API

> Twitter V1/V2 Search & Data API is a paid API for AI agents from sna4an-sosmed-v1.vercel.app, paid per call via x402, $0.13/call, status unknown (last checked 2026-10-09).

Query Twitter/X data using V1 and V2 API endpoints via a paid proxy hub, returning tweets, user info, or search results for a given query.

## Facts

- Endpoint: POST https://sna4an-sosmed-v1.vercel.app/api/twitter-v1v2?utm_source=zero.xyz
- Price: $0.13/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-v1-v2-search-data-api-c1be720e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6QGIzJu8iAGMiBlBv0axl

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 twitter-v1-v2-search-data-api-c1be720e -d '<json body>'
```

Example prompt: Search Twitter/X for recent tweets about 'AI regulation 2024' and bring back the top results including engagement data.

## When to prefer this

Use this endpoint when you need to search or fetch Twitter/X data without managing your own Twitter API credentials, and are comfortable paying $0.13 USDC per call via x402 micropayments on Base chain. Best for ad-hoc tweet searches, social listening, and data extraction tasks where direct Twitter API access is unavailable.

## Known failure modes

- Empty or vague query returns no results or generic response
- Twitter rate limits or API restrictions may cause failures downstream
- Ambiguous query terms may return irrelevant tweets
- Service may return opaque errors if underlying Twitter API credentials expire
- Payment failure on Base chain blocks the request entirely

## How this service works

126 paid social media API endpoints - TikTok, Instagram, Twitter/X, YouTube, Finance, AI Tools &amp; more. Protected by x402 micropayments on Base chain.

## Output

Returns a JSON object containing Twitter/X data matching the query — likely including tweet text, author info, timestamps, and engagement metrics (likes, retweets, replies), depending on the V1/V2 API endpoint invoked internally.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-v1-v2-search-data-api-c1be720e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sna4an-sosmed-v1.vercel.app](https://www.zero.xyz/host/sna4an-sosmed-v1.vercel.app/llms.txt)
