Keylime Toolbox

Keylime Toolbox API

The Keylime Toolbox API provides programmatic access to metrics from your Keylime Toolbox reports:

In addition you can get a list of your reporting groups and the individual properties aggregated into each reporting group as available in your Keylime Toolbox reporting group settings.

The API is designed with resource-oriented URLs following REST so that they should be reasonable and expected. The API uses standard HTTP verbs and parameters that can be implemented with any HTTP client.

If you have any questions or need assistance using the API please reach out to us.

  1. Details
  2. Parameters
  3. Authentication
  4. Common Errors
  5. HTTP Redirects
  6. HTTP Verbs
  7. Resources
    1. Reporting Group
      1. List all reporting groups
    2. Property
      1. List properties within a reporting group
    3. Dates of metrics
      1. Dates of metrics for properties
      2. Dates of metrics for reporting groups
    4. Aggregate Google Search Console Metrics
      1. Get aggregated query metrics for a reporting group for a day
      2. Get aggregated URL metrics for a reporting group for a day
      3. Get aggregated Query+URL metrics for a reporting group for a day
      4. List search appearance values for a reporting group for a day
      5. Total search traffic for a reporting group for a day
    5. Individual Property Google Search Console Metrics
      1. Get query metrics for a property for a day
      2. Get URL metrics for a property for a day
      3. Get Query+URL metrics for a property for a day
      4. List search appearance values for a property for a day
      5. Total search traffic for a property for a day
      6. Get crawl errors for a property for a day
    6. Detailed Crawl Metrics
      1. Get detailed crawl metrics for a property on a day

Details

All API calls must be made over HTTPS on the app.keylime.io domain. Send data to the API as query parameters. API responses are in JSON format or CSV or XLSX format. The response includes a Content-type header, which specifies the format.

For JSON requests, send an Accept: application/json header or use the .json extension on your request to specify the format.

Dates in parameters and responses use ISO 8601 extended date format:

YYYY-MM-DD
YYYY-MM-DDTHH:MM:SSZ

Parameters

API requests take parameters. (An email and API token may be provided as headers or a parameter — see Authentication below.) Some parameters are specified in the path of the URL and are used to scope the resource. For GET requests, other parameters can be added to the query string.

For example, in the following: - the email and token for authentication are provided as headers - the reporting group slug, “example-com”, is included in the path - the date parameter is included in the URL parameter list

$ curl -H "X-User-Email: $USER_EMAIL" -H "X-User-Token: $USER_TOKEN" 'https://app.keylime.io/site_groups/example-com/reports/aggregate_queries?date=2015-06-15'

Authentication

The API uses token-based authentication. Every request must include a header or parameter to specify the user and the token. To use headers, set X-User-Email and X-User-Token:

$ curl -H 'Accept: application/json' -H 'X-User-Email: me@example.com' -H 'X-User-Token: Ac34mdArbme0Jrn' https://app.keylime.io/site_groups

When authenticating with parameters, use user_email and a user_token:

$ curl -H 'Accept: application/json' 'https://app.keylime.io/site_groups?user_email=me@example.com&user_token=Ac34mdArbme0Jrn'

The X-User-Email header or user_email parameter is the email address on your account (that you use to sign in). You can find the token (and you email address) in Keylime Toolbox in your profile settings. You can reset your token at any time but you can only have one active token at a time.

For brevity, we’ve skipped the authentication headers or parameters on the examples in the rest of this documentation, but you will need those for each call.

You should make all your API requests using HTTPS, which protects the the headers and parameters.

Protect your API token as you would a password.

Common Errors

These error codes could be returned from any API request.

  1. Sending a request without the correct token or for which you do not have permissions results in a 404 Not Found error. Depending on the Content-type the response message may be JSON or plain text.

    HTTP/1.1 404 Not Found
    Content-length: 35
    
    {"error":"Keylime Toolbox couldn't find what you were looking for. If you were expecting to find this, try signing in."}
    
  2. Sending a request to a resource with invalid parameters or that does not include required parameters results in a 400 Bad Request error. Depending on the Content-type the response message may be JSON or plain text.

    HTTP/1.1 400 Bad Request
    Content-length: 52
    
    You must include a 'date' parameter in your request.
    

HTTP Redirects

The API uses HTTP redirects in places and clients should assume that any request may result in a redirect. Redirects include a Location: header containing the URI of the resource. Clients should request this immediately as the resource may only be available at the provided URI for a short time.

Status Code Description
301 Moved Permanently. The requested resource has been assigned a new permanent URI specified in the Location header field. Any future references to this resource should use the new URI.
302, 307 Temporary Redirect. The requested resource resides temporarily under the URI specified in the Location header field. Clients should continue to use the original URI for future requests.

HTTP Verbs

The API currently only supports GET requests which provides read-only access to information.

Resources

Reporting Group

A combination of domains, subdomains, and subfolders.

A reporting group may be a domain or subdomain, such as example.com or www.example.com, it may be a subfolder, such as example.com/sale, or it may be a collection of these. Keylime Toolbox aggregates the data into a single set of metrics. If you have included subfolders, Keylime Toolbox will aggregate the data, de-duplicating metrics appropriately, as described in Keylime Toolbox Data Integration.

List all reporting groups

GET /site_groups.json

The response is a JSON array of objects having name and slug attributes.

name
The name of the group, usually the hostname or URL of the domain.
slug
A slug used to identify the group in API calls.
[
  {
    "name": "example.com",
    "slug": "example-com"
  },
  {
    "name": "example.co.uk",
    "slug": "example-co-uk"
  }
]

Property

Individual properties from Google Search Console from which Keylime Toolbox collects metrics.

When you authorize Keylime Toolbox with access to your Google Search Console account or properties, Keylime Toolbox collects metrics for each of those properties. Properties are grouped into a reporting group for aggregate query metrics.

Properties are also used for Crawl Analytics where detailed data is generated for properties (usually domains and subdomains, not subfolders).

List properties within a reporting group

GET /site_groups/:site_group_id/sites.json

Parameters

:site_group_id
The slug of the reporting group. See how to identify the slugs for your reporting group.

The response is a JSON array of objects having name and slug attributes.

url
The URL of the property as provided by Google Search Console.
slug
A slug used to identify the property in API calls.
[
  {
    "url": "example.com",
    "slug": "example-com"
  },
  {
    "url": "example.com/sale",
    "slug": "example-com-sale"
  }
]

Dates of metrics

Which days Keylime Toolbox has metrics for your reports.

Keylime Toolbox retains all the historical Google Search Console metrics for each of your properties as long as you have an account with us. This can add up to many years of data.

Dates of metrics for properties

For individual properties, this call will tell you for which dates Keylime Toolbox downloaded GSC metrics.

GSC crawl errors are provided one day a week. See more about crawl errors below.

This does not cover Crawl Analytics detailed reports. See Crawl Metrics below.

GET /sites/:site_id/data_points.json

Parameters

:site_id
The slug of the property. See how to identify the slugs for your property.

The response is a JSON array of objects having a date attribute.

date
A date as a string in the format YYYY-MM-DD.
[
  {
    "date": "2015-06-14"
  },
  {
    "date": "2015-06-15"
  }
]

Dates of metrics for reporting groups

Keylime Toolbox aggregates queries, URL, and traffic metrics for reporting groups. You can find out for which dates Keylime Toolbox generated reports.

GET /site_groups/:site_group_id/data_points.json

Parameters

:site_group_id
The slug of the reporting group. See how to identify the slugs for your reporting group.

The response is a JSON array of objects having a date attribute.

date
A date as a string in the format YYYY-MM-DD.
[
  {
    "date": "2015-06-14"
  },
  {
    "date": "2015-06-15"
  }
]

Aggregate Google Search Console Metrics

Aggregated Query, URL, and traffic metrics from Google Search Console.

Keylime Toolbox aggregates metrics across all Google Search Console properties in a reporting group, de-duplicating metrics appropriately. You can get this aggregated data for queries, URLs, and traffic through these API calls.

Get aggregated query metrics for a reporting group for a day

Provides a CSV file containing aggregated query metrics for the reporting group and the date given.

These metrics are aggregated across all domains, subdomains, and subfolders included in the reporting group.

If a search_appearance parameter is given, metrics are aggregated by page, rather than by property.

GET /site_groups/:site_group_id/reports/aggregate_queries?date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_queries?date=2015-06-15&fields=*
GET /site_groups/:site_group_id/reports/aggregate_queries?date=2015-06-15&fields=Query,Search%20type,Impressions,Clicks,Avg.%20position

GET /site_groups/:site_group_id/reports/aggregate_queries?search_appearance=RICHCHARD&date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_queries?search_appearance=RICHCARD&date=2015-06-15&fields=*
GET /site_groups/:site_group_id/reports/aggregate_queries?search_appearance=RICHCARD&date=2015-06-15&fields=Query,Search%20type,Impressions,Clicks,Avg.%20position

GET /site_groups/:site_group_id/reports/aggregate_queries?unassociated=true&date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_queries?unassociated=true&search_appearance=RICHCARD&date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_queries?unassociated=true&search_appearance=RICHCARD&date=2015-06-15&fields=*

Parameters

:site_group_id
The slug of the reporting group. See how to identify the slugs for your reporting group.
date
A date in YYYY-MM-DD format. For example, 2015-04-27. The date is required.
search_appearance
(Optional) The search appearance type you want to filter for. Examples include RICHCARD, AMP_BLUE_LINK, INSTALL.
See what search appearances a reporting group has for a day.
unassociated
(Optional) If provided, include rows of GSC-reported traffic not associated with any query.
The rows will have a query “<clicks with no associated query provided in Google Search Console>”.
If the reporting group has multiple domains, don’t use this option: we cannot accurately calculate
the total traffic across all domains; the value reported won’t make sense.
fields
(Optional) which fields you want in the CSV file.
The default (when not specified) is “Query,Impressions,Clicks,CTR,Avg. position”.
If “*” is provided for this parameter then the fields are
“Query,Search type,Device type,Impressions,Clicks,CTR,Avg. position”. The list of fields returned with “*” may
change in the future.

The metrics include impressions, clicks, click through rate, and rank. Rank is averaged over impressions, which is different from what Keylime Toolbox does for reports. For more details, see Understanding Keylime Toolbox Data.

On success this will return a CSV file in the body with a header row and aggregate query metrics.

Default fields

GET /site_groups/:site_group_id/reports/aggregate_queries?date=2015-06-15
Query,Impressions,Clicks,CTR,Avg. position
kittens,16716,6773,0.405,1.5
cute cats,2709,1174,0.433,1.3
frisky feline,263,191,0.726,1.0

Selected fields

GET /site_groups/:site_group_id/reports/aggregate_queries?date=2015-06-15&fields=Query,Search%20type,Impressions,Clicks,Avg.%20position
Query,Search type,Impressions,Clicks,Avg. position
kittens,web,16716,6773,1.5
cute cats,image,2709,1174,1.3
frisky feline,video,263,191,1.0

All fields

GET /site_groups/:site_group_id/reports/aggregate_queries?date=2015-06-15&fields=*
Query,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,web,DESKTOP,16716,6773,0.405,1.5
cute cats,image,MOBILE,2709,1174,0.433,1.3
frisky feline,video,TABLET,263,191,0.726,1.0

Default fields with search_appearance

GET /site_groups/:site_group_id/reports/aggregate_queries?search_appearance=RICHCARD&date=2015-06-15
Query,Impressions,Clicks,CTR,Avg. position
kittens,16716,6773,0.405,1.5
cute cats,2709,1174,0.433,1.3
frisky feline,263,191,0.726,1.0

Selected fields with search_appearance

GET /site_groups/:site_group_id/reports/aggregate_queries?search_appearance=RICHCARD&date=2015-06-15&fields=Query,Search%20type,Impressions,Clicks,Avg.%20position
Query,Search type,Impressions,Clicks,Avg. position
kittens,web,16716,6773,1.5
cute cats,image,2709,1174,1.3
frisky feline,video,263,191,1.0

All fields with search_appearance

GET /site_groups/:site_group_id/reports/aggregate_queries?search_appearance=RICHCARD&date=2015-06-15&fields=*
Query,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,web,DESKTOP,16716,6773,0.405,1.5
cute cats,image,MOBILE,2709,1174,0.433,1.3
frisky feline,video,TABLET,263,191,0.726,1.0

With unassociated, no search_appearance, and default fields

GET /site_groups/:site_group_id/reports/aggregate_queries?unassociated=true&date=2015-06-15
Query,Impressions,Clicks,CTR,Avg. position
kittens,16716,6773,0.405,1.5
cute cats,2709,1174,0.433,1.3
frisky feline,263,191,0.726,1.0
<clicks with no associated query provided in Google Search Console>,825,19,23%,1.4
<clicks with no associated query provided in Google Search Console>,142,0,0%,1.2
<clicks with no associated query provided in Google Search Console>,0,0,,1.1

With unassociated, search_appearance, and all fields

GET /site_groups/:site_group_id/reports/aggregate_queries?unassociated=true&search_appearance=RICHCARD&date=2015-06-15&fields=*
Query,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,web,DESKTOP,16716,6773,0.405,1.5
cute cats,image,MOBILE,2709,1174,0.433,1.3
frisky feline,video,TABLET,263,191,0.726,1.0
<clicks with no associated query provided in Google Search Console>,web,,825,19,23%,1.4
<clicks with no associated query provided in Google Search Console>,image,,142,0,0%,1.2
<clicks with no associated query provided in Google Search Console>,video,,0,0,,1.1

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found.
Keylime Toolbox doesn’t have enough query data available to create this file. If you provided a search_appearance parameter, this may mean there are no impressions for that search appearance for that date. Otherwise, this means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago.

Get aggregated URL metrics for a reporting group for a day

Provides a CSV file containing aggregated URL metrics for the reporting group and the date given.

These metrics are aggregated across all domains, subdomains, and subfolders included in the reporting group.

GET /site_groups/:site_group_id/reports/aggregate_urls?date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_urls?date=2015-06-15&fields=*
GET /site_groups/:site_group_id/reports/aggregate_urls?date=2015-06-15&fields=Page,Search%20type,Impressions,Clicks,Avg.%20position

GET /site_groups/:site_group_id/reports/aggregate_urls?search_appearance=RICHCARD&date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_urls?search_appearance=RICHCARD&date=2015-06-15&fields=*
GET /site_groups/:site_group_id/reports/aggregate_urls?search_appearance=RICHCARD&date=2015-06-15&fields=Page,Search%20type,Impressions,Clicks,Avg.%20position

GET /site_groups/:site_group_id/reports/aggregate_urls?unassociated=true&date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15&fields=*

Parameters

:site_group_id
The slug of the reporting group. See how to identify the slugs for your reporting group.
date
A date in YYYY-MM-DD format. For example, 2015-04-27. The date is required.
search_appearance
(Optional) The search appearance type you want to filter for. Examples include RICHCARD, AMP_BLUE_LINK, INSTALL.
See what search appearances a reporting group has for a day.
unassociated
(Optional) If provided, include rows of GSC-reported traffic not associated with any URL.
The rows will have a query “<clicks with no associated page provided in Google Search Console>”.
If the reporting group has multiple domains, don’t use this option: we cannot accurately calculate
the total traffic across all domains; the value reported won’t make sense.
fields
(Optional) which fields you want in the CSV file.
The default (when not specified) is “Page,Impressions,Clicks,CTR,Avg. position”.
If “*” is provided for this parameter then the fields are
“Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position”. The list of fields returned
with “*” may change in the future.

The metrics include impressions, clicks, click through rate, and rank.

On success this will return a CSV file in the body with headers and aggregate URL metrics.

Default fields

GET /site_groups/:site_group_id/reports/aggregate_urls?date=2015-06-15
Page,Impressions,Clicks,CTR,Avg. position
https://example.com/,39252,8676,0.221,3.5
https://example.com/kittens/,1819,650,0.357,20.0
https://example.com/cats/food,3903,531,0.136,5.4

Selected fields

GET /site_groups/:site_group_id/reports/aggregate_urls?date=2015-06-15&fields=Page,Search%20type,Impressions,Clicks,Avg.%20position
Page,Search type,Impressions,Clicks,Avg. position
https://example.com/,web,39252,8676,3.5
https://example.com/kittens/,image,1819,650,20.0
https://example.com/cats/food,video,3903,531,5.4

All fields

GET /site_groups/:site_group_id/reports/aggregate_urls?date=2015-06-15&fields=*
Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
https://example.com/,web,DESKTOP,39252,8676,0.221,3.5
https://example.com/kittens/,image,MOBILE,1819,650,0.357,20.0
https://example.com/cats/food,video,TABLET,3903,531,0.136,5.4

Default fields with search_appearance

GET /site_groups/:site_group_id/reports/aggregate_urls?search_appearance=RICHCARD&date=2015-06-15
Page,Impressions,Clicks,CTR,Avg. position
https://example.com/,39252,8676,0.221,3.5
https://example.com/kittens/,1819,650,0.357,20.0
https://example.com/cats/food,3903,531,0.136,5.4

Selected fields with search_appearance

GET /site_groups/:site_group_id/reports/aggregate_urls?search_appearance=RICHCARD&date=2015-06-15&fields=Page,Search%20type,Impressions,Clicks,Avg.%20position
Page,Search type,Impressions,Clicks,Avg. position
https://example.com/,web,39252,8676,3.5
https://example.com/kittens/,image,1819,650,20.0
https://example.com/cats/food,video,3903,531,5.4

All fields with search_appearance

GET /site_groups/:site_group_id/reports/aggregate_urls?search_appearance=RICHCARD&date=2015-06-15&fields=*
Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
https://example.com/,web,DESKTOP,39252,8676,0.221,3.5
https://example.com/kittens/,image,MOBILE,1819,650,0.357,20.0
https://example.com/cats/food,video,TABLET,3903,531,0.136,5.4

With unassociated, no search_appearance, and default fields

GET /site_groups/:site_group_id/reports/aggregate_urls?unassociated=true&date=2015-06-15
Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
https://example.com/,39252,8676,0.221,3.5
https://example.com/kittens/,1819,650,0.357,20.0
https://example.com/cats/food,3903,531,0.136,5.4
<clicks with no associated page provided in Google Search Console>,825,19,23%,1.4
<clicks with no associated page provided in Google Search Console>,142,0,0%,1.2
<clicks with no associated page provided in Google Search Console>,0,0,,1.1

With unassociated, search_appearance, and all fields

GET /site_groups/:site_group_id/reports/aggregate_urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15&fields=*
Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
https://example.com/,web,DESKTOP,39252,8676,0.221,3.5
https://example.com/kittens/,image,MOBILE,1819,650,0.357,20.0
https://example.com/cats/food,video,TABLET,3903,531,0.136,5.4
<clicks with no associated page provided in Google Search Console>,web,,825,19,23%,1.4
<clicks with no associated page provided in Google Search Console>,image,,142,0,0%,1.2
<clicks with no associated page provided in Google Search Console>,video,,0,0,,1.1

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found.
Keylime Toolbox doesn’t have enough URL data available to create this file. If you provided a search_appearance parameter, this may mean there are no impressions for that search appearance for that date. Otherwise, this means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago.

Get aggregated Query+URL metrics for a reporting group for a day

Provides a CSV file containing aggregated metrics for every query and URL for the reporting group and the date given.

These metrics are aggregated across all domains, subdomains, and subfolders included in the reporting group.

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_queries_urls?date=2015-06-15&fields=*
GET /site_groups/:site_group_id/reports/aggregate_queries_urls?date=2015-06-15&fields=Query,Page,Search%20type,Impressions,Clicks,Avg.%20position

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?search_appearance=RICHCARD&date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_queries_urls?search_appearance=RICHCARD&date=2015-06-15&fields=*
GET /site_groups/:site_group_id/reports/aggregate_queries_urls?search_appearance=RICHCARD&date=2015-06-15&fields=Query,Page,Search%20type,Impressions,Clicks,Avg.%20position

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?unassociated=true&date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_queries_urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15
GET /site_groups/:site_group_id/reports/aggregate_queries_urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15&fields=*

Parameters

:site_group_id
The slug of the reporting group. See how to identify the slugs for your reporting group.
date
A date in YYYY-MM-DD format. For example, 2015-04-27. The date is required.
search_appearance
(Optional) The search appearance type you want to filter for. Examples include RICHCARD, AMP_BLUE_LINK, INSTALL.
See what search appearances a reporting group has for a day.
unassociated
(Optional) If provided, include rows of GSC-reported traffic not associated with any URL.
The rows will have a query “<clicks with no associated page provided in Google Search Console>”.
If the reporting group has multiple domains, don’t use this option: we cannot accurately calculate
the total traffic across all domains; the value reported won’t make sense.
fields
(Optional) which fields you want in the CSV file.
The default (when not specified) is “Query,Page,Impressions,Clicks,CTR,Avg. position”.
If “*” is provided for this parameter then the fields are
“Query,Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position”. The list of fields
returned with “*” may change in the future.

The metrics include impressions, clicks, click through rate, and rank.

On success this will return a CSV file in the body with headers and aggregate Query+URL metrics.

Default fields

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?date=2015-06-15
Query,Page,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,39252,8676,0.221,3.5
cute cats,https://example.com/kittens/,1819,650,0.357,20.0
frisky felines,https://example.com/cats/food,3903,531,0.136,5.4

Selected fields

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?date=2015-06-15&fields=Query,Page,Search%20type,Impressions,Clicks,Avg.%20position
Query,Page,Search type,Impressions,Clicks,Avg. position
kittens,https://example.com/,web,39252,8676,3.5
cute cats,https://example.com/kittens/,image,1819,650,20.0
frisky felines,https://example.com/cats/food,video,3903,531,5.4

All fields

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?date=2015-06-15&fields=*
Query,Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,web,DESKTOP,39252,8676,0.221,3.5
cute cats,https://example.com/kittens/,image,MOBILE,1819,650,0.357,20.0
frisky felines,https://example.com/cats/food,video,TABLET,3903,531,0.136,5.4

Default fields with search_appearance

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?search_appearance=RICHCARD&date=2015-06-15
Query,Page,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,39252,8676,0.221,3.5
cute cats,https://example.com/kittens/,1819,650,0.357,20.0
frisky felines,https://example.com/cats/food,3903,531,0.136,5.4

Selected fields with search_appearance

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?search_appearance=RICHCARD&date=2015-06-15&fields=Query,Page,Search%20type,Impressions,Clicks,Avg.%20position
Query,Page,Search type,Impressions,Clicks,Avg. position
kittens,https://example.com/,web,39252,8676,3.5
cute cats,https://example.com/kittens/,image,1819,650,20.0
frisky felines,https://example.com/cats/food,video,3903,531,5.4

All fields with search_appearance

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?search_appearance=RICHCARD&date=2015-06-15&fields=*
Query,Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,web,DESKTOP,39252,8676,0.221,3.5
cute cats,https://example.com/kittens/,image,MOBILE,1819,650,0.357,20.0
frisky felines,https://example.com/cats/food,video,TABLET,3903,531,0.136,5.4

With unassociated, no search_appearance, and default fields

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?unassociated=true&date=2015-06-15
Query,Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,39252,8676,0.221,3.5
cute cats,https://example.com/kittens/,1819,650,0.357,20.0
frisky felines,https://example.com/cats/food,3903,531,0.136,5.4
<clicks with no associated page provided in Google Search Console>,825,19,23%,1.4
<clicks with no associated page provided in Google Search Console>,142,0,0%,1.2
<clicks with no associated page provided in Google Search Console>,0,0,,1.1

With unassociated, search_appearance, and all fields

GET /site_groups/:site_group_id/reports/aggregate_queries_urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15&fields=*
Query,Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,web,DESKTOP,39252,8676,0.221,3.5
cute cats,https://example.com/kittens/,image,MOBILE,1819,650,0.357,20.0
frisky felines,https://example.com/cats/food,video,TABLET,3903,531,0.136,5.4
<clicks with no associated page provided in Google Search Console>,web,,825,19,23%,1.4
<clicks with no associated page provided in Google Search Console>,image,,142,0,0%,1.2
<clicks with no associated page provided in Google Search Console>,video,,0,0,,1.1

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found.
Keylime Toolbox doesn’t have enough Query+URL data available to create this file. If you provided a search_appearance parameter, this may mean there are no impressions for that search appearance for that date. Otherwise, this means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago.

List search appearance values for a reporting group for a day

Lists which search appearance facets properties in the reporting group had impressions for on the given day.

GET /site_groups/:site_group_id/search_appearances?date=2015-06-15

Parameters

:site_group_id
The slug of the reporting group. See how to identify the slugs for your reporting group.
date
A date in YYYY-MM-DD format. For example, 2015-06-15. The date is required.

On success this will return a JSON array of search appearance types.

[
  "AMP_BLUE_LINK",
  "RICHCARD"
]

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found.
Keylime Toolbox doesn’t have data available. This means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago.

Total search traffic for a reporting group for a day

Google Search Console reports metrics (impressions, clicks, CTR, and rank) for most searches but excludes data from rare queries. However, Google Search Console reports the total metrics for a property (without regard to query or URL) that include these searches. We aggregate that traffic for reporting groups. However, if the reporting group has multiple domains, don’t use this API: we cannot accurately calculate the total traffic across all domains; the value reported won’t make sense.

GET /site_groups/:site_group_id/gsc_traffic?date=2017-10-09

Parameters

:site_group_id
The slug of the reporting group. See how to identify the slugs for your reporting group.
date
A date in YYYY-MM-DD format. For example, 2017-10-09. The date is required.

On success this will return a CSV file in the body with a header row and traffic metrics.

The column “Aggregation type” refers to Google Search Console aggregation. When correlating this with other metrics from Keylime Toolbox, query metrics without a search appearance value are aggregated “byProperty”; all others are aggregated “byPage”.

Date,Aggregation type,Search type,Impressions,Clicks,CTR,Avg. position
2019-03-01,byPage,web,16350699,687902,0.04207171815712588,5.67
2019-03-01,byProperty,web,6830529,638602,0.09349231955533752,7.1
2019-03-01,byPage,video,10290,371,0.03605442176870748,10.26
2019-03-01,byProperty,video,5311,359,0.06759555639239315,9.54
2019-03-01,byPage,image,94921,292,0.0030762423489006647,67.75
2019-03-01,byProperty,image,73476,289,0.0039332571179704935,62.88

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2017-10-9) or is not a valid date (e.g. 2017-10-32).
404: File Not Found.
Keylime Toolbox doesn’t have any traffic data available to create this file. For recent dates, this means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago. We’ve been collecting traffic data starting 2017-10-09; if you have a property with older historic query and URL data we won’t have traffic metrics before then.

Individual Property Google Search Console Metrics

Query, URL, and crawl error metrics from Google Search Console.

Keylime Toolbox downloads metrics from Google Search Console for each property you have registered. You can get query, URL, and crawl error metrics through this API call.

Get query metrics for a property for a day

Provides a CSV file containing query metrics for the property and the date given.

If you provided a search_appearance parameter the metrics are aggregated by page, rather than by property.

GET /sites/:site_id/gwt_downloads/queries?date=2015-06-15
GET /sites/:site_id/gwt_downloads/queries?search_appearance=RICHCARD&date=2015-06-15
GET /sites/:site_id/gwt_downloads/queries?unassociated=true&date=2015-06-15
GET /sites/:site_id/gwt_downloads/queries?unassociated=true&search_appearance=RICHCARD&date=2015-06-15

Parameters

:site_id
The slug of the property. See how to identify the slugs for your property.
date
A date in YYYY-MM-DD format. For example, 2015-04-27. The date is required.
search_appearance
(Optional) The search appearance type you want to filter for. Examples include RICHCARD, AMP_BLUE_LINK, INSTALL.
See what search appearances a property has for a day.
unassociated
(Optional) If provided, include rows of GSC-reported traffic not associated with any query.
The rows will have a query “<clicks with no associated query provided in Google Search Console>”.

The metrics include impressions, clicks, click through rate, and rank.

On success this will return a CSV file in the body with headers and query metrics.

Without search_appearance ~~~ GET /sites/:site_id/gwt_downloads/queries?date=2015-06-15 ~~~

Query,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,web,DESKTOP,16716.0,6773.0,0.405,1.5
cute cats,image,MOBILE,2709.0,1174.0,0.433,1.3
frisky feline,video,TABLET,263.0,191.0,0.726,1.0

With search_appearance ~~~ GET /sites/:site_id/gwt_downloads/queries?search_appearance=RICHCARD&date=2015-06-15 ~~~

Query,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,web,DESKTOP,16716.0,6773.0,0.405,1.5
cute cats,image,MOBILE,2709.0,1174.0,0.433,1.3
frisky feline,video,TABLET,263.0,191,0.726,1.0

With unassociated but no search_appearance ~~~ GET /sites/:site_id/gwt_downloads/queries?unassociated=true&date=2015-06-15 ~~~

Query,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,web,DESKTOP,16716.0,6773.0,0.405,1.5
cute cats,image,MOBILE,2709.0,1174.0,0.433,1.3
frisky feline,video,TABLET,263.0,191,0.726,1.0
<clicks with no associated query provided in Google Search Console>,web,,825,19,0.23,1.4
<clicks with no associated query provided in Google Search Console>,image,,142,0,0.0,1.2
<clicks with no associated query provided in Google Search Console>,video,,0,0,0.0,1.1

With unassociated and search_appearance ~~~ GET /sites/:site_id/gwt_downloads/queries?unassociated=true&search_appearance=RICHCARD&date=2015-06-15 ~~~

Query,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,web,DESKTOP,16716.0,6773.0,0.405,1.5
cute cats,image,MOBILE,2709.0,1174.0,0.433,1.3
frisky feline,video,TABLET,263.0,191,0.726,1.0
<clicks with no associated query provided in Google Search Console>,web,,825,19,0.23,1.4
<clicks with no associated query provided in Google Search Console>,image,,142,0,0.0,1.2
<clicks with no associated query provided in Google Search Console>,video,,0,0,0.0,1.1

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found.
Keylime Toolbox doesn’t have any query data available to create this file. If you provided a search_appearance parameter, this may mean there are no impressions for that search appearance for that date Otherwise, this means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago.

Get URL metrics for a property for a day

Provides a CSV file containing URL metrics for the property and the date given.

GET /sites/:site_id/gwt_downloads/urls?date=2015-06-15
GET /sites/:site_id/gwt_downloads/urls?search_appearance=RICHCARD&date=2015-06-15
GET /sites/:site_id/gwt_downloads/urls?unassociated=true&date=2015-06-15
GET /sites/:site_id/gwt_downloads/urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15

Parameters

:site_id
The slug of the property. See how to identify the slugs for your property.
date
A date in YYYY-MM-DD format. For example, 2015-04-27. The date is required.
search_appearance
(Optional) The search appearance type you want to filter for. Examples include RICHCARD, AMP_BLUE_LINK, INSTALL.
See what search appearances a property has for a day.
unassociated
(Optional) If provided, include rows of GSC-reported traffic not associated with any URL.
The rows will have a query “<clicks with no associated page provided in Google Search Console>”.

The metrics include impressions, clicks, click through rate, and rank.

On success this will return a CSV file in the body with headers and URL metrics.

Without search_appearance ~~~ GET /sites/:site_id/gwt_downloads/urls?date=2015-06-15 ~~~

Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
https://example.com/,web,DESKTOP,39252.0,8676.0,0.221,3.5
https://example.com/kittens/,image,MOBILE,1819.0,650.0,0.357,20.0
https://example.com/cats/food,video,TABLET,3903.0,531.0,0.136,5.4

With search_appearance ~~~ GET /sites/:site_id/gwt_downloads/urls?search_appearance=RICHCARD&date=2015-06-15 ~~~

Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
https://example.com/,web,DESKTOP,39252.0,8676.0,0.221,3.5
https://example.com/kittens/,image,MOBILE,1819.0,650.0,0.357,20.0
https://example.com/cats/food,video,TABLET,3903.0,531.0,0.136,5.4

With unassociated but no search_appearance ~~~ GET /sites/:site_id/gwt_downloads/urls?unassociated=true&date=2015-06-15 ~~~

Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
https://example.com/,web,DESKTOP,39252.0,8676.0,0.221,3.5
https://example.com/kittens/,image,MOBILE,1819.0,650.0,0.357,20.0
https://example.com/cats/food,video,TABLET,3903.0,531.0,0.136,5.4
<clicks with no associated page provided in Google Search Console>,web,,825,19,0.23,1.4
<clicks with no associated page provided in Google Search Console>,image,,142,0,0.0,1.2
<clicks with no associated page provided in Google Search Console>,video,,0,0,0.0,1.1

With unassociated and search_appearance ~~~ GET /sites/:site_id/gwt_downloads/urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15 ~~~

Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
https://example.com/,web,DESKTOP,39252.0,8676.0,0.221,3.5
https://example.com/kittens/,image,MOBILE,1819.0,650.0,0.357,20.0
https://example.com/cats/food,video,TABLET,3903.0,531.0,0.136,5.4
<clicks with no associated page provided in Google Search Console>,web,,825,19,0.23,1.4
<clicks with no associated page provided in Google Search Console>,image,,142,0,0.0,1.2
<clicks with no associated page provided in Google Search Console>,video,,0,0,0.0,1.1

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found.
Keylime Toolbox doesn’t have any URL data available to create this file. If you provided a search_appearance parameter, this may mean there are no impressions for that search appearance for that date Otherwise, this means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago.

Get Query+URL metrics for a property for a day

Provides a CSV file containing metrics for every query and URL for the property and the date given.

GET /sites/:site_id/gwt_downloads/queries_urls?date=2015-06-15
GET /sites/:site_id/gwt_downloads/queries_urls?search_appearance=RICHCARD&date=2015-06-15
GET /sites/:site_id/gwt_downloads/queries_urls?unassociated=true&date=2015-06-15
GET /sites/:site_id/gwt_downloads/queries_urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15

Parameters

:site_id
The slug of the property. See how to identify the slugs for your property.
date
A date in YYYY-MM-DD format. For example, 2015-04-27. The date is required.
search_appearance
(Optional) The search appearance type you want to filter for. Examples include RICHCARD, AMP_BLUE_LINK, INSTALL.
See what search appearances a property has for a day.
unassociated
(Optional) If provided, include rows of GSC-reported traffic not associated with any URL.
The rows will have a query “<clicks with no associated page provided in Google Search Console>”.

The metrics include impressions, clicks, click through rate, and rank.

On success this will return a CSV file in the body with headers and Query+URL metrics.

Without search_appearance ~~~ GET /sites/:site_id/gwt_downloads/queries_urls?date=2015-06-15 ~~~

Query,Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,web,DESKTOP,39252.0,8676.0,0.221,3.5
cute cats,https://example.com/kittens/,image,MOBILE,1819.0,650.0,0.357,20.0
frisky feline,https://example.com/cats/food,video,TABLET,3903.0,531.0,0.136,5.4

With search_appearance ~~~ GET /sites/:site_id/gwt_downloads/queries_urls?search_appearance=RICHCARD&date=2015-06-15 ~~~

Query,Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,web,DESKTOP,39252.0,8676.0,0.221,3.5
cute cats,https://example.com/kittens/,image,MOBILE,1819.0,650.0,0.357,20.0
frisky feline,https://example.com/cats/food,video,TABLET,3903.0,531.0,0.136,5.4

With unassociated but no search_appearance ~~~ GET /sites/:site_id/gwt_downloads/queries_urls?unassociated=true&date=2015-06-15 ~~~

Query,Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,web,DESKTOP,39252.0,8676.0,0.221,3.5
cute cats,https://example.com/kittens/,image,MOBILE,1819.0,650.0,0.357,20.0
frisky feline,https://example.com/cats/food,video,TABLET,3903.0,531.0,0.136,5.4
<clicks with no associated page provided in Google Search Console>,web,,825,19,0.23,1.4
<clicks with no associated page provided in Google Search Console>,image,,142,0,0.0,1.2
<clicks with no associated page provided in Google Search Console>,video,,0,0,0.0,1.1

With unassociated and search_appearance ~~~ GET /sites/:site_id/gwt_downloads/queries_urls?unassociated=true&search_appearance=RICHCARD&date=2015-06-15 ~~~

Query,Page,Search type,Device type,Impressions,Clicks,CTR,Avg. position
kittens,https://example.com/,web,DESKTOP,39252.0,8676.0,0.221,3.5
cute cats,https://example.com/kittens/,image,MOBILE,1819.0,650.0,0.357,20.0
frisky feline,https://example.com/cats/food,video,TABLET,3903.0,531.0,0.136,5.4
<clicks with no associated page provided in Google Search Console>,web,,825,19,0.23,1.4
<clicks with no associated page provided in Google Search Console>,image,,142,0,0.0,1.2
<clicks with no associated page provided in Google Search Console>,video,,0,0,0.0,1.1

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found.
Keylime Toolbox doesn’t have any Query+URL data available to create this file. If you provided a search_appearance parameter, this may mean there are no impressions for that search appearance for that date Otherwise, this means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago.

List search appearance values for a property for a day

Lists which search appearance facets a property had impressions for on the given day.

GET /sites/:site_id/search_appearances?date=2015-06-15

Parameters

:site_id
The slug of the property. See how to identify the slugs for your property.
date
A date in YYYY-MM-DD format. For example, 2019-04-27. The date is required.

On success this will return a JSON array of search appearance types.

[
  "AMP_BLUE_LINK",
  "RICHCARD"
]

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found.
Keylime Toolbox doesn’t have data available. This means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago.

Total search traffic for a property for a day

Google Search Console reports metrics (impressions, clicks, CTR, and rank) for most searches but excludes data from rare queries. However, Google Search Console reports the total metrics for a property (without regard to query or URL) that include these searches.

GET /sites/:site_id/gsc_traffic?date=2017-10-09

Parameters

:site_id
The slug of the property. See how to identify the slugs for your property.
date
A date in YYYY-MM-DD format. For example, 2017-10-09. The date is required.

On success this will return a CSV file in the body with a header row and traffic metrics.

The column “Aggregation type” refers to Google Search Console aggregation. When correlating this with other metrics from Keylime Toolbox, query metrics without a search appearance value are aggregated “byProperty”; all others are aggregated “byPage”.

Date,Aggregation type,Search type,Impressions,Clicks,CTR,Avg. position
2019-03-01,byPage,web,16350699,687902,0.04207171815712588,5.67
2019-03-01,byProperty,web,6830529,638602,0.09349231955533752,7.1
2019-03-01,byPage,video,10290,371,0.03605442176870748,10.26
2019-03-01,byProperty,video,5311,359,0.06759555639239315,9.54
2019-03-01,byPage,image,94921,292,0.0030762423489006647,67.75
2019-03-01,byProperty,image,73476,289,0.0039332571179704935,62.88

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2017-10-9) or is not a valid date (e.g. 2017-10-32).
404: File Not Found.
Keylime Toolbox doesn’t have any traffic data available to create this file. For recent dates, this means Google Search Console has not yet made the data available. Keylime Toolbox imports data daily from Google Search Console, and it is typically 2-3 days ago. We’ve been collecting traffic data starting 2017-10-09; if you have a property with older historic query and URL data we won’t have traffic metrics before then.

Get crawl errors for a property for a day

Provides a CSV file containing Google-reported crawl errors for the property and the date given. Crawl errors are available for one day each week. Each file is the most current set of all crawl errors reported by Google Search Console, so generally you only need the most recent file.

GET /sites/:site_id/gwt_downloads/crawl_errors?date=2015-06-15

Parameters

:site_id
The slug of the property. See how to identify the slugs for your property.
date
A date in YYYY-MM-DD format. For example, 2015-04-27. The date is required.

On success this will return a CSV file in the body with headers and crawl errors. The final columns, “Linked From” and “Containing Sitemaps” are a space-separated list of URLs.

URL,Issue Type,Platform,Last Crawled,First Detected,Server Status Code,Linked From,Linked From URLs,Containing Sitemaps
http://example.com/kitten,notFound,web,2016-08-19T07:57:13+00:00,2016-08-19T07:57:13+00:00,404,1,http://example.com/
http://example.com/cute-cats,notFound,web,2016-06-13T10:06:38+00:00,2016-05-06T12:34:41+00:00,404,1,http://example.com/feline
http://example.com/frisky-feline,notFound,web,2016-08-20T22:16:37+00:00,2016-08-20T22:16:37+00:00,404,3,http://example.com/feline

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found.
Keylime Toolbox doesn’t have any crawl error data on the provided day. Keylime Toolbox imports data weekly from Google Search Console but it may be on a different day of the week for different properties. We recommend trying previous days until you find a file.

Detailed Crawl Metrics

An Excel file with detailed crawl metrics for the given property and date.

When you have enabled Crawl Analytics, Keylime Toolbox generates an Excel file for each day that you have provided server logs. This Excel file lists all URLs crawled by each crawler for each status code, and other metrics useful for identifying technical crawl problems and crawl budget.

Get detailed crawl metrics for a property on a day

Provides an Excel file containing details crawl metrics for the property and the date given.

On success this will return a 302 status code and a location to a URL that provides, as the body, an XLSX file. This URL is only available for a short time, so you should follow the redirect immediately.

GET /sites/:site_id/reports/log_details?date=2015-04-08

Parameters

:site_id
The slug of the property. See how to identify the slugs for your property.
date
A date in YYYY-MM-DD format. For example, 2015-04-27. The date is required.

Possible Errors

400: You must include a date parameter in your request.
This occurs if you send a request without the date parameter.
400: The date parameter you provided in your request, must be in the YYYY-MM-DD format.
This occurs if you send a request with a date parameter but the date format is not YYYY-MM-DD (e.g. 2015-5-14) or is not a valid date (e.g. 2015-04-31).
404: File Not Found. We do not have sufficient data to build log details.
We build detailed crawl metrics as we process the logs you provide us. Generally this file is available by 10:00 UTC on the day you upload the file (provided you uploaded it before 07:00 UTC). The dates available depend on what data you have uploaded.