PlayCaller Tennis API

ATP and WTA match results and schedules.

GitHub OpenAPI

Operations 4

GET /v1/tennis/rankings Official ATP/WTA rankings (Growth+) #
GET /v1/tennis/matches ATP and WTA match scores #
GET /v1/tennis/players/h2h Head-to-head record between two ATP/WTA players (Build+) #
GET /v1/tennis/players/{name}/game-log Per-player match history (Build+) #

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/playcallerapp-com:playcallerapp-com-tennis-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

playcallerapp-com-tennis-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PlayCaller Data Tennis API
  version: 1.4.0
  description: 'The PlayCaller Data API delivers real-time and historical sports intelligence for fantasy football, DFS, sports betting analytics, and AI-native applications.


    120 REST endpoints across NFL, MLB, NBA, NHL, College Football, Soccer, Tennis, Golf, and UFC — plus TypeScript SDK, Python SDK, and a native MCP server for AI agent and LLM workflow integration.


    ## Key capabilities

    - **9 sports** with live data pipelines: NFL, MLB, NBA, NHL, CFB, Soccer (EPL/MLS/La Liga/Bundesliga/Serie A/UCL), Tennis (ATP/WTA), Golf, UFC

    - **31,000+ canonical player identities** normalized across ESPN, Sleeper, Yahoo, and BallDontLie — import from any fantasy platform, resolve to one stable ID

    - **NFL injury reports**: active beat reporter signals refreshed every 2 hours — faster than mainstream aggregators

    - **Fantasy football & DFS signals**: waiver wire recommendations, start/sit analysis, player heat scores, opportunity trend detection

    - **AUC-validated ML models**: NFL opportunity trend (AUC 0.623 vs 0.560 gate), NBA confidence (AUC 0.847, 71× lift), MLB pitcher form (walk-forward validated) — all gated on model_registry ACTIVE status, never hollow heuristics

    - **Alpha metrics**: consistency score, momentum delta, opportunity ceiling per player

    - **Semantic similarity**: pgvector cosine search — find players with matching production profiles

    - **Real-time delivery**: SSE stream (Pro Insights+), HMAC-signed webhooks (Syndicate Alpha)

    - **AI-first / MCP-ready**: MCP server at `/mcp` — register as a tool in Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI agent to query live sports data natively

    - **SDKs**: `npm install @playcaller/sdk` (TypeScript), `pip install playcaller-sdk` (Python)


    ## Authentication

    All data endpoints require an `X-PlayCaller-Key` header. Keys are issued at playcallerapp.com/developer. Sandbox keys work immediately — no credit card required.


    Key format by tier: `pc_sbx_...` (Sandbox), `pc_bld_...` (Build), `pc_pri_...` (Pro Insights), `pc_syn_...` (Syndicate Alpha). Legacy keys issued before the V2 tier restructure may still carry `pc_hob_...` (Hobbyist) or `pc_pro_...` (Pro) prefixes.


    ## Base URLs

    - Data endpoints (v1 prefix): `https://api.playcallerapp.com/v1`

    - Intelligence endpoints (no prefix): `https://api.playcallerapp.com/intelligence`

    - Analytics endpoint (no prefix): `https://api.playcallerapp.com/analytics`

    - MCP server: `https://api.playcallerapp.com/mcp`

    - Account endpoints: `https://api.playcallerapp.com/daas`


    ## Tiers


    | Plan | Price | Daily calls | Req/min | Endpoints |

    |------|-------|------------|---------|-----------|

    | Developer Sandbox | Free | 200 | 20 | 64 |

    | Build | $99/mo | 2,000 | 60 | 64 |

    | Growth | $199/mo | 6,000 | 180 | 98 |

    | Pro Insights | $499/mo | 20,000 | 300 | 116 |

    | Syndicate Alpha | $1499/mo | Unlimited | Unlimited | 120 |


    ## Rate Limiting

    - `X-RateLimit-Limit`: Requests allowed per minute

    - `X-RateLimit-Remaining`: Remaining this window

    - `X-RateLimit-Reset`: Unix timestamp when window resets

    - `429` responses include a `Retry-After` header in seconds'
  contact:
    name: PlayCaller Support
    url: https://playcallerapp.com/developer/docs
  termsOfService: https://playcallerapp.com/developer/terms
servers:
- url: https://api.playcallerapp.com
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Tennis
  description: ATP and WTA match results and schedules.
paths:
  /v1/tennis/rankings:
    get:
      tags:
      - Tennis
      summary: Official ATP/WTA rankings (Growth+)
      description: 'Real official ATP/WTA rankings synced from ESPN, refreshed every 12h. Not a fantasy expert-consensus ranking — this is the actual tour ranking.


        **Tier access:** Growth, Pro Insights, Syndicate Alpha'
      operationId: getTennisRankings
      security:
      - ApiKeyAuth: []
      parameters:
      - name: tour
        in: query
        description: '''atp'' or ''wta'' (default atp)'
        schema:
          type: string
          enum:
          - atp
          - wta
          default: atp
        example: atp
      - name: limit
        in: query
        description: Max rows (default 50, max 150)
        schema:
          type: integer
          default: 50
        example: 50
      responses:
        '200':
          description: Tennis rankings
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  endpoint:
                    type: string
                  tour:
                    type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        rank:
                          type: integer
                        previous_rank:
                          type:
                          - integer
                          - 'null'
                        trend:
                          type:
                          - string
                          - 'null'
                        player_name:
                          type: string
                        points:
                          type:
                          - number
                          - 'null'
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '400':
          description: Invalid tour param
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '402':
          description: Growth tier or higher required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/tennis/matches:
    get:
      tags:
      - Tennis
      summary: ATP and WTA match scores
      description: 'Live and completed tennis matches across ATP and WTA tours. Returns player names, set scores, and match status.


        **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: getTennisMatches
      parameters:
      - name: tour
        in: query
        description: Tour filter (atp or wta)
        schema:
          type: string
          enum:
          - atp
          - wta
        example: atp
      - name: date
        in: query
        description: Match date (YYYY-MM-DD or 'today')
        schema:
          type: string
        example: today
      - name: state
        in: query
        description: Match state (in_progress, final, scheduled)
        schema:
          type: string
      - name: limit
        in: query
        description: Max results (default 50, max 200)
        schema:
          type: integer
      responses:
        '200':
          description: Tennis matches
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  endpoint:
                    type: string
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        match_id:
                          type: string
                        date:
                          type: string
                        tour:
                          type: string
                        state:
                          type: string
                        player_1:
                          type: string
                        player_2:
                          type: string
                        score_p1:
                          type: integer
                        score_p2:
                          type: integer
                        set:
                          type: integer
                        is_final:
                          type: boolean
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/tennis/players/h2h:
    get:
      tags:
      - Tennis
      summary: Head-to-head record between two ATP/WTA players (Build+)
      description: 'Computes a head-to-head match record between two players from stored ESPN match results. Player names are case-insensitive partial matches.


        **Tier access:** Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: getTennisH2H
      security:
      - ApiKeyAuth: []
      parameters:
      - name: player1
        in: query
        required: true
        description: First player name (partial match)
        schema:
          type: string
        example: Djokovic
      - name: player2
        in: query
        required: true
        description: Second player name (partial match)
        schema:
          type: string
        example: Alcaraz
      - name: tour
        in: query
        description: Tour filter (atp or wta)
        schema:
          type: string
          enum:
          - atp
          - wta
      - name: limit
        in: query
        description: Max matches (default 20, max 50)
        schema:
          type: integer
      responses:
        '200':
          description: Head-to-head record and match history
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  endpoint:
                    type: string
                  players:
                    type: object
                    properties:
                      player1:
                        type: string
                      player2:
                        type: string
                  h2h_record:
                    type: object
                    additionalProperties:
                      type: integer
                    description: Win counts keyed by each player's search name, plus total_matches
                  matches:
                    type: array
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                        tour:
                          type: string
                        tournament:
                          type: string
                        round:
                          type: string
                        player1:
                          type: string
                        player2:
                          type: string
                        score_p1:
                          type: integer
                        score_p2:
                          type: integer
                        winner:
                          type:
                          - string
                          - 'null'
                        is_final:
                          type: boolean
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '400':
          description: Missing player1 or player2 query parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '402':
          description: Build tier or higher required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: No head-to-head matches found for the given players
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/tennis/players/{name}/game-log:
    get:
      tags:
      - Tennis
      summary: Per-player match history (Build+)
      description: 'Returns a single player''s match history and win/loss record from stored ESPN match results. For a comparison between two named players, use `/v1/tennis/players/h2h` instead — this endpoint is per-player only.


        **Tier access:** Build, Growth, Pro Insights, Syndicate Alpha'
      operationId: getTennisPlayerGameLog
      security:
      - ApiKeyAuth: []
      parameters:
      - name: name
        in: path
        required: true
        description: Player name, hyphenated (case-insensitive partial match)
        schema:
          type: string
        example: alcaraz
      - name: tour
        in: query
        description: Tour filter (atp or wta)
        schema:
          type: string
          enum:
          - atp
          - wta
      - name: limit
        in: query
        description: Max matches (default 20, max 50)
        schema:
          type: integer
      responses:
        '200':
          description: Player match history and record
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  endpoint:
                    type: string
                  player:
                    type: string
                  record:
                    type: object
                    properties:
                      wins:
                        type: integer
                      losses:
                        type: integer
                      total_matches:
                        type: integer
                  matches:
                    type: array
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                        tour:
                          type: string
                        tournament:
                          type: string
                        round:
                          type: string
                        opponent:
                          type: string
                        score_player:
                          type: integer
                        score_opponent:
                          type: integer
                        result:
                          type:
                          - string
                          - 'null'
                          enum:
                          - win
                          - loss
                          - null
                        is_final:
                          type: boolean
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: INVALID_API_KEY
                message: The provided API key is invalid or has been revoked.
                documentation_url: https://playcallerapp.com/developer/docs
        '402':
          description: Build tier or higher required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: No matches found for the given player
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit or monthly quota exceeded
          headers:
            Retry-After:
              description: Seconds until rate limit resets
              schema:
                type: integer
              example: 42
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded. Try again in 42 seconds.
                documentation_url: https://playcallerapp.com/developer/docs/rate-limits
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      required:
      - error_code
      - message
      - documentation_url
      properties:
        error_code:
          type: string
          example: RATE_LIMIT_EXCEEDED
        message:
          type: string
          example: Rate limit exceeded. Try again in 42 seconds.
        documentation_url:
          type: string
          format: uri
          example: https://playcallerapp.com/developer/docs
        upgrade_url:
          type:
          - string
          - 'null'
          format: uri
          example: https://playcallerapp.com/developer/checkout?tier=pro
    ResponseMeta:
      type: object
      properties:
        sport:
          type: string
          example: nfl
        league:
          type: string
          example: nfl
          description: 'Present on multi-sport (ESPN-backed) endpoints; mirrors sport unless a sport has sub-leagues (e.g. soccer: epl/mls).'
        tier:
          type: string
          example: pro
        calls_remaining_this_month:
          type: integer
          example: 9843
        documentation_url:
          type: string
          format: uri
          example: https://playcallerapp.com/developer/docs
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-PlayCaller-Key
      description: Your PlayCaller API key. Obtain one free at playcallerapp.com/developer.