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

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.

1 operations 1 paths 2 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0.0
Base URL
https://content.guardianapis.com/
Authentication
API Key
Terms of Service
Resource Areas
1

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.

Sections 1

Browse Guardian sections

GET
/sections
List all sections
getSections 1 param → 200

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.

SectionsResponse
object
1 property
Section
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

guardian-sections-api-openapi.yml Raw ↑

Other APIs The Guardian publishes across the network.

The Guardian Content API
The Guardian Content API
The Guardian Editions API
The Guardian Tags API