Credentials and Testing
Learn how ALT Sports Data issues credentials and how to use them in the API, SDKs, MCP server, and interactive docs.
Credentials and Testing
ALT Sports Data issues you an API credential directly. Once you have it, you can use that same credential across the public API, official SDKs, and MCP workflows.
One credential, multiple interfaces
The same ALT Sports Data credential can be used to test routes in the interactive docs, authenticate SDK requests, and configure the MCP server.
How you receive access
- You contact ALT Sports Data for access.
- We issue your ALT Sports Data API credential.
- You use that credential in the docs, your code, or your AI tooling.
Where you can use it
- Interactive API Reference: open a route and test it from the right-side panel
- Direct HTTP requests: call the public API yourself
- SDKs: pass the credential into the TypeScript or Python client
- MCP Server: set the credential as
ALTSPORTSDATA_API_KEY
Testing inside the docs
The pure API Reference is the fastest place to confirm access.
- Open the route you want to test.
- Enter your credential in the interactive reference UI.
- Send the request from the right-side panel.
- Confirm the response shape and example payload before you write code.
Example usage
curl -X GET "https://api.altsportsdata.com/api/v1/public/sports" \
-H "X-API-KEY: YOUR_API_KEY"import { AltSportsData } from 'altsportsdata';
const client = new AltSportsData({
apiKey: process.env.ALTSPORTSDATA_API_KEY,
});import os
from altsportsdata import AltSportsData
client = AltSportsData(
api_key=os.getenv("ALTSPORTSDATA_API_KEY")
)ALTSPORTSDATA_API_KEY=your_api_key altsportsdata-mcpNext steps
- Start with Getting Started
- Explore the API Reference
- Use the SDKs
- Connect the MCP Server