openapi: 3.1.0
info:
title: Preciser Chart Data API
version: v1
description: The Preciser API delivers basketball and baseball game analytics generated by Preciser's AI/computer-vision pipeline as live stats feeds and widgets. The public API index at https://api.preciser.io advertises two data endpoints served from https://plg-api.preciser.io/v1. Access requires a Preciser account; contact Preciser for API credentials and onboarding.
contact:
name: Preciser
url: https://preciser.io/apis
x-api-index: https://api.preciser.io/
servers:
- url: https://plg-api.preciser.io/v1
description: Production
tags:
- name: Chart Data
paths:
/chart-data/id/{gameId}:
get:
operationId: getChartData
summary: Get chart data for a game
description: Returns the chart/statistics data feed for a single game, identified by its Preciser game identifier. Advertised by the Preciser API index.
parameters:
- name: gameId
in: path
required: true
description: Preciser identifier for the game.
schema:
type: string
responses:
'200':
description: Chart data for the requested game.
content:
application/json: {}
tags:
- Chart Data