The Historical News API can be used to query news articles over any user specified timeframe.
GET {{baseUrl}}/api/Historical?content=TSLA
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
content | string | (Required) Find articles with the specified content present in the title, description, keywords or content | |
topics | string | Comma seperated string of topics used to filter article results | |
sources | string | Comma seperated string of news sources used to filter article results | |
lang | string | Comma seperated string of languages used to filter article results. ISO 639-1 — 2 format | |
notLang | string | Comma seperated string of languages to be excluded in the search. ISO 639-1 — 2 format | |
countries | string | Comma seperated string of countries used to filter article results. ISO 3166-1 alpha-2 format | |
size | number | The maximum number of entries to return in the response. defaults to 100. | |
page | number | The selected page number. | |
date | string | Only returns articles with the published timestamp from this date. Format yyyy-MM-dd. | |
from | string | Search for articles starting from this date. Format yyyy-MM-dd. | |
to | string | Search for articles up to this date. Format yyyy-MM-dd. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"Articles":{"Id":"f86ffb75-3a3e-430c-a8d0-d89755f87d05","Timestamp":"2022-03-04T10:30:47+00:00","Title":"Stoltenberg to leave NATO after battle to keep US in and Russia out - Yahoo News","Description":"NATO's outgoing leader Jens Stoltenberg will leave the alliance late this year after a diplomatic battle to hold it together against outside threats and the clashing egos of its national leaders.","Authors":["reprehenderit sit","ea dolo"],"Content":"NATO's outgoing leader Jens Stoltenberg will leave the alliance late this year after a diplomatic battle to hold it together against outside threats and the clashing egos of its national leaders. From December, the 62-year-old economist will again wrestle with balance sheets in his new role as head of Norway's central bank, after eight years of high international drama. Stoltenberg's extended mandate presiding over the alliance has not been an easy period for NATO since he took over in 2014, and independent observers credit the former Norwegian prime minister with holding the alliance together.","Keywords":["commodo qui Ut","officia"],"Topic":"SPORTS","Thumbnail":"https://s.yimg.com/uu/api/res/1.2/D5paxUZkP0F0WbQDnXkVRQ--~B/aD01MTI7dz03Njg7YXBwaWQ9eXRhY2h5b24-/https://media.zenfs.com/en/afp.com/c8061e841e4ab8e25aade33c912a435c","PublisherName":"Yahoo News","PublisherHostAddress":"news.yahoo.com","ArticleURL":"https://news.yahoo.com/stoltenberg-leave-nato-battle-keep-131737480.html","Language":"en","Country":"US","Opinion":"false"},"CurrentPage":-5230088,"TotalPages":84158296,"PageSize":68112241}