Get esports player head-to-head statistics

Compares two esports players over the matches they both played, with the kills and deaths of each. Both IDs must be different players. Requires the `esports_data` entitlement.

GET/api/v2/esports/players/{playerId}/head-to-head/{opponentPlayerId}

Parameters #

PropertyTypeLocationDescription
playerIdstringRequiredpath-
opponentPlayerIdstringRequiredpath-
strave-installation-idstringRequiredheader-

Request #

curl --request GET 'https://strave.gg/api/v2/esports/players/PLAYER_ID/head-to-head/OPPONENT_PLAYER_ID' \
  --header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'

Response #

200Response for status 200
application/json
400Response for status 400
application/json
401Response for status 401
application/json
403Response for status 403
application/json
404Response for status 404
application/json
429Response for status 429
application/json
500Response for status 500
application/json
503Response for status 503
application/json
PropertyTypeDescription
dataobjectRequired-
└playerIdstringRequired-
└opponentPlayerIdstringRequired-
└sharedMatchesintegerRequired-
└playerobjectRequired-
└killsintegerRequired-
└deathsintegerRequired-
└opponentobjectRequired-
└killsintegerRequired-
└deathsintegerRequired-
└updatedAtstring | nullRequired-

Cost #

1 esports API unit