Google Search Console

Tools and reports help you measure your site's Search traffic

Go to site
Explore
/
Apps
/
Google Search Console

Google Search Console API Integrations

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

Overview

You can use the Google Search Console API to build a variety of tools and applications. Here are a few examples:

  • A tool that fetches data from the Google Search Console API and displays it in a user-friendly interface.
  • A dashboard that visualizes data fetched from the Google Search Console API.
  • A tool that allows users to input a query and receive results from the Google Search Console API in real-time.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    google_search_console: {
      type: "app",
      app: "google_search_console",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/webmasters/v3/sites`,
      headers: {
        Authorization: `Bearer ${this.google_search_console.$auth.oauth_access_token}`,
      },
    })
  },
})

Choose an API to Connect with Google Search Console API

1
-
12
of
1000+
apps by most popular

Authentication

Google Search Console uses OAuth authentication. When you connect your Google Search Console account, Pipedream will open a popup window where you can sign into Google Search Console and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Search Console API.

Pipedream requests the following authorization scopes when you connect your account:

emailprofilehttps://www.googleapis.com/auth/webmastershttps://www.googleapis.com/auth/webmasters.readonly
OAuth Request Configurations:
  1. authorization
    GEThttps://accounts.google.com/o/oauth2/auth?client_id={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope={{oauth.space_separated_scopes}}&access_type=offline&prompt=consent
  2. accessToken
    POSThttps://oauth2.googleapis.com/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}
  3. refreshToken
    POSThttps://oauth2.googleapis.com/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&grant_type=refresh_token&refresh_token={{oauth.refresh_token}}