Tracked searches
const url = 'https://digize.com/api/v1/analytics/seo/keywords?days=90';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://digize.com/api/v1/analytics/seo/keywords?days=90' \ --header 'x-api-key: <x-api-key>'The Google searches the team tracks, with where each showed on average over the last 7 days and the 7 before, its clicks and impressions, and its position day by day over 28, 90 or 180 days, from Search Console. Without Search Console connected the searches are listed with unavailable saying so.
Needs the analytics:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Done
object
object
Where it showed on average over the last 7 days, 1 being the top; null when it didn’t show.
The same over the 7 days before.
Places gained since the 7 days before; negative when it fell.
Over the whole range.
Each day it showed, oldest first.
object
Example
{ "unavailable": { "reason": "not_connected" }}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}