> 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/help-center/football/differences-between-match-schedule-api-endpoints.md).

# Differences between match schedule API endpoints

TheSports provides multiple match schedule API endpoints for different query dimensions. These endpoints use the same data format. Select the endpoint that best suits your needs.

{% columns %}
{% column %}

#### **BASIC DATA**

[**Match(recent)**](/thesports-docs/basic-data/match-recent.md)**:** Returns match schedule data for all upcoming matches and matches <mark style="color:red;">from the past 30 days</mark>.

[**Schedule and Results - date query**](/thesports-docs/basic-data/schedule-and-results-date-query.md)**:** Returns all matches scheduled within the 24-hour period beginning at the timestamp provided in the `tsp` parameter.&#x20;

[**Schedule and Results - season query(newest season)**](/thesports-docs/basic-data/schedule-and-results-season-query-newest-season.md)**:** Returns the complete match schedule for the season specified by the `season id` parameter. <mark style="color:red;">Only the latest season can be queried</mark>; match schedules for historical seasons are not available through this API endpoint.
{% endcolumn %}

{% column %}

#### **DATABASE DATA**

[**Match**](/thesports-docs/database-data/match.md)**:** Returns match schedule data for all upcoming matches and matches.

[**Schedule and Results - season query(all season)**](/thesports-docs/database-data/schedule-and-results-season-query-all-season.md)**:** Returns the complete match schedule for the season specified by the `season id` parameter. <mark style="color:red;">Both current and historical seasons can be queried.</mark>
{% endcolumn %}
{% endcolumns %}


---

# 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/help-center/football/differences-between-match-schedule-api-endpoints.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.
