Predixsport Calibration API

The calibration API from Predixsport — 1 operation(s) for calibration.

GitHub OpenAPI

Operations 1

GET /v1/calibration/{sport}/{model_id} Calibration data for a deployed model #

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/predixsport-com:predixsport-com-calibration-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

predixsport-com-calibration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: predixsport-api Calibration API
  description: 'Public REST API for Predixsport AI sports prediction models. Probabilistic predictions and ratings for NBA, EuroLeague, football, ATP and WTA tennis, and the UEFA Champions League, powered by calibrated neural network and Poisson/Negative-Binomial regression models. EuroLeague adds per-player PIR projections and full calibrated spread/total distributions.


    **Authentication**: pass `Authorization: Bearer psk_` on every request. Mint a key at https://predixsport.com/api-access.


    **Rate limit**: free tier is **200 requests per calendar month** per user (shared across all your active keys). On exceeded quota the API returns `429 Too Many Requests` with `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix ts) and `X-RateLimit-Reset-Date` (YYYY-MM-DD) headers. Need more? See plans at https://predixsport.com/pricing.'
  version: 0.2.0
tags:
- name: calibration
paths:
  /v1/calibration/{sport}/{model_id}:
    get:
      tags:
      - calibration
      summary: Calibration data for a deployed model
      description: Returns the latest ``_deploy.json`` calibration payload published by the relevant AI pipeline. Use ``GET /v1/models`` to list valid (sport, model_id) pairs. The shape under ``data`` is sport- and task-specific — see the source data on the methodology page.
      operationId: calibration_for_model_v1_calibration__sport___model_id__get
      parameters:
      - name: sport
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/SportEnum'
      - name: model_id
        in: path
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 80
          pattern: ^[a-z0-9_]+$
          title: Model Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalibrationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CalibrationResponse:
      properties:
        sport:
          type: string
          enum:
          - nba
          - euroleague
          - football
          - tennis
          - wta
          - champions
          title: Sport
        model_id:
          type: string
          title: Model Id
        source_file:
          type: string
          title: Source File
          description: Filename the payload was read from. Either the upstream ``*_deploy.json`` (preferred — carries a timestamp in the filename) or, when the upstream copy is missing, the blessed ``<short>.json`` synced to ``web/static/data/calibration``.
        generated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Generated At
          description: Sortable ISO timestamp ("YYYY-MM-DD HH:MM:SS") for the source. Parsed from the filename when read upstream; from the ``timestamp`` field in the JSON payload when read from the blessed copy. ``null`` when neither carries one.
        data:
          type: object
          title: Data
          description: 'Calibration metrics as produced by the AI module''s calculate_calibration pipeline. Shape depends on model type: binary classifiers return reliability bins; multiclass models return per_class arrays.


            READING GUIDE — two independent metric families:

            • Calibration (does the stated probability match observed frequency?): `ece`, `calibration_mae`, `calibration_max_error`, `coverage_90`. A well-calibrated Poisson regressor has `coverage_90` ~0.90 and small `calibration_mae`; for noisy sport-stat regression `coverage_90` 0.78-0.85 with `calibration_mae` 0.05-0.10 is OPERATIONALLY ACCEPTABLE.

            • Accuracy (how close is the point estimate to truth?): `correlation`, `mae`, `rmse`, `brier_score`, `accuracy`. Independent of calibration — a low correlation on a Poisson regressor reflects high irreducible variance in the target, NOT miscalibration.


            There is intentionally NO binary ''pass / fail'' verdict in this payload: judging a model from a strict threshold misleads more than it informs on noisy sport-stat domains. Interpret the numeric metrics in context.


            `summary.source` names the upstream file stem the numbers were measured on. It matters where one model id has been served by successive training heads: the NBA per-player models read `player_points_full_roster` once the full-roster heads are deployed and `player_points` before that, and the metrics describe the population of the stem that is named.'
      type: object
      required:
      - sport
      - model_id
      - source_file
      - data
      title: CalibrationResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SportEnum:
      type: string
      enum:
      - nba
      - euroleague
      - football
      - tennis
      - wta
      - champions
      title: SportEnum