Skip to main content
GET
Retrieve a specific search

Search Status

The search object includes a status field that indicates the current state of the search operation. The possible status values are:

Active Statuses

  • not_started: The search has been created but has not yet begun processing
  • ongoing: The search is currently being processed and generating results
  • finished: The search has completed successfully and all results are available

Error Statuses

  • rate_limited: The search was interrupted due to rate limiting constraints
  • unauthorized: The search failed due to authentication issues
  • forbidden: The search failed due to insufficient permissions
  • not_found: LinkedIn could not find the search or one of its resources
  • internal_server_error: LinkedIn failed while serving the search
  • error: The search encountered an error during processing
Statuses are returned in lowercase. When a search has a status of finished, its leads are available and ready to be retrieved. For searches with error statuses, you may need to retry the search or check your API credentials and permissions.

Pagination

Leads are paginated: per_page defaults to 100 (at most 500). A finished search always returns a pagination object (page, per_page, total_count, has_more, and next_cursor while more pages follow; page is absent when you paginate by cursor). Pass pagination.next_cursor back as cursor to get the next page without skipping or repeating rows, or request the next page; stop when pagination.has_more is false. See Pagination. While the search is still running, the response holds only search (with results_ready: false), without leads or pagination.

Authorizations

X-API-KEY
string
header
required

Your API key

Path Parameters

id
string<uuid>
required

ID of the search to retrieve

Query Parameters

status
enum<string>

Filter leads by their qualification status

Available options:
qualified,
disqualified
page
integer
default:1

Page number, starting at 1. Prefer cursor: pages shift when rows are added between two calls.

Required range: x >= 1
per_page
integer
default:100

Rows per page, at most 500.

Required range: 1 <= x <= 500
cursor
string

The pagination.next_cursor of the previous page, passed back unchanged. Returns the rows that follow it, even if rows were added in between. Omit it for the first page.

Example:

"WyIyMDI2LTEwLTE3VDEwOjAwOjAwLjAwMDAwMFoiLDQyXQ"

Response

The search, with a page of its leads once it is finished

leads
object[]

Present only when search.results_ready is true

pagination
object

Present only when search.results_ready is true