We're now on LinkedIn: For news and resources from Google Search on making your site discoverable,
follow us on LinkedIn.
Method: urlNotifications.getMetadata
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["Retrieves metadata about web documents previously notified to the Indexing API."],["Uses a `GET` request with the target URL as a query parameter."],["Requires an empty request body and returns `UrlNotificationMetadata` upon success."],["Needs authorization with the `https://www.googleapis.com/auth/indexing` scope."],["Provides a \"Try it!\" section for practical exploration."]]],["The core content describes how to retrieve metadata about a web document via the Indexing API. A `GET` request is sent to `https://indexing.googleapis.com/v3/urlNotifications/metadata`. The `url` parameter, representing the queried URL, is required. The request body must be empty. A successful response contains an instance of `UrlNotificationMetadata`. This operation is limited to URLs previously seen in successful Indexing API notifications and requires the `https://www.googleapis.com/auth/indexing` OAuth scope.\n"]]