GET /news/local
Get news about a specific city, region, or area. The API automatically appends "local news" to your query to focus results on local sources.
All requests require RapidAPI authentication headers.
Quick Example
curl -X GET "https://fast-news-with-previews.p.rapidapi.com/news/local?query=Tokyo&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 |
|---|---|---|---|---|
query | string | Yes | -- | Area, city, or region name, e.g. "Tokyo", "New York", "Scotland" (1-100 characters) |
language | string | No | en | Language code, e.g. en, de, ja (2-5 characters) |
geo | string | No | all | Country/region code for additional localization, e.g. 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 |
Response
Same article format as all news endpoints. The topic field is always empty.
More Examples
# Local news with geo and timeframe
curl -X GET "https://fast-news-with-previews.p.rapidapi.com/news/local?query=Berlin&language=de&geo=DE&timeframe=last_7d" \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
-H "x-rapidapi-host: fast-news-with-previews.p.rapidapi.com"
# US city with higher limit
curl -X GET "https://fast-news-with-previews.p.rapidapi.com/news/local?query=Austin+Texas&language=en&limit=15" \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
-H "x-rapidapi-host: fast-news-with-previews.p.rapidapi.com"
Notes
- The API appends "local news" automatically — don't include it yourself
- Results may include news from nearby areas, not just the exact location
- For best results, pair
querywith a matchinggeocode (e.g.,query=Munich&geo=DE)
Errors
400— missingquery503— search backend temporarily unavailable