# Sna4an Twitter v2 Data API

> Sna4an Twitter v2 Data API is a paid API for AI agents from sna4an-social.vercel.app, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-15).

Fetches Twitter/X data (tweets, profiles, timelines, search) via RapidAPI sub-endpoints with x402 micropayment authentication

## Facts

- Endpoint: POST https://sna4an-social.vercel.app/api/twitter-v2
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sna4an-twitter-v2-data-api-c1087ae2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ZmMlotxW9YVtzJnfEcxx

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 sna4an-twitter-v2-data-api-c1087ae2 -d '<json body>'
```

Example prompt: Pull the latest 20 tweets from @elonmusk's Twitter timeline using the statuses/user_timeline path and return their text and engagement stats.

## When to prefer this

Choose this endpoint when you need Twitter/X data (tweets, profiles, search, timelines) via a pay-per-call x402 micropayment model without managing a RapidAPI subscription. Useful for agents that need occasional Twitter lookups without committing to a monthly API plan.

## Known failure modes

- Invalid or unsupported RapidAPI sub-endpoint path returns an error or empty response
- Missing required query params (e.g. username, tweet ID) causes a 400 or upstream API error
- x402 payment failure prevents request from being processed
- Rate limits from underlying RapidAPI Twitter provider return 429
- Twitter account is private or suspended — returns empty or restricted data
- Ambiguous params result in unexpected data shape due to generic response schema

## How this service works

Social media data APIs - YouTube, TikTok, Instagram, Twitter, Medium

## Output

Returns a JSON object containing Twitter data matching the requested sub-endpoint — could include tweet objects, user profile fields, search results, timelines, or engagement metrics depending on the path and params supplied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "path": {
   "type": "string",
   "description": "RapidAPI sub-endpoint path"
  },
  "params": {
   "type": "object",
   "description": "Query parameters"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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