Global and regional service endpoints
This page describes Spanner REST global and regional service endpoints.
You can use a global or regional service endpoint to make requests to
Spanner.
Use a regional endpoint to enforce regional
restriction and ensure that your data is stored and processed within the same
region.
The Spanner REST global endpoint is https://spanner.googleapis.com.
The REST regional endpoint follows the format
https://spanner.<REGION>.rep.googleapis.com. For example, if you want to
enforce data guarantees in the regional instance configuration Dammam
(me-central2), use https://spanner.me-central2.rep.googleapis.com as your
regional endpoint. For more information, see Global and regional service endpoints.
For a list of regions that support regional endpoints, see
Regions available for regional endpoints.
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 2026-11-18 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 2026-11-18 UTC."],[],[]]