distribution
Get the top N articles by hits
Get the top N articles by hits.
get/v1/distribution/articles/top_n
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
limitinteger
Number of top articles to return (page size)
pageinteger
Page number (1-based; page size = limit)
start_dateinteger nullable
Start date to filter by (timestamp in seconds since epoch)
end_dateinteger nullable
End date to filter by (timestamp in seconds since epoch)
domain_namesstring[] nullable
List of domain names to filter by
Response
A list of top articles with their hit counts
Changes
No recorded changes to this operation across all 11 revisions of this API.