Skip to main content
Returns which region served the request. Useful for confirming you’re hitting the regional endpoint you intended, or for debugging routing through api.snipp.gg.

Behavior

  • No authentication required.
  • region is the short region code (for example, eu-west-1 or us-west-1). Returns unknown if the server has no region configured.
  • country is the country name mapped from the region code (for example, United Kingdom). Omitted if no country mapping is available.
  • label is a human-readable form (for example, United Kingdom (eu-west-1)). Falls back to the raw region code if no country mapping is available.

Examples

Confirm EU West is responding:
curl -X GET "https://eu-west-1.api.snipp.gg/region"
Check which region api.snipp.gg routed you to:
curl -X GET "https://api.snipp.gg/region"

Responses

{
  "region": "eu-west-1",
  "country": "United Kingdom",
  "label": "United Kingdom (eu-west-1)"
}