Skip to content

Searches worth working on

GET
/api/v1/search-console/opportunities
curl --request GET \
--url 'https://digize.com/api/v1/search-console/opportunities?device=desktop&live=false&limit=20' \
--header 'x-api-key: <x-api-key>'

Searches a page almost ranks for (average position 5 to 20 with real impressions), which a better page could lift to where people click, and searches on Google’s first page clicked under half as often as their position usually is, which a better title or description could fix. Each with its page, its numbers and the clicks it’s missing, over the latest 28 days unless asked, for one page, device or country if asked.

Needs the analytics:read permission.

page

Only this page’s searches: its address, or its path.

string
<= 2000 characters

Only this page’s searches: its address, or its path.

startDate

The first day, on Search Console’s clock (Pacific time). Left out, 27 days before endDate.

string
/^\d{4}-\d{2}-\d{2}$/

The first day, on Search Console’s clock (Pacific time). Left out, 27 days before endDate.

endDate

The last day. Left out, the latest Search Console has, two or three days ago.

string
/^\d{4}-\d{2}-\d{2}$/

The last day. Left out, the latest Search Console has, two or three days ago.

device
string
Allowed values: desktop mobile tablet
country

Search Console’s three-letter country code: usa, gbr, deu.

string
/^[a-z]{3}$/

Search Console’s three-letter country code: usa, gbr, deu.

live

Ask Search Console now even when the last sync’s 28 days would answer. The sync keeps the 500 most clicked searches, each with only the page it led to most, so asking live reaches rarer searches and every page a search shows.

boolean

Ask Search Console now even when the last sync’s 28 days would answer. The sync keeps the 500 most clicked searches, each with only the page it led to most, so asking live reaches rarer searches and every page a search shows.

minImpressions

The impressions a search needs over the days to count. Left out, 50 for almost ranking and 100 for a low click rate per 28 days, scaled to the days.

integer
>= 1 <= 10000000

The impressions a search needs over the days to count. Left out, 50 for almost ranking and 100 for a low click rate per 28 days, scaled to the days.

limit

The most of each kind.

integer
default: 20 >= 1 <= 100

The most of each kind.

Done

Media typeapplication/json
object
property
required
string
source
required
string
Allowed values: stored live
startDate
required
string
endDate
required
string
minImpressions
required

The impressions a search needed over the days to count.

object
almostRanking
required
number
lowCtr
required
number
almostRanking
required

Searches at positions 5 to 20, the most clicks to gain first: a better page, more about the search, or links to it could lift it to where people click.

Array<object>
object
query
required

Null in rows by page.

string | null
url
required
string
host
required
string
path
required
string
clicks
required
number
impressions
required
number
ctr
required

Clicks over impressions, 0 to 1.

number
position
required

Where the result sat on average, 1 being the top.

number
expectedCtr
required

The click rate a result usually gets at its position.

number
extraClicks
required

The clicks it would gain at third place.

number
lowCtr
required

Searches on Google’s first page clicked under half as often as their position usually is, the most clicks missed first: the page’s title and description don’t win the click.

Array<object>
object
query
required

Null in rows by page.

string | null
url
required
string
host
required
string
path
required
string
clicks
required
number
impressions
required
number
ctr
required

Clicks over impressions, 0 to 1.

number
position
required

Where the result sat on average, 1 being the top.

number
expectedCtr
required

The click rate a result usually gets at its position.

number
extraClicks
required

The clicks its position usually gets, less its own.

number
searches
required

How many searches were looked at.

number
note
required
string | null

Example

{
"source": "stored"
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}