> This page is for Datasets.

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

# List exchanges

GET https://datasets.immix.xyz/v1/coverage

Each exchange the dataset holds, with its families, its first closed day and the day it is published through. A day is ready once the exchange's coverage lists it; the day's manifest is the authority. An exchange whose coverage the service cannot serve right now is left out until it can, while its days are still served.

Reference: https://docs.immix.xyz/datasets/reference/http-api/coverage/list

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Headers

- `X-Request-Id` (string, optional) — Your own id for the request: 8 to 128 of `[A-Za-z0-9._-]`. It becomes the request's id and is echoed on the response. A value off that grammar is replaced with a fresh id, never refused.

## Response

### 200

The exchanges.

- `exchanges` (list of CoverageExchange, required) — Each exchange with a closed day, ordered by its code.

## Errors

### 401 List Coverage Request Unauthorized Error

`UNAUTHENTICATED`: no key was sent, or the key does not exist, was deleted or carries the wrong secret.

- `error` (ErrorBody, required)
- `currentVersion` (string, optional) — On a 412 `VERSION_CONFLICT` from a conditional write that met a row: the row's current version (the `ETag` carries the same token); re-read, reapply, retry. Absent from every other response, a 412 for a row that no longer exists included.

### 403 List Coverage Request Forbidden Error

`FORBIDDEN_PRINCIPAL`: the key is disabled. `CUSTOMER_NOT_ACTIVE`: your customer account is disabled.

- `error` (ErrorBody, required)
- `currentVersion` (string, optional) — On a 412 `VERSION_CONFLICT` from a conditional write that met a row: the row's current version (the `ETag` carries the same token); re-read, reapply, retry. Absent from every other response, a 412 for a row that no longer exists included.

### 429 List Coverage Request Too Many Requests Error

`RATE_LIMITED`: too many requests from this key; wait `Retry-After` seconds.

- `error` (ErrorBody, required)
- `currentVersion` (string, optional) — On a 412 `VERSION_CONFLICT` from a conditional write that met a row: the row's current version (the `ETag` carries the same token); re-read, reapply, retry. Absent from every other response, a 412 for a row that no longer exists included.

### 503 List Coverage Request Service Unavailable Error

`SERVICE_UNAVAILABLE`: the service cannot reach its store or the dataset right now. Nothing about your request is wrong: retry after a short pause.

- `error` (ErrorBody, required)
- `currentVersion` (string, optional) — On a 412 `VERSION_CONFLICT` from a conditional write that met a row: the row's current version (the `ETag` carries the same token); re-read, reapply, retry. Absent from every other response, a 412 for a row that no longer exists included.

## Types

### CoverageExchange

One exchange, in brief.

- `exchange` (string, required) — The exchange code: the `{exchange}` of every other path.
- `first_day` (string, required) — The first closed day, a UTC date.
- `published_through` (string, required) — The last closed day the exchange's coverage holds, inclusive. It can be behind the day manifests, never ahead of them: the day's manifest is the authority.
- `families` (list of string, required) — The families with a file on any closed day, by name.

### ErrorBody

- `code` (string, required) — Machine-readable, UPPER_SNAKE and append-only; tolerate codes you don't know. Branch on this, never on the message.
- `message` (string, required) — For display only; its wording may change at any time.
- `retryable` (boolean, required) — Whether sending the identical request again, after `Retry-After` or a short pause, can succeed with nothing else changed. `false` where something must change first: the request, the caller's standing, or the platform's own records or deployment.
- `requestId` (string, required) — The request's id, also sent as X-Request-Id; quote it to support.

## Examples

**Response**

```json
{
  "exchanges": [
    {
      "exchange": "OKX",
      "first_day": "2026-09-30",
      "published_through": "2026-11-12",
      "families": [
        "quotes",
        "trades"
      ]
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://datasets.immix.xyz/v1/coverage"

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

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

print(response.json())
```

```javascript
const url = 'https://datasets.immix.xyz/v1/coverage';
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://datasets.immix.xyz/v1/coverage"

	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://datasets.immix.xyz/v1/coverage")

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://datasets.immix.xyz/v1/coverage")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://datasets.immix.xyz/v1/coverage', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://datasets.immix.xyz/v1/coverage");
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://datasets.immix.xyz/v1/coverage")! 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()
```