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

# List Contexts

List the available context variations for the project's active scope - every region, its currency, and the supported locales (each with the URL it's reachable at). Useful for building region/language switchers and for discovering valid `region`/`locale` values to pass to [Update Context](https://docs.frontic.com/reference/fetch-api/update-context.md).

## Path Parameters

**project-token** `string` *required*

Your project's Fetch token, embedded in the subdomain.

## Headers

**fs-context** `string`

Optional. When set, the response is the variations available within this token's scope.

**fs-domain** `string`

Optional. When set without `fs-context`, the response is the variations for the scope tied to this domain.

**fs-secret** `string`

Required when the project has fetch API keys configured.

## Response

Returns an array of context variations. The active `contextKey` (created or reused) is also returned in the `fs-context` response header.

**region** `string` *required*

The region key.

**currency** `string` *required*

The region's ISO 4217 currency code.

**locales** `array` *required*

Supported locales for the region, each with:

* `key` - locale code (e.g. `de-DE`)
* `url` - domain mapping URL for this region+locale combination

### Status codes

| Code | When |
| - | - |
| `200` | Variations returned |
| `401` | `fs-secret` missing or wrong (only when the project has fetch keys configured) |
| `422` | `FETCH_API_LIMIT_EXCEEDED` - project's plan limit for Fetch API requests exceeded |

```bash curl theme={"theme":"css-variables"}
curl 'https://fetch-<project-token>.frontic.com/context' \
  -H 'fs-context: <context-key>'
```

```json 200 OK theme={"theme":"css-variables"}
[
  {
    "region": "eu",
    "currency": "EUR",
    "locales": [
      { "key": "de-DE", "url": "https://<your-shop>/de" },
      { "key": "en-GB", "url": "https://<your-shop>/uk" },
      { "key": "fr-FR", "url": "https://<your-shop>/fr" }
    ]
  },
  {
    "region": "us",
    "currency": "USD",
    "locales": [
      { "key": "en-US", "url": "https://<your-shop>/us" }
    ]
  }
]
```


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