---
title: "List Sweatpals markets (cities)"
method: GET
path: "/public/v1/markets"
tags: ["Public API"]
---

# List Sweatpals markets (cities)

`GET /public/v1/markets`

## Request

- Base URL: `https://ilove.sweatpals.com/api`
- URL: `https://ilove.sweatpals.com/api/public/v1/markets`
- Auth: none declared

Lists the cities (markets) where Sweatpals is active, with the `slug` to pass as `market` to search, the city center coordinates and a link to the city's discovery page.

Use it to turn a city the user mentions into a valid `market` value, to check whether Sweatpals covers a city, or to suggest nearby covered cities. Searching still works outside these markets with `lat`/`lng`.

Example: `GET /public/v1/markets`

## Response `200`

All active markets, alphabetically.

- PublicMarketsResponseDto
  - `markets` PublicMarketDto[], required
    - `slug` string, required: Pass as `market` to search.
    - `name` string, required
    - `region` string, nullable, required
    - `country` string, nullable, required
    - `lat` number, nullable, required
    - `lng` number, nullable, required
    - `url` string, required: Sweatpals discovery page for this market; the generic discover page (no city) when another market shares this city name.

## Other responses

- `429`: Rate limit exceeded (RATE_LIMITED).

---

[API](https://skmtc.dev/sweatpals/apis/sweatpals-public-api.md) - [All operations](https://skmtc.dev/sweatpals/apis/sweatpals-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sweatpals/apis/sweatpals-public-api/revisions/164492d152a9?raw)
