ProSide Golf Courses API

The courses API from ProSide Golf — 8 operation(s) for courses.

GitHub OpenAPI

Operations 8

GET /api/v1/courses/search Search Courses #
GET /api/v1/courses/nearby Courses Nearby #
GET /api/v1/courses/nearby/nearest Nearest Course #
GET /api/v1/courses/{course_id}/active-players Active Players At Course #
GET /api/v1/courses/{course_id} Get Course Detail #
GET /api/v1/courses/{course_id}/contact-details Get Course Contact Details #
GET /api/v1/courses/{course_id}/handicaps Calculate Course Handicaps #
POST /api/v1/courses/import-ghin Import Ghin Course #

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-courses-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-courses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProSide Golf Courses API
  version: 3.0.0
tags:
- name: Courses
paths:
  /api/v1/courses/search:
    get:
      tags:
      - Courses
      summary: Search Courses
      description: 'Search selectable current courses by name, then use GHIN when needed.


        Historical versions remain available through direct event/course references

        but are not offered for new rounds. Trailing GHIN year suffixes are ignored

        for matching without changing stored display names.'
      operationId: search_courses_api_v1_courses_search_get
      security:
      - HTTPBearer: []
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Q
      - name: state
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: State
      - name: lat
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          title: Lat
      - name: lon
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          title: Lon
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 20
          title: Limit
      - name: local_only
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Local Only
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/courses/nearby:
    get:
      tags:
      - Courses
      summary: Courses Nearby
      description: 'Return golf courses near the given GPS coordinate.


        Results include the GHIN course ID and facility name — use the GHIN course

        ID with POST /courses/import-ghin to fully import tee/rating data.


        facility_name is critical for multi-course facilities: after detecting

        a course, search by facility_name to surface all courses at the same

        property so the player can choose the one they are playing.


        Rate limited: 10 calls per player per 10-minute window.'
      operationId: courses_nearby_api_v1_courses_nearby_get
      security:
      - HTTPBearer: []
      parameters:
      - name: lat
        in: query
        required: true
        schema:
          type: number
          maximum: 90.0
          minimum: -90.0
          description: Player GPS latitude
          title: Lat
        description: Player GPS latitude
      - name: lng
        in: query
        required: true
        schema:
          type: number
          maximum: 180.0
          minimum: -180.0
          description: Player GPS longitude
          title: Lng
        description: Player GPS longitude
      - name: radius
        in: query
        required: false
        schema:
          type: integer
          maximum: 20000
          minimum: 50
          description: Search radius in meters. 500 = 'am I on this course'; up to 20000 = 'find courses near me'.
          default: 500
          title: Radius
        description: Search radius in meters. 500 = 'am I on this course'; up to 20000 = 'find courses near me'.
      - name: max_results
        in: query
        required: false
        schema:
          type: integer
          maximum: 20
          minimum: 1
          default: 5
          title: Max Results
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CourseProximityPreviewResponse'
                title: Response Courses Nearby Api V1 Courses Nearby Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/courses/nearby/nearest:
    get:
      tags:
      - Courses
      summary: Nearest Course
      description: 'Return all courses at the nearest golf facility, or 404.


        Used by the Flutter ''Detect My Course'' flow. At the default 500 m radius,

        this identifies the facility the player is standing on and returns all

        courses within it (e.g. both East and West courses at Winged Foot).'
      operationId: nearest_course_api_v1_courses_nearby_nearest_get
      security:
      - HTTPBearer: []
      parameters:
      - name: lat
        in: query
        required: true
        schema:
          type: number
          maximum: 90.0
          minimum: -90.0
          title: Lat
      - name: lng
        in: query
        required: true
        schema:
          type: number
          maximum: 180.0
          minimum: -180.0
          title: Lng
      - name: radius
        in: query
        required: false
        schema:
          type: integer
          maximum: 5000
          minimum: 50
          default: 500
          title: Radius
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CourseProximityPreviewResponse'
                title: Response Nearest Course Api V1 Courses Nearby Nearest Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/courses/{course_id}/active-players:
    get:
      tags:
      - Courses
      summary: Active Players At Course
      description: 'Return players with an active play_now round at this course.


        Used by the Play Now settings sheet to show ''nearby players'' for quick add.

        Access is limited to an active participant at the same course (or an

        explicit platform administrator), and the response contains only the

        identity fields needed to add a player.'
      operationId: active_players_at_course_api_v1_courses__course_id__active_players_get
      security:
      - HTTPBearer: []
      parameters:
      - name: course_id
        in: path
        required: true
        schema:
          type: string
          title: Course Id
      - name: exclude_pairing_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Exclude Pairing Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/courses/{course_id}:
    get:
      tags:
      - Courses
      summary: Get Course Detail
      description: Get course with all tees and holes.
      operationId: get_course_detail_api_v1_courses__course_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: course_id
        in: path
        required: true
        schema:
          type: string
          title: Course Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/courses/{course_id}/contact-details:
    get:
      tags:
      - Courses
      summary: Get Course Contact Details
      description: Return selected-course contact data without blocking on provider errors.
      operationId: get_course_contact_details_api_v1_courses__course_id__contact_details_get
      security:
      - HTTPBearer: []
      parameters:
      - name: course_id
        in: path
        required: true
        schema:
          type: string
          title: Course Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CourseContactDetailsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/courses/{course_id}/handicaps:
    get:
      tags:
      - Courses
      summary: Calculate Course Handicaps
      description: 'Calculate course handicap for a given index across all active tees.


        WHS formula: Course Handicap = Handicap Index * (Slope / 113) + (Rating - Par)

        Rounded to nearest integer.'
      operationId: calculate_course_handicaps_api_v1_courses__course_id__handicaps_get
      security:
      - HTTPBearer: []
      parameters:
      - name: course_id
        in: path
        required: true
        schema:
          type: string
          title: Course Id
      - name: handicap_index
        in: query
        required: true
        schema:
          type: number
          title: Handicap Index
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/courses/import-ghin:
    post:
      tags:
      - Courses
      summary: Import Ghin Course
      description: 'Upsert a selected GHIN course.


        The selected course (facility + metadata + tees) is upserted synchronously

        so the local course_id is returned immediately. Sibling courses are no

        longer background-imported during the GHIN reduction stopgap.


        Freezing is enforced at tee level (tees.is_frozen) — frozen or referenced

        tees are never modified when GHIN data changes. A separate current tee

        version is materialized and older versions are retired from selection.'
      operationId: import_ghin_course_api_v1_courses_import_ghin_post
      security:
      - HTTPBearer: []
      parameters:
      - name: ghin_course_id
        in: query
        required: true
        schema:
          type: string
          title: Ghin Course Id
      - name: allow_inactive
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Allow Inactive
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '400':
          description: GHIN returned incomplete or invalid tee scoring data; nothing was imported.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GhinCourseImportFailureResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CourseProximityPreviewResponse:
      properties:
        ghin_course_id:
          type: string
          title: Ghin Course Id
        facility_name:
          type: string
          title: Facility Name
        course_name:
          type: string
          title: Course Name
        google_place_id:
          type: string
          title: Google Place Id
        lat:
          type: number
          title: Lat
        lng:
          type: number
          title: Lng
        match_score:
          type: number
          title: Match Score
        from_cache:
          type: boolean
          title: From Cache
        venue_status:
          type: string
          title: Venue Status
      type: object
      required:
      - ghin_course_id
      - facility_name
      - course_name
      - google_place_id
      - lat
      - lng
      - match_score
      - from_cache
      - venue_status
      title: CourseProximityPreviewResponse
      description: 'Proximity preview — not a full imported course record.


        Use ghin_course_id with POST /courses/import-ghin to import tee/rating data.

        facility_name is the GHIN FacilityName — use it to search for sibling courses

        at multi-course facilities (e.g. Bethpage State Park has four courses).'
    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
    GhinCourseImportFailureResponse:
      properties:
        detail:
          $ref: '#/components/schemas/GhinCourseImportFailureDetail'
      type: object
      required:
      - detail
      title: GhinCourseImportFailureResponse
    CourseContactDetailsResponse:
      properties:
        course_id:
          type: string
          title: Course Id
        course_name:
          type: string
          title: Course Name
        address_line:
          anyOf:
          - type: string
          - type: 'null'
          title: Address Line
        city:
          anyOf:
          - type: string
          - type: 'null'
          title: City
        state:
          anyOf:
          - type: string
          - type: 'null'
          title: State
        postal_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Postal Code
        formatted_address:
          anyOf:
          - type: string
          - type: 'null'
          title: Formatted Address
        phone_display:
          anyOf:
          - type: string
          - type: 'null'
          title: Phone Display
        phone_dial:
          anyOf:
          - type: string
          - type: 'null'
          title: Phone Dial
        google_maps_url:
          type: string
          title: Google Maps Url
        source:
          type: string
          title: Source
      type: object
      required:
      - course_id
      - course_name
      - google_maps_url
      - source
      title: CourseContactDetailsResponse
      description: Contact metadata loaded only after a player selects a course.
    GhinCourseImportFailureDetail:
      properties:
        code:
          type: string
          const: incomplete_ghin_course_data
          title: Code
        message:
          type: string
          title: Message
        ghin_course_id:
          type: string
          title: Ghin Course Id
      type: object
      required:
      - code
      - message
      - ghin_course_id
      title: GhinCourseImportFailureDetail
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer