NewsAPI Everything API
Search all articles from all sources
NewsAPI Everything API is one of 3 APIs that NewsAPI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 3 JSON Schema definitions.
Tagged areas include Everything. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 3 JSON Schemas.
This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 2.
Requests are made against a single base URL, https://newsapi.org/v2.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 3
NewsAPI Everything API declares
3 security schemes
for authenticating requests.
An API key is passed in the header as X-Api-Key (apiKeyHeader).
An API key is passed in the query as apiKey (apiKeyQuery).
It accepts HTTP bearer tokens (bearerAuth).
By default, every request must be authenticated.
apiKeyHeader— API key passed via X-Api-Key HTTP headerapiKeyQuery— API key passed as a query parameterbearerAuth— API key passed as a Bearer token. Note: the Bearer prefix is optional and the key should NOT be base64 encoded.
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.
Search all articles from all sources
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Article (8 properties), ErrorResponse (3 properties), ArticlesResponse (3 properties), Source (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from NewsAPI 2
Other APIs NewsAPI publishes across the network.