# Sna4an SosMed X/Twitter API

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

Queries Twitter/X data (tweets, profiles, trends, etc.) via a social media API hub protected by x402 micropayments on Base chain

## Facts

- Endpoint: POST https://sna4an-sosmed-v1.vercel.app/api/x-twitter-api?utm_source=zero.xyz
- Price: $0.08/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-x-twitter-api-846b729d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lCZLWWn8aStLIri9of1EL

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-x-twitter-api-846b729d -d '<json body>'
```

Example prompt: Search Twitter/X for the latest tweets mentioning 'AI agents' so I can see what people are saying about it right now.

## When to prefer this

Choose this endpoint when you need Twitter/X data without direct Twitter API credentials, are operating in a micropayment-native (x402/Base chain) environment, or need one of 126 social media endpoints from a single hub provider at a low per-call cost of $0.08 USDC.

## Known failure modes

- Invalid or empty query string returns an error
- Upstream Twitter/X API rate limits or outages cause failures
- x402 payment failure on Base chain blocks the request
- No results found for obscure or very recent queries
- Ambiguous query may return irrelevant tweets

## 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, engagement metrics, and related metadata, though the exact shape is unspecified in the schema.

## 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-x-twitter-api-846b729d/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)
