Odds

GET https://volleyball.highlightly.net/odds Volleyball API
GET https://sports.highlightly.net/volleyball/odds All Sports API

Retrieve match odds.

Prematch refresh
Multiple times a day
Live refresh
Once every 10 minutes
Plan
Not available on Basic/Free
Pagination
limit and offset, 5 per page

Prematch or live

oddsType selects between prematch and live odds. Omit it and you get prematch.

The two refresh at very different rates. Prematch odds update multiple times a day, live odds every ten minutes, so polling live odds faster than that spends quota without returning anything new.

Querying

At least one primary query parameter must be specified. timezone, limit, offset and oddsType are secondary and do not count on their own.

The most common approach is matchId, which returns every market for one fixture. Alternatively use date with timezone to fetch all odds for a given day. League and bookmaker filters narrow it further, and bookmaker ids come from bookmakers.

Supported markets

Market Outcomes
Match Winner Home or Away. There is no way for the match to end in a draw.
Total Sets Complex. Variants such as "Total Sets 3.5" or "Total Sets 4.5". Each resolves to Over or Under.
Total Points Complex. Variants such as "Total Points 172.5" or "Total Points 174.5". Each resolves to Over or Under.
Odd or Even Whether the score of both teams is Odd or Even.
Correct Score Complex. Variants such as "Correct Score 3 : 0" or "Correct Score 3 : 1", each with a single outcome.

A complex market is one line per variant rather than one line per market, so Total Sets arrives as several entries distinguished by their threshold. Read the variant label rather than assuming one row per market.

How odds are grouped

Results are grouped by match. Each match then holds a list of priced markets, and every entry identifies the bookmaker by bookmakerId, says whether it is prematch or live, names the market, and carries its selections. bookmakerName may accompany the id.

A selection is a label and a price, so the Match Winner market arrives as two of them, Home and Away.

The same market appears once per bookmaker, which is what lets you compare prices. If you only display one bookmaker, filter by its id when you request rather than after, since the unfiltered response multiplies every market by the number of bookmakers covering that match.

Bookmaker odds rendered for a single match

Parameters

Parameter Type Description
oddsTypeoptional string Defines whether live or prematch odds will be returned.e.g. prematch
leagueIdoptional number No description in the spec.
leagueNameoptional string No description in the spec.
timezoneoptional stringdefault Etc/UTC Valid timezone identifier.e.g. Europe/London
bookmakerIdoptional number No description in the spec.e.g. 2
limitoptional numberdefault 5 No description in the spec.e.g. 5
offsetoptional numberdefault 0 No description in the spec.e.g. 0
matchIdoptional number No description in the spec.
bookmakerNameoptional string No description in the spec.e.g. 22Bet
dateoptional string Date that follows the YYYY-MM-DD format.

Request

curl --request GET \
  --url 'https://volleyball.highlightly.net/odds?oddsType=prematch&bookmakerId=2' \
  --header 'x-rapidapi-key: YOUR_API_KEY'
const params = new URLSearchParams({
  oddsType: 'prematch',
  bookmakerId: '2'
})
const response = await fetch(`https://volleyball.highlightly.net/odds?${params}`, {
  headers: {
    'x-rapidapi-key': process.env.HIGHLIGHTLY_API_KEY
  }
})

if (!response.ok) {
  throw new Error(`Highlightly responded ${response.status}`)
}

const data = await response.json()
import os
import requests

response = requests.get(
    'https://volleyball.highlightly.net/odds',
    params={
        'oddsType': 'prematch',
        'bookmakerId': '2',
    },
    headers={
        'x-rapidapi-key': os.environ['HIGHLIGHTLY_API_KEY'],
    },
    timeout=10,
)

response.raise_for_status()
data = response.json()

Response

dataVolleyballOddsResponse[]required9 fields
matchIdnumberrequired
oddsVolleyballMarketResponse[]required7 fields
bookmakerIdnumberrequired
bookmakerNamestring
typestringrequired
marketstringrequired
valuesVolleyballMarketSelectionResponse[]required2 fields
oddnumberrequired
valuestringrequired
paginationPaginationResponserequired3 fields
totalCountnumberrequiredAvailable number of items, relevant to the provided query.
offsetnumberrequired
limitnumberrequired
planPlanResponserequired2 fields
tierstringrequiredYour current API subscription tier.
messagestringrequiredExplanation message regarding your current tier.

Example response

200 application/json
{
  "data": [
    {
      "matchId": 138243181,
      "odds": [
        {
          "bookmakerId": 2,
          "bookmakerName": "22Bet",
          "type": "prematch",
          "market": "Match Winner",
          "values": [
            {
              "odd": 3.39,
              "value": "Home"
            }
          ]
        }
      ]
    }
  ],
  "pagination": {
    "totalCount": 490,
    "offset": 20,
    "limit": 100
  },
  "plan": {
    "tier": "BASIC",
    "message": "Some results might be hidden with FREE tier. Check your API coverage for more information: https://rapidapi.com/highlightly-api-highlightly-api-default/api/sport-highlights-api/details"
  }
}

Values are the examples declared in the OpenAPI spec, not a captured live response.

Errors

Status Description
400 Bad request descriptive error.
500 Internal server error.