/v1/sources Request Parameters
GET https://newscatcher.p.rapidapi.com/v1/sources?lang=en&country=US&topic=politics
Return a JSON comma-separated list of sources.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
lang | string | OPTIONAL |
STRING
Specifies the language of the search. Allowed values are:
af, ar, bg, bn, ca, cn, cs, cy, da, de, el, en, es, et, fa, fi, fr, gu, he, hi, hr, hu, id, it, ja, kn, ko, lt, lv, mk, ml, mr, ne, nl, no, pa, pl,pt, ro, ru, sk, sl, so, sq, sv, sw, ta, te, th, tl, tr, tw, uk, ur, vi.
Specifying the language will make your search more relevant
|
| country | string | | OPTIONAL
STRING
The country to which you want to narrow your search. This parameter is [experimental]. We advise you to use it in conjunction with the lang parameter. Accepts any ISO 3166-1 alpha-2 codes |
| topic | string | | OPTIONAL
STRING
The topic to which you want to restrict the articles of your choice. This parameter is [experimental]. Accepted values are news, sport, tech, world, finance, politics, business, economics, entertainment
newsusually means a general news feed (main headlines of a website).
> Important: this parameter is [experimental]. Not all news articles are assigned with a topic, therefore, we cannot guarantee that 100% of topics talking about technology will be assigned a tech label.
> One topic at a time, for example topic=sport |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
x-rapidapi-key | string | REQUIRED |
STRING
Your Rapid API key |
| Content-Type | string | | OPTIONAL
STRING
Output as JSON |
RESPONSES
status: OK
["bloomberg.com","nationalreview.com","washingtonpost.com","thedailybeast.com","cnn.com","reuters.com","cbsnews.com","nymag.com"]