Yoast REST API

The Yoast REST API returns all SEO metadata (meta tags, Schema.org JSON-LD, canonical URLs, Open Graph, Twitter Card data, and robots directives) for any URL or post on a WordPress site. It extends the native WordPress WP-JSON REST API and also provides a dedicated endpoint at /yoast/v1/get_head. The API is read-only and designed for headless WordPress implementations.

OpenAPI Specification

yoast-rest-openapi.yml Raw ↑