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.
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
playerId | stringRequired | path | - |
opponentPlayerId | stringRequired | path | - |
strave-installation-id | stringRequired | header | - |
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 200400Response for status 400401Response for status 401403Response for status 403404Response for status 404429Response for status 429500Response for status 500503Response for status 503| Property | Type | Description |
|---|---|---|
data | objectRequired | - |
└playerId | stringRequired | - |
└opponentPlayerId | stringRequired | - |
└sharedMatches | integerRequired | - |
└player | objectRequired | - |
└kills | integerRequired | - |
└deaths | integerRequired | - |
└opponent | objectRequired | - |
└kills | integerRequired | - |
└deaths | integerRequired | - |
└updatedAt | string | nullRequired | - |
Cost #
1 esports API unit