Accelerated Mobile Pages (AMP) URL API
Stay organized with collections
Save and categorize content based on your preferences.
Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list of public URL(s).
Service: acceleratedmobilepageurl.googleapis.com
All URIs below are relative to https://acceleratedmobilepageurl.googleapis.com
This service provides the following discovery document:
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 2023-08-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-08-30 UTC."],[[["\u003cp\u003eRetrieves a list of AMP URLs and their corresponding AMP Cache URLs for given public URLs.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eacceleratedmobilepageurl.googleapis.com\u003c/code\u003e service and the \u003ccode\u003ev1.ampUrls\u003c/code\u003e collection.\u003c/p\u003e\n"],["\u003cp\u003eOffers a \u003ccode\u003ebatchGet\u003c/code\u003e method to retrieve AMP URLs and AMP Cache URLs via a POST request.\u003c/p\u003e\n"],["\u003cp\u003eProvides a discovery document for service details at \u003ccode\u003ehttps://acceleratedmobilepageurl.googleapis.com/$discovery/rest?version=v1\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core functionality involves retrieving AMP URLs and their corresponding AMP Cache URLs for a set of public URLs. This is achieved via the `batchGet` method, which is accessed through a POST request to `/v1/ampUrls:batchGet`. The service, `acceleratedmobilepageurl.googleapis.com`, provides this functionality, and the discovery document is available at a specified URL. All URIs are relative to `https://acceleratedmobilepageurl.googleapis.com`.\n"],null,["# Accelerated Mobile Pages (AMP) URL API\n\nRetrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list of public URL(s).\n\n- [Collection: v1.ampUrls](#v1.ampUrls)\n\nService: acceleratedmobilepageurl.googleapis.com\n------------------------------------------------\n\nAll URIs below are relative to `https://acceleratedmobilepageurl.googleapis.com`\n\nThis service provides the following discovery document:\n\n- \u003chttps://acceleratedmobilepageurl.googleapis.com/$discovery/rest?version=v1\u003e\n\nCollection: [v1.ampUrls](/amp/cache/reference/acceleratedmobilepageurl/rest/v1/ampUrls)\n---------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| [batchGet](/amp/cache/reference/acceleratedmobilepageurl/rest/v1/ampUrls/batchGet) | `POST /v1/ampUrls:batchGet` Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format). |"]]