Yoast SEO

Yoast is your go-to resource for everything SEO 🎯 We help you rank your WordPress website

Go to site
Explore
/
Apps
/
Yoast SEO

Yoast SEO API Integrations

Build and run workflows using the Yoast SEO API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    yoast_seo: {
      type: "app",
      app: "yoast_seo",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.yoast_seo.$auth.url}/wp-json/yoast/v1/get_head`,
      auth: {
        username: `${this.yoast_seo.$auth.username}`,
        password: `${this.yoast_seo.$auth.application_password}`,
      },
      params: {
        url: `{replace_with_your_url}`,
      },
    })
  },
})

Authentication

Yoast SEO uses API keys for authentication. When you connect your Yoast SEO account, Pipedream securely stores the keys so you can easily authenticate to Yoast SEO APIs in both code and no-code steps.

Yoast SEO uses the WordPress REST API. Follow these instructions to connect your self hosted Wordpress instance; their authentication credentials will be used to access Yoast SEO API.

This integration requires the Application Passwords plugin to be installed in your Wordpress instance, which allows you to authenticate without having to provide passwords user passwords directly.

The url field below is your WordPress site's domain. For example, if you have a Wordpress.org site hosted at https://example.com, then enter example.com in the url field below.