Search articles by links or IDs
Searches for articles using their ID(s) or link(s).
Authorizations
Body
The Newscatcher article ID (corresponds to the _id
field in API response) or a list of article IDs to search for. To specify multiple IDs, use a comma-separated string or an array of strings.
Examples:
"5f8d0d55b6e45e00179c6e7e,5f8d0d55b6e45e00179c6e7f"
["5f8d0d55b6e45e00179c6e7e","5f8d0d55b6e45e00179c6e7f"]
Caution: You can use either the links
or the ids
parameter, but not both at the same time.
[
"5f8d0d55b6e45e00179c6e7e",
"5f8d0d55b6e45e00179c6e7f"
]
The article link or list of article links to search for. To specify multiple links, use a comma-separated string or an array of strings.
Examples:
"https://nytimes.com/article1, https://bbc.com/article2"
["https://nytimes.com/article1", "https://bbc.com/article2"]
Caution: You can use either the links
or the ids
parameter, but not both at the same time.
"https://nytimes.com/article1"
The starting point in time to search from. Accepts date-time strings in ISO 8601 format and plain text strings. The default time zone is UTC.
Formats with examples:
- YYYY-mm-ddTHH:MM:SS:
2024-07-01T00:00:00
- YYYY-MM-dd:
2024-07-01
- YYYY/mm/dd HH:MM:SS:
2024/07/01 00:00:00
- YYYY/mm/dd:
2024/07/01
- English phrases:
1 day ago
,today
"2021/01/01"
The ending point in time to search up to. Accepts date-time strings in ISO 8601 format and plain text strings. The default time zone is UTC.
Formats with examples:
- YYYY-mm-ddTHH:MM:SS:
2024-07-01T00:00:00
- YYYY-MM-dd:
2024-07-01
- YYYY/mm/dd HH:MM:SS:
2024/07/01 00:00:00
- YYYY/mm/dd:
2024/07/01
- English phrases:
1 day ago
,today
"2021/12/31"
The page number to scroll through the results. Use for pagination, as a single API response can return up to 1,000 articles.
For details, see How to paginate large datasets.
x >= 1
2
The number of articles to return per page.
1 <= x <= 1000
50
Response
The response model for the search requests applies to the Search
, Latest Headlines
, Search by link
, and Authors
endpoints. 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. - To access article properties in the
articles
response array, use array index notation. For example,articles[n].title
, wheren
is the zero-based index of the article object (0, 1, 2, etc.). - The
nlp
property within the article objectarticles[n].nlp
is only available with NLP-enabled subscription plans.
The status of the response.
The total number of articles matching the search criteria.
The current page number of the results.
The total number of pages available for the given search criteria.
The number of articles per page.
A list of articles matching the search criteria.
The data model representing a single article in the search results.
The user input parameters for the request.
Was this page helpful?