Skip to main content
GET
Account Status
⚠️ Deprecated — This is the V1 Legacy API. It still works but is no longer maintained. We strongly recommend migrating to the Basketball V2 API for improved coverage, richer data, and support for 25+ sports.

Overview

The Basketball API provides comprehensive data for 50+ basketball leagues worldwide. All endpoints use the same authentication and follow consistent response patterns.
Base URL: https://api.sportsapipro.com/v1/basketballThe sports=2 parameter is automatically added to all requests.

Authentication

All endpoints require authentication via the x-api-key header:

Available Endpoints

Common Parameters

integer
Competition ID (e.g., 132 for NBA)
integer
Specific game ID for detailed endpoints
integer
Specific player ID for athlete endpoints
string
Date filter in YYYY-MM-DD format
integer
For efficient polling - returns only updates since this ID

Response Format

All responses follow this structure:
integer
Use this value in subsequent requests for efficient polling
integer
Suggested cache time-to-live in seconds

Rate Limits

Rate limits are shared across all sports APIs:

Key Competition IDs

Error Handling

All errors follow a consistent format with HTTP status codes and descriptive messages.

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Response

200

Account status retrieved successfully

Last modified on June 29, 2026