---
title: "GET /locations"
method: GET
path: "/locations"
tags: ["Location"]
---

# GET /locations

`GET /locations`

## Request

- Base URL: `https://gtmetrix.com/api/2.0`
- URL: `https://gtmetrix.com/api/2.0/locations`
- Auth: HTTP basic

Retrieve the location list

## Response `200`

Successfully indexed locations

## Other responses

- `400`: E40000: Unknown request
- `401`: E40100: Invalid API key
- `403`: E40300: E-mail address not validated
- `405`: E40500: HTTP method not allowed
- `429`: E42901: Rate limit exceeded
- `500`: E50000 Internal Server Error
- `502`: E50200 Application server temporarily unavailable
- `503`: E50300 Application server temporarily unavailable

---

[API](https://skmtc.dev/gtmetrix/apis/gtmetrix-openapi-specification.md) · [All operations](https://skmtc.dev/gtmetrix/apis/gtmetrix-openapi-specification/llms.txt) · [OpenAPI document](https://skmtc.dev/gtmetrix/apis/gtmetrix-openapi-specification/revisions/ef00e03bbfed?raw)
