Install
openclaw skills install ai-news-feedQuery the AI News Feed API for real-time AI/ML news from 57+ curated Twitter/X accounts. Use when the user asks about AI news, trending AI topics, what's hap...
openclaw skills install ai-news-feedQuery pre-aggregated, LLM-enriched AI/ML news from 57+ Twitter/X accounts. Data is updated every 2 hours.
Before making any API call, check if the user has a RapidAPI key configured. If not, guide them through these steps:
X-RapidAPI-Key will be auto-filled in the code snippets on the right side. Copy it.RAPIDAPI_KEY)All requests must include these headers:
X-RapidAPI-Key: <user's own key from step 3>
X-RapidAPI-Host: twitter-ai-news-feed.p.rapidapi.com
Base URL: https://twitter-ai-news-feed.p.rapidapi.com
Response format: All endpoints return JSON. See references/api-spec.md for full response schemas.
GET /v1/feedLatest posts sorted by recency.
| Param | Type | Default | Description |
|---|---|---|---|
lang | en | zh | en | Response language |
limit | 1-100 | 20 | Number of posts |
offset | int | 0 | Pagination |
tags | string | — | Comma-separated filter: paper, model_release, funding, product_launch, opinion, tutorial, benchmark, open_source, regulation, industry |
min_importance | 1-10 | — | Minimum importance score |
since | unix ts | — | Posts after this timestamp |
Example: GET /v1/feed?lang=zh&limit=5&tags=model_release,paper&min_importance=7
GET /v1/feed/trendingTop posts ranked by importance within a time window.
| Param | Type | Default | Description |
|---|---|---|---|
lang | en | zh | en | Response language |
limit | 1-50 | 10 | Number of posts |
hours | 1-168 | 24 | Time window (168 = 7 days) |
Example: GET /v1/feed/trending?lang=zh&hours=48&limit=10
GET /v1/accountsList all 57+ monitored accounts.
| Param | Type | Description |
|---|---|---|
category | official | researcher | media | kol | Filter by category |
GET /v1/accounts/{handle}/postsPosts from a specific account (e.g. /v1/accounts/karpathy/posts).
| Param | Type | Default | Description |
|---|---|---|---|
lang | en | zh | en | Response language |
limit | 1-100 | 20 | Number of posts |
offset | int | 0 | Pagination |
GET /v1/tagsAll tags with post counts. No parameters.
GET /healthReturns {"status": "ok", "timestamp": "..."}.
Each post in the response contains:
content — Original tweet textsummary — One-line LLM summary (language follows lang param)description — Detailed 2-4 sentence LLM analysis (language follows lang param)tags — Array of topic tagsimportance — Score 1-10 (composite of LLM analysis + engagement metrics)metrics — {likes, retweets, replies, views}tweetUrl — Link to original tweettweetedAt — ISO 8601 publish time (UTC, convert to user's local timezone before displaying)account — {handle, name, category}For complete JSON schemas, see references/api-spec.md.
Example curl (replace YOUR_KEY with the user's RapidAPI key):
curl "https://twitter-ai-news-feed.p.rapidapi.com/v1/feed/trending?lang=zh&limit=5" \
-H "X-RapidAPI-Key: YOUR_KEY" \
-H "X-RapidAPI-Host: twitter-ai-news-feed.p.rapidapi.com"
GET /v1/feed/trending?lang=zh&hours=24&limit=10GET /v1/feed?tags=model_release&min_importance=5GET /v1/accounts/karpathy/posts?lang=zhGET /v1/feed?tags=funding&min_importance=6GET /v1/feed/trending?hours=168&limit=20&lang=en