Skip to main content
This guide gets you from zero to your first Bonai News API request. You’ll need an API key from the Bonai console. See getting started if you don’t have one yet.

Search for articles

The GET /search/articles endpoint is the fastest way to get results:
The response is paginated:
Add filters to narrow results:
  • query (required): the search text.
  • language: ISO language code, for example en.
  • country: country code, for example us.
  • publisher: filter by a publisher’s URL.
  • paywall: filter by paywall status (true or false).
  • from / to: date range for published articles.
  • sort: relevance or date.
  • page / limit: pagination. limit defaults to 25 and is capped by your plan.

Next steps