POST
/
api
/
sources
curl --request POST \
  --url https://local-news.newscatcherapi.com/api/sources \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: <api-key>' \
  --data '{
  "lang": [
    "en",
    "es"
  ],
  "countries": [
    "US",
    "CA"
  ],
  "theme": [
    "Business",
    "Finance"
  ]
}'
{
  "message": "<string>",
  "sources": [
    "<string>"
  ],
  "user_input": {
    "lang": "<string>",
    "countries": "<string>",
    "theme": "<string>"
  }
}

Authorizations

x-api-token
string
header
required

API Key to authenticate requests.

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

Body

application/json

Response

200
application/json
Successful response containing the list of sources

The response model for the Sources request.

Response field behavior:

  • Required fields are guaranteed to be present and non-null.
  • Optional fields may be null/undefined if the data couldn't be extracted during processing.