# List market sales endings

`GET https://api.unique.domains/v1/market/sales/endings`

Each ending's 12-month and 30-day sales figures, alphabetical.

Endings with at least three usable sales in 12 months, with the previous 12 months and the server's trend word (a move of 10% or more). Alphabetical by ending, never by a count.

- Access: No key. Limited per address; a key adds the paid fields.
- Billing: One call.
- Formats: JSON, CSV (`.csv`)
- API: Domain Market API

## Request

| Field | Type | Needs | Where | Description |
| --- | --- | --- | --- | --- |
| `fields` | string | Optional | Query | Comma-separated top-level keys to keep; an unknown key answers 400 `unsupported_field`. |

## Sample request

```bash
curl -X GET "https://api.unique.domains/v1/market/sales/endings"
```

## Response

| Field | Type | Description |
| --- | --- | --- |
| `ending` | string |  |
| `count12m` | integer |  |
| `median12mUsd` | integer \| null |  |
| `prevCount12m` | integer |  |
| `prevMedian12mUsd` | integer \| null |  |
| `trendWord` | string |  |
| `count30d` | integer |  |
| `median30dUsd` | integer \| null |  |

## Errors

| Code | Status | What it means |
| --- | --- | --- |
| [`rate_limited`](https://unique.domains/api/problems/rate_limited) | 429 | Too many requests |
| [`internal`](https://unique.domains/api/problems/internal) | 500 | Unexpected error |
| [`not_ready`](https://unique.domains/api/problems/not_ready) | 503 | Not ready yet |

## Example answer

200, application/json

```json
{
  "data": [
    {
      "ending": "io",
      "count12m": 1480,
      "median12mUsd": 1650,
      "prevCount12m": 1520,
      "prevMedian12mUsd": 1600,
      "trendWord": "flat",
      "count30d": 121,
      "median30dUsd": 1700
    }
  ],
  "meta": {
    "asOf": "2026-11-05T08:00:00Z",
    "cursor": null,
    "limit": null
  },
  "links": {
    "self": "https://api.unique.domains/v1/market/sales/endings",
    "next": null,
    "register": null,
    "product": null,
    "dataset": null
  }
}
```

API status: https://uniquedomains.instatus.com

Full reference: https://unique.domains/api
