GET
/
sources
curl --request GET \
  --url https://api.newscatcherapi.com/v2/sources \
  --header 'x-api-key: <api-key>'
{
  "message": "<string>",
  "sources": [
    "<string>"
  ],
  "user_input": {
    "lang": [
      "<string>"
    ],
    "countries": [
      "<string>"
    ],
    "topic": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

API Key to authenticate requests.

To access the API, include your API key in the x-api-key header. To obtain your API key, complete the form or contact us directly.

Query Parameters

lang
enum<string>

Specifies the languages of the search. For example: en. The only accepted format is ISO 639-1 — 2 letter code.

Available options:
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
Example:

"en"

countries
string

Countries where the news publisher is located. One or multiple countries can be used in the search. The only acceptable format is ISO 3166-1 alpha-2 For example, US,CA,MX or just US

Important: This parameter is not responsible for the countries mentioned in the news article.

Example:

"US,CA"

topic
enum<string>

The topic to which you want to restrict the articles of your choice. 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.

Available options:
news,
sport,
tech,
world,
finance,
politics,
business,
economics,
entertainment,
beauty,
travel,
music,
food,
science,
gaming
Example:

"business"

Response

200
application/json
OK

The response for a successful sources request.

message
string

The message of the response.

sources
string[] | null

The list of sources returned by the request.

user_input
object

The user input for a sources request.