Home Plugins wp rest yoast meta
WP REST Yoast Meta logo

WP REST Yoast Meta

by Acato on WordPress.org

Adds meta tags as generated by Yoast SEO to the WP REST API. And adds a custom endpoint to retrieve all redirects as they are set in Yoast SEO Premium …

(6)
The WP REST API output for the Hello World post example.

The WP REST API output for the Hello World post example.

This plugin is no longer updated, but is open for adoption
As of Yoast SEO version 16.7 the functionality provided by this plugin is now part of the Yoast SEO plugin itself. This plugin will no longer be updated, but is open for adoption. If you are interested in adopting this plugin, please contact the authors.

Are you using WordPress for a headless set-up, using the WP REST API? And would you like to use the Yoast SEO plugin just like you would for any other project? This plugin adds the meta tags generated by the Yoast SEO plugin to the WP REST API output, allowing your headless set-up to implement them. Also when you are using Yoast SEO Premium you have the option to retrieve redirects throught the API: this plugin adds a custom endpoint (/wp-rest-yoast-meta/v1/redirects) to provide those redirects in a JSON format. Since Yoast 11.0 JSON LD Schema.org data is also supported and is now also available through the WP REST API when using this plugin.

Installation from within WordPress

  1. Visit ‘Plugins > Add New’ (or ‘My Sites > Network Admin > Plugins > Add New’ if you are on a multisite installation).
  2. Search for ‘WP REST Yoast Meta’.
  3. Activate the WP REST Yoast Meta plugin through the ‘Plugins’ menu in WordPress.

Installation manually

  1. Upload the wp-rest-yoast-meta folder to the /wp-content/plugins/ directory.
  2. Activate the WP REST Yoast Meta plugin through the ‘Plugins’ menu in WordPress.
Active installations1K+
Weekly downloads
59-26.25%
Version2025.1.0
Last updated1/23/2025
WordPress version4.7
Tested up to5.7.12
PHP version5.4
Tags
adopt-meapiWP-RESTwp-rest-apiYoast