---
title: "Search services"
method: POST
path: "/v1/{account_id}/search/services"
tags: ["Search"]
---

# Search services

`POST /v1/{account_id}/search/services`

## Request

- Base URL: `https://api.curviate.com`
- URL: `https://api.curviate.com/v1/{account_id}/search/services`
- Auth: HTTP bearer

Searches people who offer services (the LinkedIn Services vertical), filtered by service category, location, connection degree, and profile language. At least one of keywords, service_category, or location is required.

## Path parameters

- `account_id` string, required

## Query parameters

- `limit` integer
- `cursor` string

## Request body

- object
  - `keywords` string: Free-text keyword match.
  - `service_category` string[]: Opaque service-filter ids from GET .../search/services/parameters?type=service_category.
  - `location` string[]: Opaque location ids from GET .../search/services/parameters?type=location.
  - `connections` number[]: Connection degree filter: 1 = 1st, 2 = 2nd, 3 = 3rd+.
  - `language` string[]: Profile-language ISO 639-1 codes (e.g. en, de, es, fr).

## Response `200`

A page of people offering services, matching the filters.

- object
  - `object` 'service_search_result', required: Response type discriminator.
  - `items` object[], required: Service-provider search result items.
    - `object` 'service_provider', required: Item type discriminator.
    - `id` string, nullable, required: The member id (ACoAAA...), the key for connect/message/enrich.
    - `name` string, nullable, required: Display name.
    - `headline` string, nullable, required: Professional headline.
    - `location` string, nullable, required: Location string.
    - `network_distance` number, nullable, required: Connection degree: 1, 2, or 3.
    - `profile_url` string, nullable, required: Canonical profile URL (`https://www.linkedin.com/in/<vanity>/`), cleaned of any tracking querystring.
    - `avatar_url` string, nullable, required: Highest-resolution avatar URL.
    - `is_verified` boolean, required: True if the profile carries a verification badge.
    - `is_premium` boolean, required: True if this is a LinkedIn Premium account.
    - `visibility` 'full' | 'hidden', required: Whether this result names someone you can act on. Always present, on both values. full: the result carries a resolvable identity. hidden: LinkedIn did not disclose this provider to the connected account, so the entry has no usable id, its name is a placeholder rather than a real one, and it cannot be read back or contacted. The cause is the connected LinkedIn account's own subscription level, which decides which profiles it is allowed to identify; it is not an error in your request. See notices[] for a page-level summary.
  - `paging` object, required: Paging metadata.
    - `total_count` number, nullable, required: Always null. Service-provider search runs on the people index, and LinkedIn does not report how many people match, so walk the pages with cursor until it comes back null.
  - `cursor` string, nullable, required: Opaque next-page cursor; null on the last page.
  - `notices` object[]: Present only when there is something to report about this page. Each entry names a condition that is true of the response but not visible in it, so a result set is never misleading by omission. Absent when there is nothing to report.
    - `code` 'FILTER_VALUE_UNRESOLVED' | 'FILTER_VALUE_UNCHECKED' | 'SOME_RESULTS_HIDDEN' | 'ALL_RESULTS_HIDDEN' | 'PAGE_TRUNCATED', required: FILTER_VALUE_UNRESOLVED: the value matched no known filter option, so it was sent on as an id we could not check. FILTER_VALUE_UNCHECKED: the value already looked like an id, so it was never looked up, and this page came back empty. SOME_RESULTS_HIDDEN: some people on this page were not disclosed to the connected account, so those entries cannot be read back. ALL_RESULTS_HIDDEN: none of the people on this page were disclosed, so the page yielded nothing you can act on, even when more pages follow. PAGE_TRUNCATED: this page is short because the search stopped fetching upstream pages, not because the results ran out; follow cursor, and treat only a null cursor as the end. Branch on this rather than on message.
    - `message` string, required: One sentence explaining the condition and how to resolve it.
    - `field` string: The request field the notice is about, dotted for nested filters.
    - `value` string: The offending value.
  - `safety_warning` SafetyWarning: Present on a successful response when this account crossed an account-safety ceiling while the affected budget row is on the default warn posture. The action still happened. Field-identical to the BUDGET_EXHAUSTED error body except that blocked is false and hint.message describes the outcome, so one branch handles both postures and switching the account to enforce is a configuration change rather than a client rewrite.
    - `row` string, nullable, required: The budget row that breached, for example profile_views or pending_invites. Null when the breach is not about a row: an activity_window warning on an action that spends no budget of its own (editing a message, dismissing a notification, a Recruiter or Sales Navigator admin action) is still governed by the hours the account works in. Read hint.parameter for what to change; whenever this is null it names posture, because the activity window edges are set per action type and this action has none, so the levers that reach it are the account timezone and posture.
    - `reset_at` string, nullable, required: The instant the refusal lifts: the window roll on a ceiling refusal, the next window open on an activity-window one. Null in the two cases no clock frees, the pending_invites gauge and InMail credits (row inmail).
    - `hint` object, required
      - `parameter` string, required: The settable parameter on PATCH /v1/{account_id}/safety-policy.
      - `message` string, required: What the condition is and what changing that parameter would do. This is the one field whose text differs from the BUDGET_EXHAUSTED refusal: here it says the action went through, and on a ceiling breach how far past the ceiling this row now stands, rather than telling you to set posture to warn when it already is. Branch on parameter, reason and blocked, never on this text.
    - `reason` 'ceiling' | 'activity_window', required: Which rule was crossed. ceiling means the row's configured limit is spent; activity_window means the account is outside the hours it works in, which is a different fact with a different remedy. hint.parameter names the right setting for each.
    - `blocked` boolean, required: Always false here. True on the BUDGET_EXHAUSTED refusal carrying the same payload.

## Other responses

- `400`: Missing or empty account_id, no filter supplied (at least one of keywords, service_category, or location is required), or malformed cursor. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id.
- `401`: Missing or invalid API key.
- `404`: The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id.
- `413`: Payload too large, the request body exceeds the size limit.
- `422`: Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id.
- `429`: Rate limited, slow down and retry after the hinted delay.
- `500`: Internal error.
- `502`: A temporary error occurred. Please try again.
- `503`: Service unavailable.
- `504`: Gateway timeout.

---

[API](https://skmtc.dev/curviate/apis/curviate-api.md) · [All operations](https://skmtc.dev/curviate/apis/curviate-api/llms.txt) · [OpenAPI document](https://skmtc.dev/curviate/apis/curviate-api/revisions/eab848801d95?raw)
