Public API

List Sweatpals markets (cities)

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

get/public/v1/markets

Request

  • Base URL
    https://ilove.sweatpals.com/api
  • Auth
    none declared

Response

All active markets, alphabetically.

Example response

{
  "markets": [
    {
      "slug": "austin-tx",
      "name": "Austin",
      "region": "Texas",
      "country": "United States",
      "lat": 30.2672,
      "lng": -97.7431,
      "url": "https://sweatpals.com/discover?city=austin"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.