Search articles by identifiers
Search for local news using article links, IDs, or RSS GUIDs.
Authorizations
Body
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://example.com/article1, https://example.com/article2"
["https://example.com/article1", "https://example.com/article2"]
Note: You can use the links
parameter in combination with ids
or rss_guids
,
but at least one of these parameters must be provided.
The Newscatcher article ID (see 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:
"1234567890abcdef, abcdef1234567890"
["1234567890abcdef", "abcdef1234567890"]
Note: You can use the ids
parameter in combination with links
or rss_guids
,
but at least one of these parameters must be provided.
The RSS GUID (Globally Unique Identifier) or list of GUIDs to search for. To specify multiple GUIDs, use a comma-separated string or an array of strings.
GUIDs are unique identifiers assigned to RSS feed items. They are often URLs or other unique strings.
Examples:
"https://example.com/article1,https://example.com/article2"
["https://example.com/article1", "https://example.com/article2"]
"1234567890abcdef,abcdef1234567890"
Note: You can use the rss_guids
parameter in combination with links
or ids
,
but at least one of these parameters must be provided.
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-09-24T00:00:00
- YYYY-MM-dd:
2024-09-24
- YYYY/mm/dd HH:MM:SS:
2024/09/24 00:00:00
- YYYY/mm/dd:
2024/09/24
- English phrases:
1 day ago
,today
Note: By default, applied to the publication date of the article.
To use the article's parse date instead, set the by_parse_date
parameter to true
.
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-09-25T00:00:00
- YYYY-MM-dd:
2024-09-25
- YYYY/mm/dd HH:MM:SS:
2024/09/25 00:00:00
- YYYY/mm/dd:
2024/09/25
- English phrases:
1 day ago
,today
,now
Note: By default, applied to the publication date of the article.
To use the article's parse date instead, set the by_parse_date
parameter to true
.
The page number to scroll through the results. This parameter is used to paginate: scroll through results because one API response cannot return more than 1000 articles.
x > 1
The number of articles to return per page.
Range: 1
to 1000
.
1 < x < 1000
Response
The response model for the Search
, Latest headlines
,
and Search by
requests, including search results and metadata.
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 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 user input parameters for the search.
Was this page helpful?