OddsPapi Spor Bahis Oranları API Belgeleri

Bu doküman, 60'tan fazla spor dalında 300'den fazla küresel bahisçiden canlı bahis oranları, maç öncesi oranlar, oyuncu bahisleri, toplamlar, spreadler ve geçmiş oran verileri sunan gerçek zamanlı bir spor veri hizmeti olan OddsPapi Spor Oranları API'sini kullanmaya başlamak için ihtiyacınız olan her şeyi sağlar. Sadece birkaç dakika içinde, API anahtarınızla kimlik doğrulaması yapmayı, turnuva ve fikstür talep etmeyi, bahisçi oranlarını almayı ve düşük gecikmeli WebSocket akışımız aracılığıyla gerçek zamanlı bahis çizgisi hareketlerini yayınlamayı öğreneceksiniz.

1. AdımAPI anahtarınızı alın

Get your API key in your account settings

2. AdımBir spor için ligleri alın

Get the list of tournaments for your favorite sports

Ayrıntılar burada
ve
curl "https://api.oddspapi.io/v4/tournaments?sportId=10&apiKey={{YOUR_API_KEY}}"
[
  {
    "tournamentId": 17,
    "tournamentSlug": "premier-league",
    "tournamentName": "Premier League",
    "categorySlug": "england",
    "categoryName": "England",
    "futureFixtures": 231,
    "upcomingFixtures": 0,
    "liveFixtures": 0
  },
  {
    "tournamentId": 8,
    "tournamentSlug": "laliga",
    "tournamentName": "LaLiga",
    "categorySlug": "spain",
    "categoryName": "Spain",
    "futureFixtures": 229,
    "upcomingFixtures": 0,
    "liveFixtures": 0
  },
  "{ /* more tournaments... */ }"
]

3. AdımLiglere göre yaklaşan etkinlikleri ve oranları alın

Get the tournaments ids from step 2 and separate them with commas to get a list of upcoming fixtures and odds from a bookmaker

Use the oddsFormat parameter to show odds in either decimal or American format

Ayrıntılar burada
ve
curl "https://api.oddspapi.io/v4/odds-by-tournaments?bookmaker=pinnacle&tournamentIds=17,8&apiKey={{YOUR_API_KEY}}"
[
  {
    "fixtureId": "id1000001764618978",
    "participant1Id": 3,
    "participant2Id": 35,
    "sportId": 10,
    "tournamentId": 17,
    "seasonId": 130281,
    "statusId": 0,
    "hasOdds": true,
    "startTime": "2025-12-08T20:00:00.000Z",
    "trueStartTime": null,
    "trueEndTime": null,
    "updatedAt": "2025-12-02T08:01:48.812Z",
    "bookmakerOdds": {
      "pinnacle": {
        "bookmakerIsActive": true,
        "bookmakerFixtureId": "1620599468",
        "fixturePath": "https://www.pinnacle.com/en/e/e/e/1620599468/#all",
        "markets": {
          "101": {
            "outcomes": {
              "101": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "home",
                    "changedAt": "2025-12-07T22:50:48.515996+00:00",
                    "limit": 5000,
                    "playerName": null,
                    "price": 5.01,
                    "exchangeMeta": {}
                  }
                }
              },
              "102": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "draw",
                    "changedAt": "2025-12-07T22:50:48.516257+00:00",
                    "limit": 5000,
                    "playerName": null,
                    "price": 4.32,
                    "exchangeMeta": {}
                  }
                }
              },
              "103": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "away",
                    "changedAt": "2025-12-07T22:50:48.516384+00:00",
                    "limit": 7704,
                    "playerName": null,
                    "price": 1.649,
                    "exchangeMeta": {}
                  }
                }
              }
            },
            "bookmakerMarketId": "line/29/1980/1620128138/3377661430/0/moneyline"
          },
          "104": {
            "outcomes": {
              "104": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "1620599418",
                    "changedAt": "2025-12-07T21:33:08.962871+00:00",
                    "limit": 705,
                    "playerName": null,
                    "price": 1.709,
                    "exchangeMeta": {}
                  }
                }
              },
              "105": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "1620599419",
                    "changedAt": "2025-12-07T21:33:08.963137+00:00",
                    "limit": 500,
                    "playerName": null,
                    "price": 2.2,
                    "exchangeMeta": {}
                  }
                }
              }
            },
            "bookmakerMarketId": "1620128138/5608638792/1620599417"
          }
        }
      }
    }
  },
  {
    "fixtureId": "id1000000861624232",
    "participant1Id": 2820,
    "participant2Id": 2849,
    "sportId": 10,
    "tournamentId": 8,
    "seasonId": 130805,
    "statusId": 0,
    "hasOdds": true,
    "startTime": "2025-12-08T20:00:00.000Z",
    "trueStartTime": null,
    "trueEndTime": null,
    "updatedAt": "2025-11-30T14:00:59.994Z",
    "bookmakerOdds": {
      "pinnacle": {
        "bookmakerIsActive": true,
        "bookmakerFixtureId": "1620613130",
        "fixturePath": "https://www.pinnacle.com/en/e/e/e/1620613130/#all",
        "markets": {
          "101": {
            "outcomes": {
              "101": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "home",
                    "changedAt": "2025-12-07T20:45:17.225169+00:00",
                    "limit": 9986,
                    "playerName": null,
                    "price": 1.751,
                    "exchangeMeta": {}
                  }
                }
              },
              "102": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "draw",
                    "changedAt": "2025-12-07T20:45:17.225297+00:00",
                    "limit": 7500,
                    "playerName": null,
                    "price": 3.89,
                    "exchangeMeta": {}
                  }
                }
              },
              "103": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "away",
                    "changedAt": "2025-12-07T20:45:17.225365+00:00",
                    "limit": 7500,
                    "playerName": null,
                    "price": 4.81,
                    "exchangeMeta": {}
                  }
                }
              }
            },
            "bookmakerMarketId": "line/29/2196/1620122243/3377596534/0/moneyline"
          },
          "104": {
            "outcomes": {
              "104": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "1620613118",
                    "changedAt": "2025-12-07T20:45:15.476236+00:00",
                    "limit": 848,
                    "playerName": null,
                    "price": 1.884,
                    "exchangeMeta": {}
                  }
                }
              },
              "105": {
                "players": {
                  "0": {
                    "active": true,
                    "betslip": null,
                    "bookmakerOutcomeId": "1620613119",
                    "changedAt": "2025-12-07T20:45:15.476405+00:00",
                    "limit": 773,
                    "playerName": null,
                    "price": 1.97,
                    "exchangeMeta": {}
                  }
                }
              }
            },
            "bookmakerMarketId": "1620122243/5608474224/1620613117"
          }
        }
      }
    }
  },
  "{ /* more fixtures... */ }"
]

Host

Tüm istekler şu host’u kullanır https://api.oddspapi.io

Yetkilendirme

Tüm uç noktalar, bir istek parametresi olarak iletilmesi gereken bir API anahtarı gerektirir:

ParametreAnahtarDeğer
YetkilendirmeapiKey{{YOUR_API_KEY}}

Bize Ulaşın

Herhangi bir sorunuz, yardım ihtiyacınız veya bildirmek istediğiniz bir sorun varsa, bizimle şu adresten iletişime geçebilirsiniz [email protected].

Sonraki sayfaGET account
Bir sorun bildir
OddsPapi | Dokümantasyon genel bakış