# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overtime.io/overtime-v2-integration/overtime-v2-market-types.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
