# Sna4an SosMed Twitter/X Data API (x-com2)

> Sna4an SosMed Twitter/X Data API (x-com2) is a paid API for AI agents from sna4an-sosmed-v1.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-13).

Fetches Twitter/X social media data (tweets, profiles, analytics, or search results) via a query string, paid per-call via x402 micropayments on Base chain.

## Facts

- Endpoint: POST https://sna4an-sosmed-v1.vercel.app/api/x-com2?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sna4an-sosmed-twitter-x-data-api-x-com2-266713bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4EPBBaENOqjflKe34Iwja

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-sosmed-twitter-x-data-api-x-com2-266713bd -d '<json body>'
```

Example prompt: Can you pull the latest tweets and follower count for the Twitter account @elonmusk using the Sna4an SosMed x-com2 endpoint?

## When to prefer this

Choose this endpoint when you need Twitter/X social data (profiles, tweets, search) and want a pay-per-call model via crypto micropayments (x402/USDC on Base) rather than managing Twitter API credentials directly. Best for agents that need on-demand Twitter lookups without a long-term subscription.

## Known failure modes

- Invalid or empty query string returns an empty or error response
- Twitter/X account not found or suspended results in null data
- Rate limiting or upstream Twitter API restrictions may cause failures
- Payment failure on Base chain (x402) blocks the request entirely
- Ambiguous query may return unexpected or mismatched results

## 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 relevant to the query — which may include user profile fields (username, bio, follower/following counts), tweet content, engagement metrics (likes, retweets, replies), or search result listings depending on what query was sent.

## 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/sna4an-sosmed-twitter-x-data-api-x-com2-266713bd/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)
