Overtime V2 quote data

Get quote data for a ticket.

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

REST API

POST https://overtimemarketsv2.xyz/overtime-v2/networks/{{network}}/quote

See quote API endpoint with request/response examples under Postman documentation.

Example Request

https://overtimemarketsv2.xyz/overtime-v2/networks/10/quote

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
  }
}

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

Last updated