---
title: "List all markets"
method: GET
path: "/api/market"
tags: ["Market"]
---

# List all markets

`GET /api/market`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/market`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/market/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of all markets with optional filtering, relationships, and demographics

## Query parameters

- `search` string
- `markets` string
- `with_demographics` boolean

## Response `200`

List of markets

- object[]
  - `id` integer
  - `name` string
  - `country_id` integer, nullable
  - `market_grouping_id` integer, nullable

## Other responses

- `401`: Unauthenticated

---

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