# Data export

Match Play offers a small handful of easy-to-access data exports. If you need more power, use the [Match Play API](/data-crunching/match-play-api.md).

Some of these exports will generate CSV files you can import these into your spreadsheet software.

## Export OPDB

The entire OPDB dataset in a single JSON file (about 1.3MB):

```
https://mp-data.sfo3.cdn.digitaloceanspaces.com/latest-opdb.json
```

## Export PinTips

The entire PinTips dataset in a single JSON file (about 860KB):

```
https://mp-data.sfo3.cdn.digitaloceanspaces.com/latest-pintips.json
```

## Export Match Play Ratings

The latest ratings for all players are available in a single CSV file (about 5MB and 100,000 rows):

```
https://mp-ratings.sfo3.cdn.digitaloceanspaces.com/latest-ratings.csv
```

## Export players

Enter the following URL into your browser, replacing `TOURNAMENT_ID` with the numeric id for your tournament:

```php
https://app.matchplay.events/api/tournaments/TOURNAMENT_ID/players/csv
```

## Export single-player games

Enter the following URL into your browser, replacing `TOURNAMENT_ID` with the numeric id for your tournament:

```php
https://app.matchplay.events/api/tournaments/TOURNAMENT_ID/single-player-games/csv
```

## Export match play games

Enter the following URL into your browser, replacing `TOURNAMENT_ID` with the numeric id for your tournament:

```php
https://app.matchplay.events/api/tournaments/TOURNAMENT_ID/games/csv
```

## Export entries

Enter the following URL into your browser, replacing `TOURNAMENT_ID` with the numeric id for your tournament:

```php
https://app.matchplay.events/api/tournaments/TOURNAMENT_ID/entries/csv
```


---

# Agent Instructions: 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:

```
GET https://docs.matchplay.events/data-crunching/data-export.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
