---
title: "Get multiple markets v2"
method: GET
path: "/v2/affiliate/get_multiple_markets"
tags: ["market"]
---

# Get multiple markets v2

`GET /v2/affiliate/get_multiple_markets`

## Request

- Base URL: `https://cash.api.prophetx.co/partner`
- URL: `https://cash.api.prophetx.co/partner/v2/affiliate/get_multiple_markets`
- Auth: API key in header `Authorization`

get the list of markets. New fields added in v2 response:
- category_name: the name of the market's category
- sub_type: the sub-type of the market

## Query parameters

- `event_ids` integer[]
- `get_all_market` boolean
- `market_type` 'moneyline' | 'spread' | 'total' | 'sup_moneyline'
- `market_types` string[]
- `min_liquidity` number

## Response `200`

OK

- AffiliateListWithMultipleEventResponseV2

## Other responses

- `400`: Bad request
- `500`: Internal server error

---

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