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
  • Request Parameters
  • Example Response
  • Response Parameters
  1. Overtime V2 integration

Overtime V2 quote data

Get quote data for a ticket.

PreviousOvertime V2 user historyNextOvertime V2 games info

Last updated 2 days ago

Users placing trades with THALES will get 1% extra payouts for each game they have on their ticket.

REST API

POST https://api.overtime.io/overtime-v2/networks/{{network}}/quote

See quote API endpoint with request/response examples under .

Example Request

Request body

{
    "buyInAmount": 20,
    "tradeData": [
        {
            "gameId": "0x3430343338353300000000000000000000000000000000000000000000000000",
            "sportId": 50,
            "typeId": 0,
            "maturity": 1719342000,
            "status": 0,
            "line": 0,
            "playerId": 0,
            "odds": [
                0.740740740741,
                0.102249488753,
                0.208768267223
            ],
            "merkleProof": [
                "0xc4788d799bccce5adea24c9a3088da1072ba0a4e7405184cf164cd8bc8dc715e",
                "0x8f2f3a9252434ac2320a8b9833608ef0bd382a145880216e28fc16048bbdf8b2",
                "0x7fd099566663a5ebede7a59fef79a517fba1d3d41e387393347d7c6934f9d284",
                "0x2673a92127311f5da209b213b893a2593355c8e3861dc58972ce6481a61cdc6e",
                "0x34fb69550251ccd91c37fe74fde3e871edec0cc72b34cf8f81dc062a9576e4e4",
                "0xba41529042360b755dc63ee09acc6e666eeae346d945a1b4067aef22b7e7e2b8"
            ],
            "position": 1,
            "combinedPositions": [
                [],
                [],
                []
            ],
            "live": false
        }
    ],
    "collateral": "THALES"
}

Request Parameters

Name
Type
Description

buyInAmount*

number

(Required) Buy-in amount

tradeData*

collateral

string

(Optional) Collateral used for trade. If omitted, default collateral will be used for quote.

TradeData

Name
Type
Description

gameId

string

sportId

number

typeId

number

maturity

number

status

number

line

number

playerId

number

odds

number[]

merkleProof

string[]

position

number

Selected position on the market.

combinedPositions

live

boolean

Always false. The quote endpoint is not used for live markets.

Example Response

{
  "quoteData": {
    "totalQuote": {
      "american": 887.8787878745005,
      "decimal": 9.878787878745005,
      "normalizedImplied": 0.10122699386547
    },
    "payout": {
      "THALES": 197.5757575749001,
      "usd": 49.08809212099907,
      "payoutCollateral": "THALES"
    },
    "potentialProfit": {
      "THALES": 177.5757575749001,
      "usd": 44.11905212099907,
      "percentage": 8.878787878745005
    },
    "buyInAmountInUsd": 4.96904
  },
  "liquidityData": {
    "ticketLiquidityInUsd": 1187
  }
}

{
    "quoteData": {
        "error": "Not enough liquidity for provided buy-in amount."
    },
    "liquidityData": {
        "ticketLiquidityInUsd": 1260
    }
}

Response Parameters

Name
Type
Description

quoteData

Ticket quote data

liquidityData

Ticket liquidity data

QuoteData

Name
Type
Description

totalQuote

Ticket total quote

payout

Ticket payout data

potentialProfit

Ticket profit data

buyInAmountInUsd

number

Buy-in amount in default collateral

PayoutData

Name
Type
Description

[collateral]

number

usd

number

Potential payout in default collateral

payoutCollateral

string

ProfitData

Name
Type
Description

[collateral]

number

usd

number

Potential profit in default collateral

percentage

number

Potential profit in percentage

LiquidityData

Name
Type
Description

ticketLiquidityInUsd

number

Available liquidity for the ticket in default collateral

[]

(Required) Markets data obtained from .

Game ID from .

Subleague ID from .

Type ID from .

Maturity from .

Status from .

Line from .

Player ID from .

Normalized Implied odds from .

Proof from .

[][]

Combined positions from .

Potential payout in collateral. Available only for THALES, ETH, or WETH. More about the V2 collateral upgrade in .

Default payout collateral. For THALES, ETH, or WETH only available payout collateral is the one used for trade. More about the V2 collateral upgrade in .

Potential profit in collateral. Available only for THALES, ETH, or WETH. More about the V2 collateral upgrade in .

🔥
Postman documentation
https://api.overtime.io/overtime-v2/networks/10/quote
Markets API
the Medium article
the Medium article
the Medium article
TradeData
QuoteData
LiquidityData
PayoutData
ProfitData
Markets API response
Markets API response
Markets API response
Markets API response
Markets API response
Markets API response
Markets API response
Markets API response
Markets API response
CombinedPosition
Markets API response
Odds