The Guardian Sections API
Browse Guardian sections
The Guardian Sections 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 Sections. The published artifact set on APIs.io includes an OpenAPI specification.
This API exposes 1 operation across 1 path, and defines 2 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 Sections 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 1
Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.
Browse Guardian sections
Schemas 2
The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Section (5 properties), SectionsResponse (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.