---
title: "Get a market by ID"
method: GET
path: "/api/market/{id}"
tags: ["Market"]
---

# Get a market by ID

`GET /api/market/{id}`

## 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/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/market/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a single market with its associated territories (continents, countries, states, counties, cities)

## Path parameters

- `id` integer, required

## Query parameters

- `with` string

## Response `200`

Market details with territories

- object
  - `id` integer
  - `name` string
  - `continents` object[]
  - `countries` object[]
  - `states` object[]
  - `counties` object[]
  - `cities` object[]

## Other responses

- `401`: Unauthenticated
- `404`: Market not found

---

[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)
