> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.datafortennis.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.datafortennis.com/_mcp/server.

# Discover recent ATP singles prediction matches

GET https://api.datafortennis.com/v1/predictions/matches

Requires predictions entitlement. Recent activations from the previous48 hours, bounded by own match ID. No provider IDs, model features or historical corpus scans. Use each match_id with the prediction endpoint. Source states and membership may change between pages; the signed cursor binds the caller and this operation.

Reference: https://docs.datafortennis.com/api-reference/list-prediction-matches

## Authentication

- `Authorization` header (bearer token, required) — Private development credential: keyId.secret; rotate/revoke through the offline operations CLI.

## Request

### Query parameters

- `limit` (string, optional)
- `cursor` (string, optional)

### Headers

- `Idempotency-Key` (string, optional)

## Response

### 200

Recent operational ATP singles own IDs. Live pagination is dynamic and has no immutable historical release.

- `data` (list of V1PredictionsMatchesGetResponsesContentApplicationJsonSchemaDataItems, required)
- `meta` (V1PredictionsMatchesGetResponsesContentApplicationJsonSchemaMeta, required, nullable)
- `page` (V1PredictionsMatchesGetResponsesContentApplicationJsonSchemaPage, required)
- `error` (V1PredictionsMatchesGetResponsesContentApplicationJsonSchemaError, required, nullable)

## Errors

### 400 Bad Request Error

Request rejected or operational discovery unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 401 Unauthorized Error

Request rejected or operational discovery unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 403 Forbidden Error

Request rejected or operational discovery unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 404 Not Found Error

Request rejected or operational discovery unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 409 Conflict Error

Request rejected or operational discovery unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 410 Gone Error

Request rejected or operational discovery unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 413 Content Too Large Error

Request rejected or operational discovery unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 429 Too Many Requests Error

Request rejected or operational discovery unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

### 503 Service Unavailable Error

Request rejected or operational discovery unavailable

- `data` (ErrorData, required, nullable)
- `meta` (ErrorMeta, required, nullable)
- `page` (ErrorPage, required, nullable)
- `error` (ErrorError, required)

## Types

### V1PredictionsMatchesGetResponsesContentApplicationJsonSchemaDataItems

- `match_id` (string, required)
- `player_ids` (list of string, required)
- `player_names` (list of string, required)
- `status` (enum, required)
  - Allowed values: `warming`, `live`, `pending`, `stale`, `suspended`, `finished`, `unavailable`, `unsupported`

### V1PredictionsMatchesGetResponsesContentApplicationJsonSchemaMeta

### V1PredictionsMatchesGetResponsesContentApplicationJsonSchemaPage

- `limit` (integer, required)
- `next_cursor` (string, required, nullable)

### V1PredictionsMatchesGetResponsesContentApplicationJsonSchemaError

### ErrorData

### ErrorMeta

### ErrorPage

### ErrorError

- `code` (string, required)
- `message` (string, required)
- `request_id` (string, required)

## Examples

**Response**

```json
{
  "data": [
    {
      "match_id": "string",
      "player_ids": [
        "string"
      ],
      "player_names": [
        "string"
      ],
      "status": "warming"
    }
  ],
  "meta": {},
  "page": {
    "limit": 1,
    "next_cursor": "string"
  },
  "error": {}
}
```

**SDK Code**

```python
import requests

url = "https://api.datafortennis.com/v1/predictions/matches"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.datafortennis.com/v1/predictions/matches';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.datafortennis.com/v1/predictions/matches"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.datafortennis.com/v1/predictions/matches")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.datafortennis.com/v1/predictions/matches")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.datafortennis.com/v1/predictions/matches', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.datafortennis.com/v1/predictions/matches");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.datafortennis.com/v1/predictions/matches")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```