Skip to main content

Base URL

Append the endpoint path to this base URL for every request. There is no sandbox environment — all requests run against production.

Authentication

Pass your API key in the x-api-token header on every request:
For implementation examples in all supported languages, see Authentication.

Request format

All endpoints support both GET and POST. When using POST, set Content-Type: application/json and pass parameters in the JSON request body.
For most production integrations, POST is the better choice — it avoids URL length limits and keeps parameters out of server logs and browser history.

Response format

All endpoints return JSON with the following top-level envelope:
The articles array contains the matched article objects. The full schema is available in each endpoint reference. The response also includes a user_input object that echoes the specified parameters and defaults as interpreted by the API — useful for debugging unexpected results.

Pagination

Two parameters control pagination: A query can return at most 10,000 articles per request. If total_hits is 10000, the actual match count is likely higher. To learn how to retrieve beyond this limit, see Retrieve large datasets.

Rate limits

Rate limits vary by subscription plan. Exceeding your limit returns a 429 status code. For plan-specific limits and retry guidance, see Rate limits.

Errors

All error responses use a consistent JSON envelope:
For the full list of status codes and resolution steps, see Errors.

Endpoints

News API provides the following endpoints. All endpoints support both GET and POST methods.