---
title: "Get all locations (public and private)"
method: GET
path: "/api/v1/synthetics/locations"
tags: ["Synthetics"]
---

# Get all locations (public and private)

`GET /api/v1/synthetics/locations`

Get the list of public and private locations available for Synthetic
tests. No arguments required.

## Response `200`

OK

- SyntheticsLocations — List of Synthetic locations.
  - `locations` SyntheticsLocation[] — List of Synthetic locations.
    - `id` string — Unique identifier of the location.
    - `name` string — Name of the location.

## Other responses

- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v1.md) · [All operations](https://skmtc.net/datadog/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v1/revisions/ca5871004d26/schema)
