# Crypto Exchange Listings API

Tracks when trading pairs are listed, delisted, or otherwise changed on crypto exchanges.

**Pricing:** $0.001 per exchange listing event

**Endpoint:** `POST /v1/data/crypto/exchange-listings/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `startDate` | date | Yes | Return listing events on or after this date (YYYY-MM-DD). |
| `endDate` | date | No | Only return listing events on or before this date. |
| `exchange` | string | No | Only events on this exchange. Leave empty for all exchanges. |
| `symbol` | string | No | Only events for this token, by ticker, e.g. PEPE or SOL. Leave empty for every token. |
| `eventType` | string | No | Limit results to a specific kind of event. |
| `product` | string | No | Limit results to a market type such as spot or perpetual. |
| `maxResults` | integer | No | How many exchange listing events to return in total. Defaults to 100; use 0 for all. |

## Example

`?wait=true` holds the request open until the run finishes (up to 60s) and returns the rows inline: one request, no polling.

```bash
curl -X POST "https://api.mindcase.co/v1/data/crypto/exchange-listings/run?wait=true" \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"startDate":"..."}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/v1/data/crypto/exchange-listings/run",
    params={"wait": "true"},
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "startDate": "..."
}},
)
rows = resp.json()["data"]
```

## Longer runs

If the run is still going at the 60s ceiling you get back `{ job_id, status: "running" }` instead of rows (same if the result is over 100 rows; those come back `truncated`). Poll with that `job_id`:

```bash
# 1) check status
curl https://api.mindcase.co/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, SDKs, MCP): https://mindcase.co/skills.md

## Response columns

| Field | Display name | Type |
|-------|--------------|------|
| `listingId` | Listing Id | text |
| `exchange` | Exchange | text |
| `product` | Product | text |
| `pair` | Pair | text |
| `base` | Base | text |
| `quote` | Quote | text |
| `eventType` | Event Type | text |
| `effectiveAt` | Effective At | datetime |
| `publishedAt` | Published At | datetime |
