# Twitter Trending Topics API

> Twitter Trending Topics API 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).

Fetches trending topics on Twitter/X, optionally filtered by a search query, via micropayment-gated API.

## Facts

- Endpoint: POST https://sna4an-sosmed-v1.vercel.app/api/twitter-trending?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/twitter-trending-topics-api-52bdcd09
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OMZiXRmleYHQbMfiZoPtj

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 twitter-trending-topics-api-52bdcd09 -d '<json body>'
```

Example prompt: What topics and hashtags are currently trending on Twitter related to cryptocurrency?

## When to prefer this

Choose this endpoint when you need real-time Twitter/X trending topic data within an agent workflow that already supports x402 micropayments on Base chain. It is well-suited for social listening, content strategy, and news monitoring use cases where low per-call cost ($0.07 USDC) is preferable to a monthly Twitter API subscription.

## Known failure modes

- Empty or vague query returns broad unfiltered trends which may not be relevant
- Twitter/X API rate limits or data freshness issues may affect result accuracy
- Payment failure on Base chain (x402) results in 402 response and no data
- Malformed query string may return empty results or an error object
- Trend data may be region-agnostic with no location filtering available

## 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 structured object containing current trending topics and/or hashtags on Twitter/X, potentially filtered by the provided query string. May include trend names, volume indicators, and related metadata depending on the underlying data source.

## 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/twitter-trending-topics-api-52bdcd09/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)
