# Sna4an SosMed Twitter API (api45)

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

Queries Twitter/X data via a third-party social media API hub, returning tweet search results or profile data for a given query string.

## Facts

- Endpoint: POST https://sna4an-sosmed-v1.vercel.app/api/twitter-api45?utm_source=zero.xyz
- Price: $0.07/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sna4an-sosmed-twitter-api-api45-c5041bed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n_NzSUnJg1sBC8SJ3RfPn

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-api-api45-c5041bed -d '<json body>'
```

Example prompt: Search Twitter for recent tweets mentioning 'climate change policy' and show me what people are saying about it right now.

## When to prefer this

Choose this endpoint when you need programmatic access to Twitter/X search data without managing a direct Twitter developer account or API keys, and are comfortable paying $0.07 USDC per call via x402 micropayments on Base chain. Best for lightweight, on-demand Twitter searches integrated into automated agent workflows.

## Known failure modes

- Empty results if query returns no matching tweets
- Rate limiting or quota exhaustion from upstream Twitter API provider
- Payment failure if x402 micropayment on Base chain is rejected or insufficient
- Malformed or missing query parameter returns error
- Twitter API upstream downtime or scraping blocks causing 5xx errors
- Stale or cached data if provider caches responses

## 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 search results for the provided query, likely including tweet text, author handles, timestamps, engagement counts (likes, retweets, replies), and possibly user profile metadata. Exact schema varies by underlying Twitter API45 provider implementation.

## 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-api-api45-c5041bed/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)
