# UrlInspectionResult

- [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#SCHEMA_REPRESENTATION)
- [IndexStatusInspectionResult](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#IndexStatusInspectionResult)
  - [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#IndexStatusInspectionResult.SCHEMA_REPRESENTATION)
- [Verdict](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict)
- [RobotsTxtState](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RobotsTxtState)
- [IndexingState](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#IndexingState)
- [PageFetchState](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#PageFetchState)
- [CrawlingUserAgent](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#CrawlingUserAgent)
- [AmpInspectionResult](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpInspectionResult)
  - [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpInspectionResult.SCHEMA_REPRESENTATION)
- [AmpIndexingState](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpIndexingState)
- [AmpIssue](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpIssue)
  - [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpIssue.SCHEMA_REPRESENTATION)
- [Severity](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Severity)
- [MobileUsabilityInspectionResult](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityInspectionResult)
  - [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityInspectionResult.SCHEMA_REPRESENTATION)
- [MobileUsabilityIssue](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityIssue)
  - [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityIssue.SCHEMA_REPRESENTATION)
- [MobileUsabilityIssueType](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityIssueType)
- [RichResultsInspectionResult](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RichResultsInspectionResult)
  - [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RichResultsInspectionResult.SCHEMA_REPRESENTATION)
- [DetectedItems](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#DetectedItems)
  - [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#DetectedItems.SCHEMA_REPRESENTATION)
- [Item](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Item)
  - [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Item.SCHEMA_REPRESENTATION)
- [RichResultsIssue](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RichResultsIssue)
  - [JSON representation](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RichResultsIssue.SCHEMA_REPRESENTATION)

URL inspection result, including all inspection results.

| JSON representation ||
|---|---|
| ``` { "inspectionResultLink": string, "indexStatusResult": { object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#IndexStatusInspectionResult`) }, "ampResult": { object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpInspectionResult`) }, "mobileUsabilityResult": { object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityInspectionResult`) }, "richResultsResult": { object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RichResultsInspectionResult`) } } ``` |

| Fields ||
|---|---|
| `inspectionResultLink` | `string` Link to Search Console URL inspection. |
| `indexStatusResult` | ``object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#IndexStatusInspectionResult`)`` Result of the index status analysis. |
| `ampResult` | ``object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpInspectionResult`)`` Result of the AMP analysis. Absent if the page is not an AMP page. |
| `mobileUsabilityResult` **(deprecated)** | ``object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityInspectionResult`)`` > [!WARNING] > This item is deprecated. Learn more in our [blog post](https://developers.google.com/search/blog/2023/04/page-experience-in-search#search-console-reports). > <br /> Result of the Mobile usability analysis. |
| `richResultsResult` | ``object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RichResultsInspectionResult`)`` Result of the Rich Results analysis. Absent if there are no rich results found. |

## IndexStatusInspectionResult

Results of index status inspection for either the live page or the version in Google's index, depending on whether you requested a live inspection or not. For more information, see the [Index coverage report documentation](https://support.google.com/webmasters/answer/7440203).

| JSON representation ||
|---|---|
| ``` { "sitemap": [ string ], "referringUrls": [ string ], "verdict": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`), "coverageState": string, "robotsTxtState": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RobotsTxtState`), "indexingState": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#IndexingState`), "lastCrawlTime": string, "pageFetchState": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#PageFetchState`), "googleCanonical": string, "userCanonical": string, "crawledAs": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#CrawlingUserAgent`) } ``` |

| Fields ||
|---|---|
| `sitemap[]` | `string` Any sitemaps that this URL was listed in, as known by Google. Not guaranteed to be an exhaustive list, especially if Google did not discover this URL through a sitemap. Absent if no sitemaps were found. |
| `referringUrls[]` | `string` URLs that link to the inspected URL, directly and indirectly. |
| `verdict` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`)`` High-level verdict about whether the URL *is* indexed. |
| `coverageState` | `string` Could Google find and index the page. More details about page indexing appear in 'indexingState'. |
| `robotsTxtState` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RobotsTxtState`)`` Whether or not the page is blocked to Google by a robots.txt rule. |
| `indexingState` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#IndexingState`)`` Whether or not the page blocks indexing through a noindex rule. |
| `lastCrawlTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Last time this URL was crawled by Google using the [primary crawler](https://support.google.com/webmasters/answer/7440203#primary_crawler). Absent if the URL was never crawled successfully. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `pageFetchState` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#PageFetchState`)`` Whether or not Google could retrieve the page from your server. Equivalent to ["page fetch"](https://support.google.com/webmasters/answer/9012289#index_coverage) in the URL inspection report. |
| `googleCanonical` | `string` The URL of the page that Google selected as canonical. If the page was not indexed, this field is absent. |
| `userCanonical` | `string` The URL that your page or site [declares as canonical](https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls#define-canonical). If you did not declare a canonical URL, this field is absent. |
| `crawledAs` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#CrawlingUserAgent`)`` Primary crawler that was used by Google to crawl your site. |

## Verdict

Verdict for an analysis.

| Enums ||
|---|---|
| `VERDICT_UNSPECIFIED` | Unknown verdict. |
| `PASS` | Equivalent to "Valid" for the page or item in Search Console. |
| `PARTIAL` | Reserved, no longer in use. |
| `FAIL` | Equivalent to "Error" or "Invalid" for the page or item in Search Console. |
| `NEUTRAL` | Equivalent to "Excluded" for the page or item in Search Console. |

## RobotsTxtState

The result of the robots.txt check.

| Enums ||
|---|---|
| `ROBOTS_TXT_STATE_UNSPECIFIED` | Unknown robots.txt state, typically because the page wasn't fetched or found, or because robots.txt itself couldn't be reached. |
| `ALLOWED` | Crawl allowed by robots.txt. |
| `DISALLOWED` | Crawl blocked by robots.txt. |

## IndexingState

Indexing status of the URL.

| Enums ||
|---|---|
| `INDEXING_STATE_UNSPECIFIED` | Unknown indexing status. |
| `INDEXING_ALLOWED` | Indexing allowed. |
| `BLOCKED_BY_META_TAG` | Indexing not allowed, 'noindex' detected in 'robots' meta tag. |
| `BLOCKED_BY_HTTP_HEADER` | Indexing not allowed, 'noindex' detected in 'X-Robots-Tag' http header. |
| `BLOCKED_BY_ROBOTS_TXT` | Reserved, no longer in use. |

## PageFetchState

Page fetch state.

| Enums ||
|---|---|
| `PAGE_FETCH_STATE_UNSPECIFIED` | Unknown fetch state. |
| `SUCCESSFUL` | Successful fetch. |
| `SOFT_404` | Soft 404. |
| `BLOCKED_ROBOTS_TXT` | Blocked by robots.txt. |
| `NOT_FOUND` | Not found (404). |
| `ACCESS_DENIED` | Blocked due to unauthorized request (401). |
| `SERVER_ERROR` | Server error (5xx). |
| `REDIRECT_ERROR` | Redirection error. |
| `ACCESS_FORBIDDEN` | Blocked due to access forbidden (403). |
| `BLOCKED_4XX` | Blocked due to other 4xx issue (not 403, 404). |
| `INTERNAL_CRAWL_ERROR` | Internal error. |
| `INVALID_URL` | Invalid URL. |

## CrawlingUserAgent

The user agent type used for the crawl. Absent if your site was not crawled successfully.

| Enums ||
|---|---|
| `CRAWLING_USER_AGENT_UNSPECIFIED` | Unknown user agent. |
| `DESKTOP` | Desktop user agent. |
| `MOBILE` | Mobile user agent. |

## AmpInspectionResult

AMP inspection result of the page.

| JSON representation ||
|---|---|
| ``` { "issues": [ { object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpIssue`) } ], "verdict": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`), "ampUrl": string, "robotsTxtState": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RobotsTxtState`), "indexingState": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpIndexingState`), "ampIndexStatusVerdict": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`), "lastCrawlTime": string, "pageFetchState": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#PageFetchState`) } ``` |

| Fields ||
|---|---|
| `issues[]` | ``object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpIssue`)`` A list of zero or more AMP issues found for the inspected URL. |
| `verdict` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`)`` The status of the most severe error on the page. If a page has both warnings and errors, the page status is error. Error status means the page cannot be shown in Search results. |
| `ampUrl` | `string` URL of the AMP that was inspected. If the submitted URL is a desktop page that refers to an AMP version, the AMP version will be inspected. |
| `robotsTxtState` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RobotsTxtState`)`` Whether or not the page is blocked to Google by a robots.txt rule. |
| `indexingState` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#AmpIndexingState`)`` Whether or not the page blocks indexing through a noindex rule. |
| `ampIndexStatusVerdict` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`)`` Index status of the AMP URL. |
| `lastCrawlTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Last time this AMP version was crawled by Google. Absent if the URL was never crawled successfully. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `pageFetchState` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#PageFetchState`)`` Whether or not Google could fetch the AMP. |

## AmpIndexingState

Indexing status of the AMP URL.

| Enums ||
|---|---|
| `AMP_INDEXING_STATE_UNSPECIFIED` | Unknown indexing status. |
| `AMP_INDEXING_ALLOWED` | Indexing allowed. |
| `BLOCKED_DUE_TO_NOINDEX` | Indexing not allowed, 'noindex' detected. |
| `BLOCKED_DUE_TO_EXPIRED_UNAVAILABLE_AFTER` | Indexing not allowed, 'unavailable_after' date expired. |

## AmpIssue

AMP issue.

| JSON representation ||
|---|---|
| ``` { "issueMessage": string, "severity": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Severity`) } ``` |

| Fields ||
|---|---|
| `issueMessage` | `string` Brief description of this issue. |
| `severity` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Severity`)`` Severity of this issue: WARNING, or ERROR. |

## Severity

Common template for issue severity.

| Enums ||
|---|---|
| `SEVERITY_UNSPECIFIED` | Unknown severity. |
| `WARNING` | Warning. |
| `ERROR` | Error. |

## MobileUsabilityInspectionResult

Mobile-usability inspection results.

| JSON representation ||
|---|---|
| ``` { "issues": [ { object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityIssue`) } ], "verdict": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`) } ``` |

| Fields ||
|---|---|
| `issues[]` | ``object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityIssue`)`` A list of zero or more mobile-usability issues detected for this URL. |
| `verdict` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`)`` High-level mobile-usability inspection result for this URL. |

## MobileUsabilityIssue

Mobile-usability issue.

| JSON representation ||
|---|---|
| ``` { "issueType": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityIssueType`), "severity": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Severity`), "message": string } ``` |

| Fields ||
|---|---|
| `issueType` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#MobileUsabilityIssueType`)`` Mobile-usability issue type. |
| `severity` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Severity`)`` Not returned; reserved for future use. |
| `message` | `string` Additional information regarding the issue. |

## MobileUsabilityIssueType

The mobile usability issue type that was encountered.

| Enums ||
|---|---|
| `MOBILE_USABILITY_ISSUE_TYPE_UNSPECIFIED` | Unknown issue. Sorry, we don't have any description for the rule that was broken. |
| `USES_INCOMPATIBLE_PLUGINS` | Plugins incompatible with mobile devices are being used. [Learn more](https://support.google.com/webmasters/answer/6352293#flash_usage#error-list). |
| `CONFIGURE_VIEWPORT` | Viewport is not specified using the meta viewport tag. [Learn more](https://support.google.com/webmasters/answer/6352293#viewport_not_configured#error-list). |
| `FIXED_WIDTH_VIEWPORT` | Viewport defined to a fixed width. [Learn more](https://support.google.com/webmasters/answer/6352293#fixed-width_viewport#error-list). |
| `SIZE_CONTENT_TO_VIEWPORT` | Content not sized to viewport. [Learn more](https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport#error-list). |
| `USE_LEGIBLE_FONT_SIZES` | Font size is too small for easy reading on a small screen. [Learn More](https://support.google.com/webmasters/answer/6352293#small_font_size#error-list). |
| `TAP_TARGETS_TOO_CLOSE` | Touch elements are too close to each other. [Learn more](https://support.google.com/webmasters/answer/6352293#touch_elements_too_close#error-list). |

## RichResultsInspectionResult

Rich-Results inspection result, including any rich results found at this URL.

| JSON representation ||
|---|---|
| ``` { "detectedItems": [ { object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#DetectedItems`) } ], "verdict": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`) } ``` |

| Fields ||
|---|---|
| `detectedItems[]` | ``object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#DetectedItems`)`` A list of zero or more rich results detected on this page. Rich results that cannot even be parsed due to syntactic issues will not be listed here. |
| `verdict` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Verdict`)`` High-level rich results inspection result for this URL. |

## DetectedItems

Rich Results items grouped by type.

| JSON representation ||
|---|---|
| ``` { "items": [ { object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Item`) } ], "richResultType": string } ``` |

| Fields ||
|---|---|
| `items[]` | ``object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Item`)`` List of Rich Results items. |
| `richResultType` | `string` Rich Results type |

## Item

A specific rich result found on the page.

| JSON representation ||
|---|---|
| ``` { "issues": [ { object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RichResultsIssue`) } ], "name": string } ``` |

| Fields ||
|---|---|
| `issues[]` | ``object (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#RichResultsIssue`)`` A list of zero or more rich result issues found for this instance. |
| `name` | `string` The user-provided name of this item. |

## RichResultsIssue

Severity and status of a single issue affecting a single rich result instance on a page.

| JSON representation ||
|---|---|
| ``` { "issueMessage": string, "severity": enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Severity`) } ``` |

| Fields ||
|---|---|
| `issueMessage` | `string` Rich Results issue type. |
| `severity` | ``enum (`https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult#Severity`)`` Severity of this issue: WARNING, or ERROR. Items with an issue of status ERROR cannot appear with rich result features in Google Search results. |