# Get market sales lengths

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

Sales by label length for .com, .ai, .io and .co.

Per ending, the label lengths with at least three usable sales in 12 months, ascending: counts, medians (from ten sales) and the trend word of the median.

- Access: No key. Limited per address; a key adds the paid fields.
- Billing: One call.
- Formats: JSON
- 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/lengths"
```

## Response

| Field | Type | Description |
| --- | --- | --- |
| `com` | object[] |  |
| `ai` | object[] |  |
| `io` | object[] |  |
| `co` | object[] |  |

## 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": {
    "com": [
      {
        "length": 4,
        "count12m": 2140,
        "median12mUsd": 2900,
        "prevMedian12mUsd": 2700,
        "trendWord": "flat",
        "count30d": 171,
        "median30dUsd": 3000
      }
    ],
    "ai": [],
    "io": [],
    "co": []
  },
  "meta": {
    "asOf": "2026-11-05T08:00:00Z",
    "cursor": null,
    "limit": null
  },
  "links": {
    "self": "https://api.unique.domains/v1/market/sales/lengths",
    "next": null,
    "register": null,
    "product": null,
    "dataset": null
  }
}
```

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

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