puckapi-com Time Series API

The Time-series API from puckapi-com — 1 operation(s) for time-series.

Operations 1

POST /v1/get_line_movement Line movement #

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

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

puckapi-com-time-series-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PuckAPI Time Series API
  version: 1.0.0
  description: PuckAPI hockey data. Every tool is a POST to /v1/{tool} with a JSON body of its arguments and costs the credits in x-credits. The same tools are an MCP server at https://mcp.puckapi.com/mcp and free accounts get credits every month at https://puckapi.com/signup
  termsOfService: https://puckapi.com/terms
  contact:
    name: PuckAPI support
    email: support@puckapi.com
    url: https://puckapi.com/docs
servers:
- url: https://mcp.puckapi.com
security:
- apiKey: []
- bearer: []
tags:
- name: Time-series
paths:
  /v1/get_line_movement:
    post:
      operationId: get_line_movement
      summary: Line movement
      description: 'Use when analyzing how betting lines moved over time. Returns time-series snapshots grouped by bookmaker. Most expensive tool (25 cr). If you only need current lines, use get_odds (10 cr) instead. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.'
      tags:
      - Time-series
      x-credits: 25
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                game_id:
                  type: string
                  description: NHL game ID
                bookmaker:
                  description: Filter by specific bookmaker key (lowercase)
                  type: string
              required:
              - game_id
              additionalProperties: false
      responses:
        '200':
          description: The result, wrapped in data.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      game_id:
                        type: string
                      home_team:
                        type: string
                      away_team:
                        type: string
                      movement:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties:
                          type: array
                          items:
                            type: object
                            properties:
                              bookmaker:
                                type: string
                              snapshotType:
                                type:
                                - string
                                - 'null'
                              source:
                                type:
                                - string
                                - 'null'
                              mlHome:
                                type:
                                - number
                                - 'null'
                              mlAway:
                                type:
                                - number
                                - 'null'
                              spreadHome:
                                type:
                                - number
                                - 'null'
                              total:
                                type:
                                - number
                                - 'null'
                              capturedAt:
                                type:
                                - string
                                - 'null'
                            required:
                            - bookmaker
                            - snapshotType
                            - mlHome
                            - mlAway
                            - spreadHome
                            - total
                            - capturedAt
                            additionalProperties: false
                    required:
                    - game_id
                    - home_team
                    - away_team
                    - movement
                    additionalProperties: false
                required:
                - data
        '400':
          description: Invalid arguments.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '402':
          description: Not enough credits.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '429':
          description: Rate limited.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
    bearer:
      type: http
      scheme: bearer
      description: The same API key as a bearer token.
externalDocs:
  description: Documentation
  url: https://puckapi.com/docs