URL Crawl Errors Samples: get

Requires authorization

Retrieves details about crawl errors for a site's sample URL. Try it now.

Request

HTTP request

GET https://www.googleapis.com/webmasters/v3/sites/siteUrl/urlCrawlErrorsSamples/url

Parameters

Parameter name Value Description
Path parameters
siteUrl string The site's URL, including protocol. For example: http://www.example.com/
url string The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename
Required query parameters
category string The crawl error category. For example: authPermissions

Acceptable values are:
  • "authPermissions"
  • "flashContent"
  • "manyToOneRedirect"
  • "notFollowed"
  • "notFound"
  • "other"
  • "roboted"
  • "serverError"
  • "soft404"
platform string The user agent type (platform) that made the request. For example: web

Acceptable values are:
  • "mobile"
  • "smartphoneOnly"
  • "web"

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/webmasters.readonly
https://www.googleapis.com/auth/webmasters

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an URL Crawl Errors Samples resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.