Method: urlNotifications.getMetadata

Gets metadata about a Web Document. This method can only be used to query URLs that were previously seen in successful Indexing API notifications. Includes the latest UrlNotification received via this API.

HTTP request

GET https://indexing.googleapis.com/v3/urlNotifications/metadata

The URL uses Google API HTTP annotation syntax.

Query parameters

Parameters
url

string

URL that is being queried.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of UrlNotificationMetadata.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/indexing

Try it!