---
title: "Get exclusion list"
method: GET
path: "/v2/exclusion-lists/{list_id}"
tags: ["Exclusion Lists"]
---

# Get exclusion list

`GET /v2/exclusion-lists/{list_id}`

## Request

- Base URL: `https://api.ocean.io`
- URL: `https://api.ocean.io/v2/exclusion-lists/{list_id}`
- Auth: none declared

Retrieve an exclusion list by id, including its size and items.

## Path parameters

- `list_id` string, required

## Query parameters

- `apiToken` string, nullable

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- ListDetail
  - `listId` string, required: Unique id of the list.
  - `type` 'people' | 'companies', required: Whether the list holds people or companies.
  - `name` string, nullable: Display name of the list.
  - `createdAt` string, required: When the list was created, in ISO 8601 format.
  - `itemCount` integer, required: Number of items in the list.
  - `items` string[], required: Up to the first 20,000 items in the list: company domains or LinkedIn handles.

## Other responses

- `400`: Bad Request
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not found
- `422`: Validation Error
- `429`: Too Many Requests

## Changes

- **2026-10-12** `82337760de72`: 1 info
  - added the non-success response with the status `429`
- **2026-10-07** `e2fea9198213`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ocean/apis/ocean-io-api-documentation/changes/v2/exclusion-lists/:list_id/get.md)

---

[API](https://skmtc.dev/ocean/apis/ocean-io-api-documentation.md) - [All operations](https://skmtc.dev/ocean/apis/ocean-io-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/ocean/apis/ocean-io-api-documentation/revisions/9c29c521c694?raw)
