Overtime V2 markets (protected)
Get a list of all markets or a single market details.
REST API
GET https://api.overtime.io/overtime-v2/networks/{network}/markets
GET https://api.overtime.io/overtime-v2/networks/{network}/markets/{{gameId}}
Path variables
network (required): 10 Optimism, 42161 Arbitrum, 8453 Base, 11155420 Optimism Sepolia.
See the markets API endpoint with request/response examples under Postman documentation.
All requests to this route must include a valid API key for authentication. The API key should be provided in the request header as x-api-key.
Example Request
Single game request
Request Parameters (as query string)
responseHash
string
Client-provided hash of the previous response. Server computes a SHA-1 hash of the would-be response and:
returns
"no change"if hashes matchotherwise returns the full payload
Notes: Used for lightweight polling / change detection.
includeHashInResponse
boolean
If "true", response becomes:
and markets will be "no change" if it matches responseHash.
includeProofs
boolean
Default false. When true, keeps the proof fields needed to place a bet on-chain. Not needed for view-only use.
onlyMainMarkets
boolean
For each parent market, returns only the “main” SPREAD and/or TOTAL child markets.
ungroup
boolean
Controls response shape:
"false"(default): markets response is grouped per sport"true": response is an ungrouped flat array of markets
minMaturity
number (timestamp-like numeric value)
Filters to markets with market.maturity >= minMaturity. Rounded down to whole minutes.
maxMaturity
number (timestamp-like numeric value)
Filters to markets with market.maturity <= maxmaturity.
status
string
Default open. One of open, paused, ongoing. Resolved and cancelled markets come from the closed markets endpoint.
sport
string
Filters markets by sport name.
leagueId
number
Filters markets to a single league ID.
typeId
number
Filters results to a single market type. When set, matching child markets are returned flattened, each as a market of its own.
leagueIds
string (comma-separated league IDs)
Filters markets to any of the specified leagues.
gameIds
string (comma-separated game IDs)
Filters markets to any of the specified game IDs. At most 20 game IDs per request; more returns 400.
typeIds
string (comma-separated type IDs)
Filters markets to any of the specified market type IDs. When set, matching child markets are returned flattened, each as a market of its own.
playerIds
string (comma-separated player IDs)
Filters player prop markets to any of the specified player IDs. When set, matching child markets are returned flattened, each as a market of its own.
lines
string (comma-separated market lines)
Filters markets by market.line. When set, matching child markets are returned flattened, each as a market of its own.
positions
string (comma-separated)
One position per gameIds entry. Used with includeProofs by callers without an API key.
includeFuturesInSport
any (treated as “enabled if present”)
When sport is provided, also includes futures markets whose “initial sport” matches the requested sport.
newFormat
boolean
Default false. When true, returns the compact format: typeLineStatusOdds (typeId|line|status|odds1:odds2[:odds3]), teams (home|away|tournament), playerIdAndName (playerId|playerName) and marketTypeIds joined with |.
Parameter names are case-insensitive.
Example Response
Response Parameters
responseHash
string
The hash of the markets response. It can be used in subsequent requests to check if markets have changed.
Returns
"no change"if the markets haven’t changed.Returns full market data if there are changes.
gameId
string
Game ID
subLeagueId
number
Game subleague ID. It is used for some sports (tennis and UFC) to separate different levels and rounds of tournaments. (needed on the contract side, not used on UI).
typeId
number
Type ID of the market. 0 for parent market (moneyline/winner). For other types see Overtime V2 market types.
line
number
Market line (if available).
maturity
number
Game start timestamp
maturityDate
date
Game start date and time
homeTeam
string
The name of the home team
awayTeam
string
The name of the away team
combinedPositions
CombinedPosition[][]
An array of combined positions if the market is that type (half-time/full-time, winner+total...)
proof
string[]
The Merkle proof used for the validation of market data on the contract side
StatusEnum
OPEN
0
PAUSED
1
RESOLVED
10
CANCELLED
255
StatusCodeEnum
OPEN
open
PAUSED
paused
RESOLVED
resolved
CANCELLED
cancelled
ONGOING
ongoing
PlayerProps
playerId
number
Player ID
playerName
string
The name of the player
CombinedPosition
typeId
number
The type ID of single market
position
number
The position on the single market
line
number
Single market line
Odds
american
number
American format of the odds
decimal
number
Decimal format of the odds
normalizedImplied
number
Normalized Implied format of the odds
Last updated

