---
title: "Surface splits"
method: POST
path: "/v1/get_surface_splits"
tags: ["Multi-table"]
---

# Surface splits

`POST /v1/get_surface_splits`

## Request

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

Use for a player's record by surface (hard, clay, grass, carpet): wins, losses, win rate, sets, share of games won, tiebreaks, deciding sets and 6-0 sets, plus the current surface ratings. For one season or the whole career; by_season splits each surface by year. Tour: atp (default) or wta; on the shared endpoint pass league: "wta" for the WTA. Costs 3 credits.

## Request body

- object
  - `player_id` string, required: Player id from search_players.
  - `season` union: Year (default the whole career).
    - string
    - number
  - `by_season` boolean: Split each surface by season.
  - `league` 'tennis' | 'wta': League. Defaults to tennis. One of: tennis, wta.

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `tour` string, required
    - `player_id` string, required
    - `name` string, required
    - `season` number, nullable, required
    - `overall` object, nullable, required
    - `splits` object[], required
    - `ratings` object, nullable, required

## Other responses

- `400`: Invalid arguments.
- `401`: Missing or invalid API key.
- `402`: Not enough credits.
- `429`: Rate limited.

---

[API](https://skmtc.dev/acesapi/apis/acesapi-api.md) · [All operations](https://skmtc.dev/acesapi/apis/acesapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/acesapi/apis/acesapi-api/revisions/01a182013f8b?raw)
