Skip to main content
POST
Search Head to Head Matches

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
team_1
integer[]
required

Player IDs on the first team. Pass one player or two.

Required array length: 1 - 2 elements
after_date
string<date> | null

Date after the match was played in YYYY-MM-DD format.

before_date
string<date> | null

Date before the match was played in YYYY-MM-DD format.

draw
enum<string> | null

Draw the match belongs to: main, qualy, or all for both. Defaults to main.

Available options:
main,
qualy,
all
team_2
(integer | null)[] | null

Player IDs on the opposing team. Omit it to get every match of team_1 regardless of the rival.

Required array length: 1 - 2 elements

Response

Paginated set of MatchResource

data
MatchResource ยท object[]
required
meta
object
required