ProSide Golf Stats API

The stats API from ProSide Golf — 5 operation(s) for stats.

GitHub OpenAPI

Operations 5

GET /api/v1/stats/players/{player_id}/snapshot Get Player Snapshot #
POST /api/v1/stats/players/{player_id}/snapshot/refresh Refresh Player Snapshot #
GET /api/v1/stats/rounds/{round_id}/players/{player_id} Get Round Hole Stats #
POST /api/v1/stats/rounds/{round_id}/players/{player_id}/holes/{hole_number} Upsert Hole Stat #
GET /api/v1/stats/rounds/{round_id}/players/{player_id}/summary Get Round Stat Summary #

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/proside-io:proside-io-stats-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

proside-io-stats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProSide Golf Stats API
  version: 3.0.0
tags:
- name: Stats
paths:
  /api/v1/stats/players/{player_id}/snapshot:
    get:
      tags:
      - Stats
      summary: Get Player Snapshot
      description: Get the most recent stat snapshot for a player.
      operationId: get_player_snapshot_api_v1_stats_players__player_id__snapshot_get
      security:
      - HTTPBearer: []
      parameters:
      - name: player_id
        in: path
        required: true
        schema:
          type: string
          title: Player Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SnapshotResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/stats/players/{player_id}/snapshot/refresh:
    post:
      tags:
      - Stats
      summary: Refresh Player Snapshot
      description: Recompute and return the player stat snapshot.
      operationId: refresh_player_snapshot_api_v1_stats_players__player_id__snapshot_refresh_post
      security:
      - HTTPBearer: []
      parameters:
      - name: player_id
        in: path
        required: true
        schema:
          type: string
          title: Player Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SnapshotResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/stats/rounds/{round_id}/players/{player_id}:
    get:
      tags:
      - Stats
      summary: Get Round Hole Stats
      description: Get all per-hole stats for a round/player.
      operationId: get_round_hole_stats_api_v1_stats_rounds__round_id__players__player_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: round_id
        in: path
        required: true
        schema:
          type: string
          title: Round Id
      - name: player_id
        in: path
        required: true
        schema:
          type: string
          title: Player Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HoleStatResponse'
                title: Response Get Round Hole Stats Api V1 Stats Rounds  Round Id  Players  Player Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/stats/rounds/{round_id}/players/{player_id}/holes/{hole_number}:
    post:
      tags:
      - Stats
      summary: Upsert Hole Stat
      description: Create or update a hole stat record.
      operationId: upsert_hole_stat_api_v1_stats_rounds__round_id__players__player_id__holes__hole_number__post
      security:
      - HTTPBearer: []
      parameters:
      - name: round_id
        in: path
        required: true
        schema:
          type: string
          title: Round Id
      - name: player_id
        in: path
        required: true
        schema:
          type: string
          title: Player Id
      - name: hole_number
        in: path
        required: true
        schema:
          type: integer
          title: Hole Number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HoleStatRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HoleStatResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/stats/rounds/{round_id}/players/{player_id}/summary:
    get:
      tags:
      - Stats
      summary: Get Round Stat Summary
      description: Get aggregate stat summary for a player's round.
      operationId: get_round_stat_summary_api_v1_stats_rounds__round_id__players__player_id__summary_get
      security:
      - HTTPBearer: []
      parameters:
      - name: round_id
        in: path
        required: true
        schema:
          type: string
          title: Round Id
      - name: player_id
        in: path
        required: true
        schema:
          type: string
          title: Player Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoundStatSummaryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RoundStatSummaryResponse:
      properties:
        putts:
          type: integer
          title: Putts
        fir_hit:
          type: integer
          title: Fir Hit
        fir_attempts:
          type: integer
          title: Fir Attempts
        gir:
          type: integer
          title: Gir
        scrambling_saves:
          type: integer
          title: Scrambling Saves
        scrambling_attempts:
          type: integer
          title: Scrambling Attempts
        sand_saves:
          type: integer
          title: Sand Saves
          default: 0
        sand_attempts:
          type: integer
          title: Sand Attempts
          default: 0
        penalties:
          type: integer
          title: Penalties
        birdies:
          type: integer
          title: Birdies
        pars:
          type: integer
          title: Pars
        bogeys:
          type: integer
          title: Bogeys
        doubles:
          type: integer
          title: Doubles
          default: 0
        triples_plus:
          type: integer
          title: Triples Plus
          default: 0
        eagles:
          type: integer
          title: Eagles
        holes_tracked:
          type: integer
          title: Holes Tracked
      type: object
      required:
      - putts
      - fir_hit
      - fir_attempts
      - gir
      - scrambling_saves
      - scrambling_attempts
      - penalties
      - birdies
      - pars
      - bogeys
      - eagles
      - holes_tracked
      title: RoundStatSummaryResponse
    HoleStatResponse:
      properties:
        id:
          type: string
          title: Id
        round_id:
          type: string
          title: Round Id
        player_id:
          type: string
          title: Player Id
        hole_number:
          type: integer
          title: Hole Number
        putts:
          anyOf:
          - type: integer
          - type: 'null'
          title: Putts
        fairway_result:
          anyOf:
          - type: string
          - type: 'null'
          title: Fairway Result
        fairway_hazard:
          anyOf:
          - type: string
          - type: 'null'
          title: Fairway Hazard
        gir:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Gir
        green_miss_direction:
          anyOf:
          - type: string
          - type: 'null'
          title: Green Miss Direction
        green_miss_hazard:
          anyOf:
          - type: string
          - type: 'null'
          title: Green Miss Hazard
        up_and_down:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Up And Down
        sand_save:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Sand Save
        scrambling_attempt:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Scrambling Attempt
        penalty_strokes:
          type: integer
          title: Penalty Strokes
        ob_count:
          type: integer
          title: Ob Count
        water_count:
          type: integer
          title: Water Count
        tee_club:
          anyOf:
          - type: string
          - type: 'null'
          title: Tee Club
        approach_club:
          anyOf:
          - type: string
          - type: 'null'
          title: Approach Club
        drive_distance:
          anyOf:
          - type: integer
          - type: 'null'
          title: Drive Distance
        policy_version:
          type: string
          title: Policy Version
        gir_effective:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Gir Effective
        up_and_down_opportunity:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Up And Down Opportunity
        up_and_down_effective:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Up And Down Effective
      type: object
      required:
      - id
      - round_id
      - player_id
      - hole_number
      - putts
      - fairway_result
      - fairway_hazard
      - gir
      - green_miss_direction
      - green_miss_hazard
      - up_and_down
      - sand_save
      - scrambling_attempt
      - penalty_strokes
      - ob_count
      - water_count
      - tee_club
      - approach_club
      - drive_distance
      - policy_version
      - gir_effective
      - up_and_down_opportunity
      - up_and_down_effective
      title: HoleStatResponse
    SnapshotResponse:
      properties:
        id:
          type: string
          title: Id
        player_id:
          type: string
          title: Player Id
        org_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Org Id
        snapshot_date:
          type: string
          title: Snapshot Date
        rounds_counted:
          type: integer
          title: Rounds Counted
        scoring_avg:
          anyOf:
          - type: number
          - type: 'null'
          title: Scoring Avg
        scoring_avg_net:
          anyOf:
          - type: number
          - type: 'null'
          title: Scoring Avg Net
        gir_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Gir Pct
        fir_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Fir Pct
        putts_per_round:
          anyOf:
          - type: number
          - type: 'null'
          title: Putts Per Round
        putts_per_gir:
          anyOf:
          - type: number
          - type: 'null'
          title: Putts Per Gir
        scrambling_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Scrambling Pct
        sand_save_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Sand Save Pct
        avg_drive_dist:
          anyOf:
          - type: number
          - type: 'null'
          title: Avg Drive Dist
        birdies_per_round:
          anyOf:
          - type: number
          - type: 'null'
          title: Birdies Per Round
        pars_per_round:
          anyOf:
          - type: number
          - type: 'null'
          title: Pars Per Round
        bogeys_per_round:
          anyOf:
          - type: number
          - type: 'null'
          title: Bogeys Per Round
      type: object
      required:
      - id
      - player_id
      - org_id
      - snapshot_date
      - rounds_counted
      - scoring_avg
      - scoring_avg_net
      - gir_pct
      - fir_pct
      - putts_per_round
      - putts_per_gir
      - scrambling_pct
      - sand_save_pct
      - avg_drive_dist
      - birdies_per_round
      - pars_per_round
      - bogeys_per_round
      title: SnapshotResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HoleStatRequest:
      properties:
        putts:
          anyOf:
          - type: integer
            maximum: 9.0
            minimum: 0.0
          - type: 'null'
          title: Putts
        fairway_result:
          anyOf:
          - type: string
            enum:
            - hit
            - miss
            - left
            - right
            - short
            - long
            - na
          - type: 'null'
          title: Fairway Result
        fairway_hazard:
          anyOf:
          - type: string
            enum:
            - rough
            - bunker
            - sand
            - water
            - ob
            - lost
            - lost_ball
          - type: 'null'
          title: Fairway Hazard
        gir:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Gir
        green_miss_direction:
          anyOf:
          - type: string
            enum:
            - short
            - short_left
            - left
            - long_left
            - long
            - long_right
            - right
            - short_right
          - type: 'null'
          title: Green Miss Direction
        green_miss_hazard:
          anyOf:
          - type: string
            enum:
            - rough
            - bunker
            - sand
            - water
            - ob
            - lost
            - lost_ball
          - type: 'null'
          title: Green Miss Hazard
        up_and_down:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Up And Down
        sand_save:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Sand Save
        penalty_strokes:
          anyOf:
          - type: integer
            maximum: 20.0
            minimum: 0.0
          - type: 'null'
          title: Penalty Strokes
        ob_count:
          anyOf:
          - type: integer
            maximum: 20.0
            minimum: 0.0
          - type: 'null'
          title: Ob Count
        water_count:
          anyOf:
          - type: integer
            maximum: 20.0
            minimum: 0.0
          - type: 'null'
          title: Water Count
        tee_club:
          anyOf:
          - type: string
            maxLength: 10
            minLength: 1
          - type: 'null'
          title: Tee Club
        approach_club:
          anyOf:
          - type: string
            maxLength: 10
            minLength: 1
          - type: 'null'
          title: Approach Club
        drive_distance:
          anyOf:
          - type: integer
            maximum: 1000.0
            minimum: 0.0
          - type: 'null'
          title: Drive Distance
      type: object
      title: HoleStatRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer