Did you know Yoast SEO comes with a REST API that developers can use to access our metadata in a headless WordPress installation? By exposing this data, we help developers make sure that the SEO of the site you built in your headless CMS is top-notch. In Yoast SEO 16.7, we’re making more data available and also in a different format: JSON. That’s not all because we’ve also built an Algolia integration for Premium customers.
Control the metadata output of your headless CMS
As you might know, a headless CMS comes with a back-end and data storage. There’s no front-end, so you are free to use modern web technologies to build one to your own specifications. While there are many custom headless CMSs, it’s also possible to turn good old WordPress into a headless CMS if you want to do that.
A headless CMS is cool and all, but working on your SEO becomes a slightly different thing. For one, not all headless CMSs come with dedicated SEO tools. You have to really think about SEO from the start of your project, or you could run into issues later on. Still, if you are using the CMS many people know and love — WordPress —, you can use Yoast SEO. But keep in mind, many other plugins will lose their functionality in a headless environment.
Yoast SEO is essential for headless WordPress
Yoast SEO takes care of many technical SEO aspects and it helps you produce awesome content that ranks in the search engines — even on headless WordPress installs. With the Yoast SEO REST API, we help developers using headless WordPress as their backend to make sure that these settings and metadata are properly translated to the front-end of your site.
Our REST API sends all that data and makes it available in the section of your pages. This includes all OpenGraph data, Schema.org structured data, crawling directives, and more. This makes it very easy for headless WordPress sites to use Yoast SEO to manage all of their SEO.
In Yoast SEO 16.7, we’ve expanded support for headless WordPress. We’ve made the metadata available in the head section as a JSON object for you to use. Our upgraded REST API now includes individual keys/values for our meta tags, data, and Schema output.
You can learn more about the Yoast SEO REST API in our developer documentation.
Don’t forget to sign up for our upcoming webinar if you want to learn more about headless CMSs.

})(jQuery);