Stay organized with collections
Save and categorize content based on your preferences.
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.
Only me-central2 is available as a possible regional endpoint.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Global and regional service endpoints\n\nThis page describes Spanner REST global and regional service endpoints.\nYou can use a global or regional service endpoint to make requests to\nSpanner.\n\nUse a [regional endpoint](/spanner/docs/endpoints) to enforce regional\nrestriction and ensure that your data is stored and processed within the same\nregion.\n\nThe Spanner **REST global endpoint** is `https://spanner.googleapis.com`.\n\nThe **REST regional endpoint** follows the format\n`https://spanner.\u003cREGION\u003e.rep.googleapis.com`. For example, if you want to\nenforce data guarantees in the regional instance configuration Dammam\n(`me-central2`), use `https://spanner.me-central2.rep.googleapis.com` as your\nregional endpoint. For more information, see [Global and regional service endpoints](/spanner/docs/endpoints).\n\nOnly `me-central2` is available as a possible regional endpoint."]]