Travel Partner API
- URL
-
https://travelpartner.googleapis.com/ - Docs
- https://developers.google.com/hotels/hotel-prices/api-reference
In the Google Cloud Console Credentials page, create an API key in a project where the target API is enabled. For Developer Knowledge, the docs say to restrict the key to Developer Knowledge API; if you also use it for Gemini model calls, also allow Generative Language API. For Travel Partner / Hotel APIs, enable the product API in your project first and create the key from the same credentials page.
Set up Google authentication using the easiest supported path for your client. For MCP, Google documents user authentication via the Google Cloud CLI: install it, run gcloud init / sign in, and configure your AI application to use that identity as described in Authenticate to MCP servers. Google Cloud MCP docs also support agent identity flows for workloads on Google Cloud or external environments. This yields a bearer access token the client uses to call authenticated Google surfaces.