Skip to main content

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

ParameterTypeRequiredDefaultDescription
topic1stringYes--Primary topic category (see accepted values below)
topic2stringNo--Secondary topic category, combined with topic1 (see accepted values below)
languagestringNoenLanguage code, e.g. en, de, ja (2-5 characters)
geostringNoallCountry/region code for localized results, e.g. US, DE, JP
limitintegerNo10Max articles to return (1-100)
timeframestringNoanytimeTime filter: last_1h, last_24h, last_48h, last_7d, last_30d, anytime

Accepted Topics

ValueDescription
worldInternational news
nationalDomestic news
businessBusiness and finance
technologyTech industry
entertainmentEntertainment and culture
sportsSports
scienceScientific research
healthHealth and medicine
politicsPolitical news
economyEconomic news
environmentEnvironmental 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 topic2 is provided, both topics are combined with a space (e.g., technology + business searches for "technology business")

Errors

  • 400 — missing topic1, or invalid topic value
  • 503 — search backend temporarily unavailable