openapi: 3.1.0 info: title: Stats Perform STATS Editorial Reference Data API description: The STATS API from Stats Perform provides a comprehensive REST interface for accessing sports data across American Football (NFL, NCAAF), Baseball (MLB, MiLB), Basketball (NBA, NCAAB), Hockey (NHL), Soccer (MLS, EPL, Champions League), Golf (PGA), and Tennis (ATP, WTA). The API provides live scores, box scores, standings, schedules, player and team statistics, play-by-play data, editorial content, photos, and historical records. Authentication requires an API key and a secret for HMAC signing. version: 1.0.0 contact: name: Stats Perform Support email: help@support.statsperform.com url: https://developer.stats.com/ termsOfService: https://www.statsperform.com/ servers: - url: https://api.stats.com/v1 description: Stats Perform STATS API security: - statsApiKey: [] tags: - name: Reference Data description: Access reference data including league definitions, network types, and decode tables for API response values. paths: /decode/networkTypes/: get: operationId: decodeNetworkTypes summary: Decode Network Types description: Returns the reference decode table for network type identifiers used in API responses. Path segments are case-sensitive. tags: - Reference Data parameters: - $ref: '#/components/parameters/ApiKeyParam' responses: '200': description: Network type decode table content: application/json: schema: type: object properties: apiResults: type: array items: type: object properties: networkTypeId: type: integer name: type: string '401': $ref: '#/components/responses/Unauthorized' components: responses: Unauthorized: description: Missing or invalid API key content: application/json: schema: type: object properties: message: type: string parameters: ApiKeyParam: name: api_key in: query required: true schema: type: string description: Your Stats Perform API key. securitySchemes: statsApiKey: type: apiKey in: query name: api_key description: API key assigned by Stats Perform. An API secret is also assigned for HMAC request signing. externalDocs: description: STATS API Developer Portal url: https://developer.stats.com/docs/get_started