Overtime Documentation
  • 🎾Get ready for Overtime
  • THE OVERDROP LEAGUE
  • ❓FAQ
  • ❗Sports Trading Guidelines
  • Free Bet
  • ABOUT OVERTIME SPORTSBOOK
    • 🏈Overtime V2 Architecture
    • Overtime Accounts
    • 🔴Onchain Live Markets
    • 🎲Odds Providers
    • 💵Onchain Free Bets
    • ⚖️Overtime Governance
    • 🐣History of Overtime
  • Overtime Guides
    • Providing Liquidity to Overtime
    • How to use Overtime
    • Current Incentives
    • Common User Mistakes
      • Deposited funds on the wrong network
    • Deposit USDC from Coinbase
    • Deposit USDC or USDT from Binance
      • Deposit from Binance Mobile App
      • Deposit from Binance Website
  • SPEED MARKETS
  • Introduction to Speed Markets
  • Chained Speed Markets
  • Speed Markets Trading Guide
  • Build Your Own Speed Markets App
  • Speed Market Deposit Guides
    • Deposit USDC from Coinbase
    • Deposit from Binance Mobile App
    • Deposit from Binance Website
  • FOR DEVELOPERS
  • 🔥Overtime V2 integration
    • Overtime V2 sports
    • Overtime V2 market types
    • Overtime V2 collaterals
    • Overtime V2 markets (protected)
    • Overtime V2 live markets (protected)
    • Overtime V2 user history
    • Overtime V2 quote data
    • Overtime V2 games info
    • Overtime V2 players info
    • Overtime V2 live scores
  • Links
    • ▶️Use the Dapp
    • ▶️Official Twitter
    • ▶️Medium
  • Resources
    • 📺Marketing Assets
    • ⚖️Terms of Use
Powered by GitBook
On this page
  • REST API
  • Example Request
  • Example Response
  • Response Parameters
  1. Overtime V2 integration

Overtime V2 user history

Get a user history. It returns all tickets grouped by status.

PreviousOvertime V2 live markets (protected)NextOvertime V2 quote data

Last updated 2 days ago

REST API

GET https://api.overtime.io/overtime-v2/networks/{{network}}/users/{{userAddress}}/history

See the user history API endpoint with request/response examples under .

Example Request

Example Response

{
  "open": [...],
  "claimable": [
    {
      "id": "0xaDD59A5F6c144B3cBd6AC9d10B848EEABa633f93",
      "timestamp": 1718478509000,
      "collateral": "THALES",
      "account": "0x9f8e4ee788D9b00A3409584E18034aA7B736C396",
      "buyInAmount": 38.58138411178477,
      "fees": 0.7716276822356954,
      "totalQuote": 0.5294647111772277,
      "payout": 72.86866017189656,
      "numOfMarkets": 1,
      "expiry": 1726254509000,
      "isResolved": false,
      "isPaused": false,
      "isCancelled": false,
      "isLost": false,
      "isUserTheWinner": true,
      "isExercisable": true,
      "isClaimable": true,
      "isOpen": false,
      "finalPayout": 0,
      "isLive": true,
      "sportMarkets": [
        {
          "gameId": "0x3430343338343400000000000000000000000000000000000000000000000000",
          "sport": "Soccer",
          "leagueId": 50,
          "subLeagueId": 50,
          "leagueName": "UEFA EURO 2024",
          "typeId": 0,
          "type": "winner",
          "maturity": 1718478569000,
          "maturityDate": "2024-06-15T19:09:29.000Z",
          "homeTeam": "Italy",
          "awayTeam": "Albania",
          "homeScore": 2,
          "homeScoreByPeriod": [
            2
          ],
          "awayScore": 1,
          "awayScoreByPeriod": [
            1
          ],
          "isOpen": false,
          "isResolved": true,
          "isCancelled": false,
          "isWinning": true,
          "isOneSideMarket": false,
          "line": 0,
          "isPlayerPropsMarket": false,
          "isOneSidePlayerPropsMarket": false,
          "isYesNoPlayerPropsMarket": false,
          "playerProps": {
            "playerId": 0,
            "playerName": "Player Name"
          },
          "selectedCombinedPositions": [],
          "position": 0,
          "odd": 0.52941176470611,
          "isGameFinished": true,
          "gameStatus": "finished"
        }
      ]
    }
  ],
  "closed": [...]
}

Response Parameters

Name
Type
Description

open

Open tickets

claimable

Claimable tickets

closed

Closed tickets

Ticket

Name
Type
Description

id

string

Ticket address

timestamp

number

Ticket created timestamp

collateral

string

Collateral used for ticket

account

string

Ticket owner address

buyInAmount

number

Ticket buy-in amount

fees

number

Ticket fees (paid by LP)

totalQuote

number

Ticket total quote

payout

number

Ticket payout

numOfMarkets

number

Number of markets on the ticket

expiry

number

Ticket expiry timestamp (90 days from creation)

isResolved

boolean

Is ticket resolved (exercised): true or false.

isPaused

boolean

Is ticket paused: true or false.

isCancelled

boolean

Is ticket cancelled (all markets on the ticket are cancelled): true or false.

isLost

boolean

Is ticket lost (by user): true or false.

isUserTheWinner

boolean

Is user the winner: true or false.

isExercisable

boolean

Is ticket exercisable (all markets are resolved): true or false.

isClaimable

boolean

Is ticket claimable (by user - user is the winner and not resolved): true or false.

isOpen

boolean

Is ticket open: true or false.

finalPayout

number

Final payout (set only for resolved tickets, otherwise is 0)

isLive

boolean

Is live ticket (ticket with live market): true or false.

sportMarkets

Selected markets on the ticket

TicketMarket

Name
Type
Description

gameId

string

Game ID

sport

string

leagueId

number

leagueName

string

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

string

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

isOpen

boolean

Is market open: true or false.

isResolved

boolean

Is market resolved: true or false.

isCancelled

boolean

Is market cancelled: true or false.

isWinning

boolean

Is winning market for the user: true or false.

isOneSideMarket

boolean

Is one-side market (motosport, golf winner...): true or false.

isPlayerPropsMarket

boolean

Is player props market: true or false.

isOneSidePlayerPropsMarket

boolean

Is one-side player props market (who will score first/last touchdown...): true or false.

isYesNoPlayerPropsMarket

boolean

Is YES/NO player props market (double-double, triple-double...): true or false.

playerProps

Player info (if player props market)

selectedCombinedPositions

Selected combined positions if the market is that type (half-time/full-time, winner+total...)

position

number

Selected position on the market

odd

Market odds

gameStatus

string

Current game status

isGameFinished

boolean

Is game finished: true or false.

homeScore

number | string

Home team score or player score if the market is player props market

awayScore

number | string

Away team score or 0 if the market is player props market

homeScoreByPeriod

number[]

Home team score by period

awayScoreByPeriod

number[]

Away team score by period

PlayerProps

Name
Type
Description

playerId

number

Player ID

playerName

string

The name of the player

playerScore

number | string

Player score

CombinedPosition

Name
Type
Description

typeId

number

The type ID of single market

position

number

The position on the single market

line

number

Single market line

Odds

Name
Type
Description

american

number

American format of the odds

decimal

number

Decimal format of the odds

normalizedImplied

number

Normalized Implied format of the odds

[]

[]

[]

[]

Game sport. See .

Game league ID. See .

Game league name. See .

Type ID of the market. 0 for parent market (moneyline/winner). For other types see .

Type of the market. See .

[]

🔥
Postman documentation
https://api.overtime.io/overtime-v2/networks/10/users/0x819a371aB4BfdeD173Edcf12b6D37c6C80E4a8C0/history
Overtime V2 sports
Overtime V2 sports
Overtime V2 sports
Overtime V2 market types
Overtime V2 market types
Ticket
Ticket
Ticket
TicketMarket
PlayerProps
CombinedPosition
Odds