Multi-table

Head to head

Use for two players' head to head: wins each, sets won, wins by surface and in finals, and every meeting with its score. Walkovers are listed but not counted as wins; incomplete records are not counted. Tour: atp (default) or wta; on the shared endpoint pass league: "wta" for the WTA. Costs 3 credits.

post/v1/get_head_to_head

Request

  • Base URL: https://mcp.acesapi.com
  • URL: https://mcp.acesapi.com/v1/get_head_to_head
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

player_idstring required

First player id.

opponent_idstring required

Second player id.

league'tennis' | 'wta'

League. Defaults to tennis. One of: tennis, wta.

Response

The result, wrapped in data.

Changes

No recorded changes to this operation across all 1 revision of this API.