The Guardian Content API
Search and retrieve Guardian content items
The Guardian Content API is one of 5 APIs that The Guardian publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Content. The published artifact set on APIs.io includes an OpenAPI specification.
This API exposes 2 operations across 2 paths, and defines 5 schemas. It is described by OpenAPI 3.0.3, at version 2.0.0.
Requests are made against a single base URL, https://content.guardianapis.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
The Guardian Content API declares
1 security scheme
for authenticating requests.
An API key is passed in the query as api-key (apiKeyQuery).
By default, every request must be authenticated.
apiKeyQuery— API key obtained from https://open-platform.theguardian.com/access/. A test key 'test' is available for development.
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.
Search and retrieve Guardian content items
Schemas 5
The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are ContentItem (13 properties), Tag (8 properties), ItemResponse (1 property), ErrorResponse (1 property). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from The Guardian 4
Other APIs The Guardian publishes across the network.