Skip to main content
GET
Get search performance

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

read_only

Path Parameters

app_id
string
required

ID of the app.

Query Parameters

days
integer
default:28

Window in days, one of [7, 28, 90]. Default 28.

Response

Search Console numbers, or estimated rankings (source: "estimated_rankings").

source
enum<string>
required

search_console when Search Console is connected, otherwise estimated_rankings.

Available options:
search_console,
estimated_rankings
Example:

"search_console"

days
integer | null

Window in days. Only with search_console.

Example:

28

totals
SearchTotals · object | null

Totals for the window. Only with search_console.

previous_totals
SearchTotals · object | null

Totals for the window before it, or null when Google has no data for it. Only with search_console.

top_queries
SearchQuery · object[] | null

Top queries by clicks. Only with search_console.

Example:
top_pages
SearchPage · object[] | null

Top pages by clicks. Only with search_console.

Example:
note
string | null

Why the numbers are estimates. Only with estimated_rankings.

Example:

"Search Console isn't connected; these are estimated Google rankings."

ranked_keywords
integer | null

Keywords the app ranks for in total, or null. Only with estimated_rankings.

Example:

140

page1_in_sample
integer | null

How many of the app's sampled ranked keywords put it on page one. Only with estimated_rankings.

Example:

6

top
RankedKeyword · object[] | null

Up to 20 of the app's ranked keywords. Only with estimated_rankings.

Example:
cost_usd
number | null

What the lookup cost in US dollars. Only with estimated_rankings.

Example:

0.02