GET /news/topic
Browse news from 11 predefined topic categories with automatic translation into 40+ languages. Combine two topics in a single request.
All requests require RapidAPI authentication headers.
Quick Example
curl -X GET "https://fast-news-with-previews.p.rapidapi.com/news/topic?topic1=technology&language=en" \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
-H "x-rapidapi-host: fast-news-with-previews.p.rapidapi.com"
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
topic1 | string | Yes | -- | Primary topic category (see accepted values below) |
topic2 | string | No | -- | Secondary topic category, combined with topic1 (see accepted values below) |
language | string | No | en | Language code, e.g. en, de, ja (2-5 characters) |
geo | string | No | all | Country/region code for localized results, e.g. US, DE, JP |
limit | integer | No | 10 | Max articles to return (1-100) |
timeframe | string | No | anytime | Time filter: last_1h, last_24h, last_48h, last_7d, last_30d, anytime |
Accepted Topics
| Value | Description |
|---|---|
world | International news |
national | Domestic news |
business | Business and finance |
technology | Tech industry |
entertainment | Entertainment and culture |
sports | Sports |
science | Scientific research |
health | Health and medicine |
politics | Political news |
economy | Economic news |
environment | Environmental news |
Topic names are automatically translated to the specified language. For example, topic1=sports with language=de searches for "sport" instead of "sports".
Response
Same article format as all news endpoints. The topic field is always empty (categories are predefined, not user-specified).
More Examples
# Combine two topics
curl -X GET "https://fast-news-with-previews.p.rapidapi.com/news/topic?topic1=technology&topic2=business&language=en" \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
-H "x-rapidapi-host: fast-news-with-previews.p.rapidapi.com"
# Topic in German with limit
curl -X GET "https://fast-news-with-previews.p.rapidapi.com/news/topic?topic1=sports&language=de&limit=15" \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
-H "x-rapidapi-host: fast-news-with-previews.p.rapidapi.com"
# With timeframe
curl -X GET "https://fast-news-with-previews.p.rapidapi.com/news/topic?topic1=politics&language=en&timeframe=last_7d" \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
-H "x-rapidapi-host: fast-news-with-previews.p.rapidapi.com"
Notes
- When
topic2is provided, both topics are combined with a space (e.g.,technology+businesssearches for "technology business")
Errors
400— missingtopic1, or invalid topic value503— search backend temporarily unavailable