> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snipp.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Region

> The region that served the request. No key required.

Returns the region that served the request. Use it to confirm a regional endpoint, or to see where `api.snipp.gg` routed you.

## Behavior

* No key required and not rate limited.
* `region` is the region code, for example `eu-west-1` or `us-west-1`, or `unknown` when the server has none configured.
* `country` is the country for that region, or `null` when there is no mapping.
* `label` is a readable form such as `United Kingdom (eu-west-1)`, falling back to the bare region code.

## Examples

```bash theme={null}
curl "https://api.snipp.gg/region"
```

```bash theme={null}
curl "https://eu-west-1.api.snipp.gg/region"
```

## Responses

```json theme={null}
{
  "region": "eu-west-1",
  "country": "United Kingdom",
  "label": "United Kingdom (eu-west-1)"
}
```


## OpenAPI

````yaml api-reference/openapi.json GET /region
openapi: 3.0.0
info:
  title: Snipp.gg API
  description: Image and video hosting API. Upload, manage, and share media files.
  version: 3.0.0
servers:
  - url: https://api.snipp.gg
    description: Default. Load-balanced across regions. No upload cap.
  - url: https://eu-west-1.api.snipp.gg
    description: EU West regional endpoint. Pins uploads and storage to EU West.
  - url: https://us-west-1.api.snipp.gg
    description: US West regional endpoint. Pins uploads and storage to US West.
  - url: https://flux.snipp.gg
    description: Alternative host. Capped at 100 MB per upload.
security:
  - apiKeyAuth: []
paths:
  /region:
    get:
      summary: Get Region
      description: The region that served the request. No key required.
      operationId: getRegion
      responses:
        '200':
          description: Success
          headers:
            request-id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                type: object
                properties:
                  region:
                    type: string
                  country:
                    type: string
                    nullable: true
                  label:
                    type: string
                required:
                  - region
                  - country
                  - label
              example:
                region: eu-west-1
                country: United Kingdom
                label: United Kingdom (eu-west-1)
      security: []
components:
  headers:
    RequestId:
      description: Unique ID for the request. Include it when contacting support.
      schema:
        type: string
        format: uuid
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: api-key
      description: Your API key from the Snipp Console

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.