Pagination
List endpoints use limit and offset.
| limit | Page size. Articles and events: 1 to 200 (default 50). Search: 1 to 100 (default 20). |
| offset | Number of records to skip. Default 0. |
Ordering
Ordering is deterministic, so paging is stable:
- Articles:
published_atdescending. - Events:
source_countdescending, thenlast_seen. - Search: relevance score descending, then
published_at.
Example
curl "https://api.kontextnews.online/v1/articles?limit=50&offset=100" \ -H "X-API-Key: kn_live_..."
Iterate, increasing offset by limit each time, until you receive fewer rows than limit.