New to Corsair? See API access, authentication, and error handling.
Articles
everything
articles.everything
Search articles across NewsAPI sources.
Risk: read
GET /v2/everything. Requires q, sources, or domains. from and to take an ISO 8601 date or date-time, searchIn limits the match to title, description and/or content, excludeDomains drops domains. totalResults is returned for paging. A row is stored when url is present.
Output
articles full type
articles full type
headlines
articles.headlines
Read current top headlines.
Risk: read
GET /v2/top-headlines. Needs at least one of q, country, category or sources. sources cannot be combined with country or category. totalResults is returned for paging.
Output
articles full type
articles full type
legacy
articles.legacy
Read articles from the legacy v1 source endpoint.
Risk: read
GET /v1/articles. source is required. The top-level source id (for example bbc-news) is stored as sourceId.
Output
articles full type
articles full type
Sources
list
sources.list
List NewsAPI publishers.
Risk: read
GET /v2/top-headlines/sources. A row is stored when id is present.
Output
sources full type
sources full type