> For the complete documentation index, see [llms.txt](https://docs.thesports.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thesports.com/overview.md).

# Overview

## TheSports API Documentation

Integrate historical and real-time sports data across TheSports products.

Most data synchronization uses HTTP, including the initial Full update and later Incremental updates. For the **Real-time data** API endpoint, MQTT over WebSocket is recommended for receiving live changes.

{% columns %}
{% column %}

#### [Make your first request](/get-started/quickstart.md)

Authenticate and call a documented API endpoint.
{% endcolumn %}

{% column %}

#### [Receive live updates](/integration/websocket-via-mqtt.md)

Connect with MQTT over a TLS WebSocket.
{% endcolumn %}

{% column %}

#### [Choose a sport](#choose-a-sport)

Find the endpoint reference for your sport.
{% endcolumn %}
{% endcolumns %}

{% hint style="info" %}
**Shared hosts:**&#x20;

HTTP API `api.thesports.com`;&#x20;

MQTT over WebSocket `mq.thesports.com:443` with TLS.
{% endhint %}

### Choose a sport

| Sport         | Sport        | Sport      |
| ------------- | ------------ | ---------- |
| Football      | Basketball   | Tennis     |
| LOL           | DOTA2        | CSGO       |
| Volleyball    | Baseball     | Cricket    |
| Ice Hockey    | Handball     | Water Polo |
| Badminton     | Table Tennis | Snooker    |
| A.M. Football | F1           |            |

Each sport space contains its API endpoint and schema reference.

### Start here

1. Obtain credentials and whitelist access.
2. Choose a sport and API endpoint.
3. Make the initial HTTP request.
4. Connect to real-time updates when needed.

### Documentation map

* **Documentation** provides shared integration guidance.
* **Sport spaces** provide API endpoint and schema reference.
* **Help Center** provides operational explanations and support articles.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.thesports.com/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
