1. Global
Playbook-API
  • Global
    • Overview
    • Base URL (Servers)
    • Authentication
    • Rate Limits + Usage
    • Errors
    • League / sportKey Conventions
    • Support
  • Core Endpoints
    • Health
      GET
    • Me
      GET
    • Teams
      GET
    • Live Scores/Games
      GET
    • Team Stats
      GET
    • Injuries
      GET
    • Splits
      GET
    • Splits (Historical/History)
      GET
    • Odds-Games
      GET
    • Lines
      GET
    • Games
      GET
    • Recent Form
      GET
    • Head-to-Head
      GET
  • MLB
    • Pitcher Stats (Season)
      GET
    • Starting Pitchers
      GET
    • Ballpark Weather
      GET
    • Strikeout Predictor
      GET
    • MLB Starting Pitchers
      GET
    • MLB Strikeout Predictor
      GET
    • MLB Pitcher Stats
      GET
    • MLB Ballpark Weather
      GET
  • NFL
    • Roster
    • NFL Team Stats
    • Team vs. Opponent
    • Player vs. Opponent
    • NFL Rosters
    • NFL Team Stats
    • NFL Team vs. Opponent
    • NFL Player vs. Opponent
    • NFL Stadiums
    • NFL IR & Reserve Moves
  • Games & odds
    • Games & IDs
    • Game Lines
    • Games
    • Live Games
  • Player props
    • Player Props
    • Player Prop Splits
  • Betting data
    • Betting Splits
    • Betting Splits History
    • Large Wagers
    • Large Wagers Summary
  • Injuries & teams
    • Injuries
    • Teams
    • Team Stats
  • Form & matchups
    • Recent Form
    • Head-to-Head
  • NBA
    • NBA Roster Moves
  • Account
    • Account & Usage
  • Schemas
    • Error
  1. Global

Errors

Errors
The API uses standard HTTP status codes.
Status Codes
200 OK — request succeeded
400 Bad Request — missing/invalid parameters (ex: missing league)
401 Unauthorized — missing/invalid api_key
404 Not Found — endpoint not found
429 Too Many Requests — rate limit exceeded
500 Server Error — unexpected error
Error Response Format
Errors return JSON in this general shape:
{ "error": "Unauthorized", "message": "Invalid or missing api_key" }
Common Causes
401: api_key missing, misspelled param name, invalid key
400: league missing or not supported
429: too many requests in a short window
Modified at 2025-12-31 22:25:46
Previous
Rate Limits + Usage
Next
League / sportKey Conventions
Built with