Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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.

1 operations 1 paths 4 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2
Base URL
https://newsapi.org/v2
Authentication
API Key, API Key, HTTP Bearer
Terms of Service
Resource Areas
1

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 header
  • apiKeyQuery — API key passed as a query parameter
  • bearerAuth — 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.

Everything 1

Search all articles from all sources

GET
/everything
Search all articles
getEverything 12 params → 200400401429500

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.

Source
object
The news source or blog that an article originated from
2 properties
Article
object
A news article
8 properties
ArticlesResponse
object
Response containing a list of articles
3 properties
ErrorResponse
object
Error response
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

newsapi-everything-api-openapi.yml Raw ↑

Other APIs NewsAPI publishes across the network.

NewsAPI Sources API
NewsAPI Top Headlines API