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

Yoast Pages API

WordPress page SEO metadata via WP REST API

Yoast Pages API is one of 6 APIs that Yoast publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Pages. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://{site}/wp-json.

2 operations 2 paths 2 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://{your-site}/wp-json
License
Resource Areas
1

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.

Pages 2

WordPress page SEO metadata via WP REST API

GET
/wp/v2/pages
List Pages With SEO Data
listPagesWithSeo 3 params → 200
GET
/wp/v2/pages/{id}
Get Page With SEO Data
getPageWithSeo 1 param → 200404

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are SeoMetadata (19 properties), PageWithSeo (10 properties). Each schema is shown below with its type and property counts.

PageWithSeo
object
WordPress page with Yoast SEO metadata
10 properties
SeoMetadata
object
Structured SEO metadata for a URL
19 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

yoast-pages-api-openapi.yml Raw ↑

Other APIs Yoast publishes across the network.

Yoast Surfaces API
Yoast Metadata API
Yoast Schema API
Yoast Posts API
Yoast SEO Head API