> ## Documentation Index
> Fetch the complete documentation index at: https://oddspapi-v4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GET markets

> Bahis marketlerinin marketId, sonuçlar, periyot, handikap ve oyuncu bahsi bilgisiyle listesi. Oran yanıtlarındaki kimlikleri adlara eşler.

> [!NOTE]
>
> **Hız sınırı:** bu uç noktaya yapılan iki çağrı arasında API anahtarı başına en az 1 saniye olmalıdır. Daha sık çağrılar `429 RATE_LIMITED` alır. Her çağrı kotanızdan 1 istek harcar. [Sınırlar nasıl çalışır](https://oddspapi-v4.mintlify.site/tr/docs/errors.md#rate-limits)

Sistemde mevcut marketlerin listesini getirir.

## Uç nokta

```http theme={null}
GET /v4/markets
```

## İstek Parametreleri

* **language** `(a2)` — (İsteğe bağlı) Turnuva bilgilerinin döndürüleceği dil. Varsayılan değer `en` for English.

### Örnek İstek

```http theme={null}
GET /v4/markets?language=en
```

### Örnek Yanıt

```json theme={null}
[
  {
    "marketId": 101,
    "marketLength": 3,
    "marketName": "Full Time Result",
    "playerProp": false,
    "sportId": 10,
    "handicap": 0,
    "period": "fulltime",
    "marketType": "1x2",
    "outcomes": [
      {
        "outcomeId": 101,
        "outcomeName": "1"
      },
      {
        "outcomeId": 102,
        "outcomeName": "X"
      },
      {
        "outcomeId": 103,
        "outcomeName": "2"
      }
    ]
  },
  {
    "marketId": 104,
    "marketLength": 2,
    "marketName": "Both Teams To Score",
    "playerProp": false,
    "sportId": 10,
    "handicap": 0,
    "period": "fulltime",
    "marketType": "totals",
    "outcomes": [
      {
        "outcomeId": 104,
        "outcomeName": "Yes"
      },
      {
        "outcomeId": 105,
        "outcomeName": "No"
      }
    ]
  },
  {
    "marketId": 106,
    "marketLength": 2,
    "marketName": "Over Under Full Time",
    "playerProp": false,
    "sportId": 10,
    "handicap": 0.5,
    "period": "fulltime",
    "marketType": "totals",
    "outcomes": [
      {
        "outcomeId": 106,
        "outcomeName": "Over"
      },
      {
        "outcomeId": 107,
        "outcomeName": "Under"
      }
    ]
  }
]
```

## Yanıt (200 OK)

Başarılı bir istek üzerine sunucu şu durum koduyla yanıt verir `200` ve market nesnelerinden oluşan bir JSON dizisi döner. Her market nesnesi aşağıdaki alanları içerir:

* **marketId** `(number)` — Market için benzersiz tanımlayıcı.
* **marketLength** `(number)` — Marketteki sonuç sayısı.
* **marketName** `(string)` — Market adı.
* **playerProp** `(boolean)` — Marketin oyuncu bahsi olup olmadığını belirtir.
* **sportId** `(number)` — İlişkili sporun tanımlayıcısı.
* **handicap** `(number)` — Market için handikap değeri.
* **period** `(string)` — Marketin ilişkili olduğu oyun periyodu.
* **marketType** `(string)` — Market türü.
* **outcomes** `(array)` — Marketle ilişkili sonuç nesnelerinden oluşan dizi, her sonuç aşağıdakileri içerir::
  * **outcomeId** `(number)` — Sonuç için benzersiz tanımlayıcı.
  * **outcomeName** `(string)` — Sonuç adı.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.