Get the index counts underlying AskNews
This endpoint is primarly used for the publisher dashboard, to show the number of articles indexed per source.
Request
- Base URLhttps://api.asknews.app
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Start timestamp to filter by
End timestamp to filter by
Domain or list of domains to get indexing counts for
Sampling to use
Control which date type to filter on. 'crawl_date' is the date the article was crawled, 'pub_date' is the date the article was published.
Categories of news to filter on
Filter articles based on how provocative they are deemed based on the use of provocative language and emotional vocabulary.
Type of reporting voice to filer by.
maximum allowed pagerank for returned articles
If defined, the search will only occur on articles that contain this string.
Operator to use for string guarantee.
If defined, the search will only occur on articles that do not contain this string.
Entity guarantee to filter by. This is a list of strings, where each string includes entity type and entity value separated by a colon. The first element is the entity type and the second element is the entity value. For example ['Location:Paris', 'Person:John']
Operator to use for entity guarantee.
Languages to filter by. This is the two-letter 'set 1' of the ISO 639-1 standard. For example: English is 'en'.
Source countries to filter by (this is only for the publisher location, not the locations mentioned in articles. For Locations mentioned in articles, refer to entity_guarantee), countries must be the two-letter ISO country codeFor example: United States is 'US', France is 'FR', Sweden is 'SE'.
Source countries to blacklist from search (this is only for the publisher location, not the locations mentioned in articles. For Locations mentioned in articles, refer to reverse_entity_guarantee), countries must be the two-letter ISO country codeFor example: United States is 'US', France is 'FR', Sweden is 'SE'.
Continents to filter by
Sentiment to filter news articles by.
Response
A time-series for distribution of index counts for domains.
Changes
No recorded changes to this operation across all 11 revisions of this API.