Skip to main content
POST
/
matches
/
simulate
Simulate Match
curl --request POST \
  --url https://padelapi.org/api/matches/simulate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "team_1": [
    123
  ],
  "team_2": [
    123
  ]
}
'
{
  "name": "<string>",
  "probability": {
    "team_1": 123,
    "team_2": 123
  },
  "players": {
    "team_1": [
      {
        "id": 123,
        "self": "<string>",
        "name": "<string>",
        "url": "<string>",
        "photo_url": "<string>",
        "category": "<string>",
        "ranking": "<string>",
        "points": 123,
        "height": 123,
        "nationality": "<string>",
        "birthplace": "<string>",
        "birthdate": "<string>",
        "age": "<string>",
        "hand": "<unknown>",
        "side": "<string>",
        "links": "<string>",
        "connections": {
          "matches": "<string>"
        }
      }
    ],
    "team_2": [
      {
        "id": 123,
        "self": "<string>",
        "name": "<string>",
        "url": "<string>",
        "photo_url": "<string>",
        "category": "<string>",
        "ranking": "<string>",
        "points": 123,
        "height": 123,
        "nationality": "<string>",
        "birthplace": "<string>",
        "birthdate": "<string>",
        "age": "<string>",
        "hand": "<unknown>",
        "side": "<string>",
        "links": "<string>",
        "connections": {
          "matches": "<string>"
        }
      }
    ]
  }
}

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
Required array length: 1 - 2 elements
team_2
integer[]
required
Required array length: 1 - 2 elements

Response

name
string
required
probability
object
required
players
object
required