AltSportsData

API Reference

Complete reference for the AltSportsData API

API Reference

The AltSportsData API provides programmatic access to comprehensive sports league data, analytics, and intelligence. All endpoints follow RESTful conventions and return JSON responses.

Base URL

https://api.altsportsdata.com

Authentication

Most endpoints require authentication via Bearer token or X-API-Key header:

Authorization: Bearer YOUR_API_KEY

or

X-API-Key: YOUR_API_KEY

Endpoints

Leagues

Core league data and operations:

Discovery

Search and discover leagues:

Valuation

League valuation and tier classification:

Sports & Metadata

Sports categories and archetypes:

Events

Sports events and schedules:

Markets

Betting and trading markets:

Utility

Health checks and API information:

Response Format

All API responses follow a standard structure:

{
  "data": { /* response data */ },
  "meta": {
    "total": 100,
    "page": 1,
    "limit": 20,
    "has_more": true,
    "api_version": "v1",
    "timestamp": "2026-03-07T00:00:00Z"
  }
}

Error Handling

Errors return appropriate HTTP status codes with detailed messages:

{
  "error": {
    "code": "invalid_request",
    "message": "Missing required parameter: league_id",
    "status": 400
  }
}

Rate Limits

API rate limits vary by subscription tier. Rate limit headers are included in all responses:

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1678901234

SDKs

Official SDKs are available for:

  • TypeScript/JavaScript: npm install altsportsdata
  • Python: pip install altsportsdata

See individual endpoint pages for SDK usage examples.

On this page