# Sna4an Twitter Data API (x402)

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

Fetches Twitter/X social media data via a RapidAPI-backed proxy endpoint, accepting a sub-endpoint path and query parameters

## Facts

- Endpoint: POST https://sna4an-social.vercel.app/api/twitter-241
- Price: $0.165/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-data-api-x402-665eae65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4QouiNv-n2drPTpLQ8Ox4

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-data-api-x402-665eae65 -d '<json body>'
```

Example prompt: Pull the latest 20 tweets from @elonmusk's Twitter timeline including engagement stats like likes and retweets — use the Twitter data endpoint with path '/user-tweets' and params for username 'elonmusk'.

## When to prefer this

Choose this endpoint when you need to programmatically retrieve Twitter/X data (profiles, tweets, timelines, search results) through a pay-per-call x402 micropayment model without managing a long-term API subscription. It is especially useful for agents that need on-demand Twitter data access without pre-negotiated API keys, and when the underlying RapidAPI Twitter data path is known.

## Known failure modes

- Invalid or unsupported RapidAPI sub-endpoint path returns an error or empty response
- Missing required query parameters (e.g. username or tweet ID) causes a failed lookup
- Rate limiting from the underlying RapidAPI Twitter provider results in 429 errors
- Payment not processed correctly via x402 protocol leads to 402 response and no data
- Twitter account is private or suspended, resulting in empty or restricted data
- Incorrect param keys/values produce unexpected or malformed JSON output

## How this service works

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

## Output

A JSON object containing Twitter data corresponding to the requested sub-endpoint — could include user profile fields, tweet arrays with text/engagement metrics, follower lists, or search results depending on the path and params provided.

## 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-data-api-x402-665eae65/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)
