Expari Betplace API Lite (0.0.1)

Download OpenAPI specification:Download

Authentication

API uses HTTP Basic access authentication. You need to send Authorization HTTP Request header:

Authorization: Basic <Base64 value of UTF-8 encoded "username:password">

Example:

Authorization: Basic ZXhwYXJpOmNvbGxwYXNzd29yZA==

Tips

Get information about tip

path Parameters
topicId
required
number

Topic identifier

Responses

Response samples

Content type
application/json
{
  • "topicId": 101,
  • "price": 2.3,
  • "percent": 90,
  • "sportId": 29,
  • "leagueId": 100,
  • "eventId": 10023,
  • "period": 0,
  • "type": "MONEYLINE",
  • "team": "HOME",
  • "side": "OVER",
  • "handicap": 2.5,
  • "profit": 1.5,
  • "status": "ACCEPTED"
}

Place more

path Parameters
topicId
required
number

Topic identifier

Responses

Response samples

Content type
application/json
{
  • "topicId": 101,
  • "price": 2.3,
  • "percent": 90,
  • "sportId": 29,
  • "leagueId": 100,
  • "eventId": 10023,
  • "period": 0,
  • "type": "MONEYLINE",
  • "team": "HOME",
  • "side": "OVER",
  • "handicap": 2.5,
  • "profit": 1.5,
  • "status": "ACCEPTED"
}

Place new tip

header Parameters
Content-type
required
string
Example: application/json

The value of header is required as 'application/json'

Request Body schema: application/json
sportId
required
number <int32>

Sport identifier

leagueId
required
number <int32>

League identifier

eventId
required
number <int64>

Event identifier

period
required
number <int32>

Period number

type
required
string (BetType)
Enum: "MONEYLINE" "TOTAL_POINTS" "SPREAD" "TEAM_TOTAL_POINTS"

Bet type

team
string (BetTeam)
Enum: "HOME" "AWAY" "DRAW"

Bet team

side
string (BetSide)
Enum: "OVER" "UNDER"

Bet side

handicap
number <double>

This is optional parameter for SPREAD, TOTAL_POINTS and TEAM_TOTAL_POINTS bet types.

content
string

Content of topic

Responses

Request samples

Content type
application/json
{
  • "sportId": 29,
  • "leagueId": 29,
  • "eventId": 29,
  • "period": 0,
  • "type": "MONEYLINE",
  • "team": "HOME",
  • "side": "OVER",
  • "handicap": 2.5,
  • "content": "Content of topic"
}

Response samples

Content type
application/json
{
  • "topicId": 101,
  • "price": 2.3,
  • "percent": 90,
  • "sportId": 29,
  • "leagueId": 100,
  • "eventId": 10023,
  • "period": 0,
  • "type": "MONEYLINE",
  • "team": "HOME",
  • "side": "OVER",
  • "handicap": 2.5,
  • "profit": 1.5,
  • "status": "ACCEPTED"
}