ASD Platform
Odds & Markets APIAPI referenceEvents

Odds & Markets API

Get NLL event odds

Fetch NLL event-level (match) odds, moneyline, spread, totals.

GET
/api/v1/public/events/nll/{id}/odds

Authorization

X-API-KEY
X-API-KEY<token>

In: header

Path Parameters

id*string

NLL Event Id, the prefixed publicId, or the bare uuid

Response Body

application/json

application/json

application/json

curl -X GET "https://api.altsportsdata.com/api/v1/public/events/nll/nll:6db1687f-a590-4f1a-9ab4-396eee2fd232/odds"
{
  "numericSportId": 1174117206190029,
  "sportKey": "lacrosse",
  "sportName": "Lacrosse",
  "numericCompetitionId": 8234567890123,
  "competitionKey": "nll",
  "competitionName": "NLL",
  "matchWinner": {
    "groupId": 1,
    "publicId": "5dd20800-64a4-4a61-8a52-c775c9caeaa0",
    "moneyLine": {
      "marketId": 1,
      "status": "ACTIVE",
      "selection": "[]"
    },
    "spread": {
      "marketId": 1,
      "status": "ACTIVE",
      "selection": "[]"
    },
    "total": {
      "marketId": 22,
      "status": "ACTIVE",
      "selection": [
        {
          "probability": 42.75,
          "settlement": "LOSER",
          "odds": 2.34,
          "ends": 2.5,
          "homeLineup": "Stan/Manny",
          "awayLineup": "Correa/Ben",
          "type": "OVER",
          "outcomeId": "5dd20800-64a4-4a61-8a52-c775c9caeaa0"
        }
      ]
    }
  }
}
{
  "stack": "string",
  "message": "Event not found",
  "metadata": {},
  "statusCode": 403,
  "timestamp": "2023-02-07T19:43:08.187Z"
}
{
  "stack": "string",
  "message": "Event not found",
  "metadata": {},
  "statusCode": 403,
  "timestamp": "2023-02-07T19:43:08.187Z"
}