acesapi-com Stats + aggregation API

The Stats + aggregation API from acesapi-com — 2 operation(s) for stats + aggregation.

Operations 2

POST /v1/get_player Player #
POST /v1/get_player_matches Player matches #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/acesapi-com:acesapi-com-stats-aggregation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

acesapi-com-stats-aggregation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AcesAPI Stats + aggregation API
  version: 1.0.0
  description: AcesAPI tennis data. Every tool is a POST to /v1/{tool} with a JSON body of its arguments and costs the credits in x-credits. The same tools are an MCP server at https://mcp.acesapi.com/mcp and free accounts get credits every month at https://acesapi.com/signup
  termsOfService: https://acesapi.com/terms
  contact:
    name: AcesAPI support
    email: support@acesapi.com
    url: https://acesapi.com/docs
servers:
- url: https://mcp.acesapi.com
security:
- apiKey: []
- bearer: []
tags:
- name: Stats + aggregation
paths:
  /v1/get_player:
    post:
      operationId: get_player
      summary: Player
      description: 'Use for a player profile: date of birth, country, height, playing hand; latest ranking; our rating overall and per surface with peak; career record (wins, losses, sets, games, tiebreaks, deciding sets), titles, finals and Grand Slam titles; record by surface; and the last 10 matches. Tour: atp (default) or wta; on the shared endpoint pass league: "wta" for the WTA. Costs 5 credits.'
      tags:
      - Stats + aggregation
      x-credits: 5
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                player_id:
                  type: string
                  description: Player id from search_players.
                league:
                  description: 'League. Defaults to tennis. One of: tennis, wta.'
                  type: string
                  enum:
                  - tennis
                  - wta
              required:
              - player_id
              additionalProperties: false
      responses:
        '200':
          description: The result, wrapped in data.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      tour:
                        type: string
                      player:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                      ranking:
                        anyOf:
                        - type: object
                          propertyNames:
                            type: string
                          additionalProperties: {}
                        - type: 'null'
                      rating:
                        anyOf:
                        - type: object
                          propertyNames:
                            type: string
                          additionalProperties: {}
                        - type: 'null'
                      record:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                      by_surface:
                        type: array
                        items:
                          type: object
                          propertyNames:
                            type: string
                          additionalProperties: {}
                      recent_matches:
                        type: array
                        items:
                          type: object
                          propertyNames:
                            type: string
                          additionalProperties: {}
                    required:
                    - tour
                    - player
                    - ranking
                    - rating
                    - record
                    - by_surface
                    - recent_matches
                    additionalProperties: false
                required:
                - data
        '400':
          description: Invalid arguments.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '402':
          description: Not enough credits.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '429':
          description: Rate limited.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
  /v1/get_player_matches:
    post:
      operationId: get_player_matches
      summary: Player matches
      description: 'Use for a player''s matches, newest first: tournament, surface, round, opponent, result, score by set and the player''s rating before and after. Filter by season, surface, opponent_id, tournament_id or draw. Tour: atp (default) or wta; on the shared endpoint pass league: "wta" for the WTA. Costs 5 credits.'
      tags:
      - Stats + aggregation
      x-credits: 5
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                player_id:
                  type: string
                  description: Player id from search_players.
                season:
                  description: Year.
                  type:
                  - string
                  - number
                surface:
                  type: string
                  enum:
                  - hard
                  - clay
                  - grass
                  - carpet
                opponent_id:
                  description: Only matches against this player.
                  type: string
                tournament_id:
                  description: Only this tournament edition, e.g. "188-2025".
                  type: string
                draw:
                  type: string
                  enum:
                  - main
                  - qualifying
                limit:
                  description: Max matches (default 50).
                  type: integer
                  minimum: 1
                  maximum: 500
                offset:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
                league:
                  description: 'League. Defaults to tennis. One of: tennis, wta.'
                  type: string
                  enum:
                  - tennis
                  - wta
              required:
              - player_id
              additionalProperties: false
      responses:
        '200':
          description: The result, wrapped in data.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      tour:
                        type: string
                      player_id:
                        type: string
                      name:
                        type: string
                      matches:
                        type: array
                        items:
                          type: object
                          propertyNames:
                            type: string
                          additionalProperties: {}
                      count:
                        type: number
                      next_offset:
                        type:
                        - number
                        - 'null'
                    required:
                    - tour
                    - player_id
                    - name
                    - matches
                    - count
                    additionalProperties: false
                required:
                - data
        '400':
          description: Invalid arguments.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '402':
          description: Not enough credits.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '429':
          description: Rate limited.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
    bearer:
      type: http
      scheme: bearer
      description: The same API key as a bearer token.
externalDocs:
  description: Documentation
  url: https://acesapi.com/docs