> For the complete documentation index, see [llms.txt](https://docs.overtime.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overtime.io/overtime-v2-integration/overtime-v2-market-types.md).

# Overtime V2 market types

## REST API <a href="#rest-api" id="rest-api"></a>

<mark style="color:green;">`GET`</mark>  `https://api.overtime.io/overtime-v2/market-types`

See market types API endpoint with request/response examples under [Postman documentation](https://documenter.getpostman.com/view/1435701/2sA3XY5Hao#bb4439de-b50b-47e7-b2ec-a45951ad4b32).

### Example Request

<https://api.overtime.io/overtime-v2/market-types>

### Example Response

{% tabs %}
{% tab title="200 OK" %}

```json
{
  "0": {
    "id": 0,
    "key": "winner",
    "name": "Winner",
    "resultType": 1
  },
  "10001": {
    "id": 10001,
    "key": "spread",
    "name": "Handicap",
    "resultType": 4
  }
}
```

{% endtab %}
{% endtabs %}

### Response Parameters <a href="#response-parameters" id="response-parameters"></a>

<table><thead><tr><th width="153">Name</th><th width="151">Type</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>number</td><td>Market type ID</td></tr><tr><td>key</td><td>string</td><td>Market type key</td></tr><tr><td>name</td><td>string</td><td>Market type name</td></tr><tr><td>resultType</td><td>number</td><td>Market type result type (needed on the contract side, not used on UI).</td></tr></tbody></table>
