---
title: "Search from a pasted URL"
method: POST
path: "/v1/{account_id}/search"
tags: ["Search"]
---

# Search from a pasted URL

`POST /v1/{account_id}/search`

## Request

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

Runs a pasted LinkedIn search URL directly; url is the only accepted body field, the sole home of URL-mode. The response is polymorphic: each item is discriminated by its own kind (person, company, post, or job).

## Path parameters

- `account_id` string, required

## Query parameters

- `offset` integer
- `limit` integer
- `cursor` string

## Request body

- object
  - `url` string, required: A pasted LinkedIn search URL, saved-search re-run URL, or lead-list URL.

## Response `200`

A page of results resolved from the pasted URL. Each item is discriminated individually by its own object value (a person, a company, a post, or a job).

- object
  - `object` 'search_result', required: Response type discriminator.
  - `items` union[], required: Polymorphic search result items, each discriminated by its own object value.
    - union
      - object: A single person search result. Only id is guaranteed present, other fields appear when the platform populates them.
        - `object` 'people_search_result', required
        - `id` string, required: Opaque LinkedIn member URN for this person (e.g. ACoAA...).
        - `member_id` string: Numeric LinkedIn member id, distinct from id. Present when available.
        - `public_identifier` string: LinkedIn public identifier (the slug after linkedin.com/in/). Present when available.
        - `full_name` string: Full display name. Present when available.
        - `headline` string: LinkedIn headline. Present when available.
        - `location` string: Location as set on the profile. Present when available.
        - `avatar_url` string: Profile picture URL. Present when available.
        - `profile_picture_url_large` string: Larger profile picture URL variant. Present when available.
        - `profile_url` string: LinkedIn profile URL. Present when available.
        - `network_distance` 'SELF' | 'FIRST_DEGREE' | 'SECOND_DEGREE' | 'THIRD_DEGREE' | 'OUT_OF_NETWORK': Connection distance to the authenticated account. Present when available.
        - `is_premium` boolean: true if this is a LinkedIn Premium account. Present when available.
        - `is_verified` boolean: true if the account is verified. Present when available.
        - `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, so you can read the profile and reach the person. hidden: LinkedIn did not disclose this person to the connected account, so the result carries no public_identifier and no member_id, its name is a placeholder rather than a real one, and reading it back returns 403. 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. A page can be entirely hidden, so count the full results rather than the size of the page, and see notices[] for a page-level summary.
      - object: A single company search result. Only id is guaranteed present, other fields appear when the platform populates them. No company description or tagline is returned.
        - `object` 'company_search_result', required
        - `id` string, required: Numeric LinkedIn company identifier.
        - `name` string: Company display name. Present when available.
        - `public_identifier` string: LinkedIn public identifier (vanity slug). Present when available.
        - `location` string: Company headquarters location. Present when available.
        - `industry` string: Industry the company operates in. Present when available.
        - `summary` string: Company summary text. Present when available.
        - `job_offers_count` number: Open job offer count. Present when available.
        - `profile_url` string: Company LinkedIn profile URL. Present when available.
        - `followers_count` number: Follower count. Present when available.
        - `relations_count` number: Count of the authenticated account's connections at this company. Present when available.
        - `avatar_url` string: Company logo URL. Present when available.
      - object: A single post search result. Post text, engagement counters, author, and attachments are included when available.
        - `object` 'post_search_result', required
        - `id` string, required: Opaque platform id identifying the post.
        - `share_url` string: Shareable post URL. Present when available.
        - `text` string: Post text content. Present when available. Can repeat fragments around links, mentions and hashtags; get the post by its id for the clean body.
        - `created_at` string, nullable, required: ISO-8601 UTC datetime the post was published, derived from the post's own activity identity (the same source as get-post's `created_at`). null when the result carries no activity identity to derive it from.
        - `author` object: Post author object. Present when available.
          - `id` string
          - `name` string, nullable: Author's display name, on the shape that carries `name`. Read `name` when present, else `display_name`.
          - `display_name` string: Author's display name, on the shape that carries `display_name` instead of `name`.
          - `is_company` boolean
          - `type` string: Author entity type (for example individual or organization), on the shape that carries `display_name`.
          - `public_identifier` string, nullable
        - `permissions` object: Interaction permissions on this post. Present when available.
          - `can_react` boolean
          - `can_share` boolean
          - `can_post_comments` boolean
        - `is_repost` boolean: true if this post is a repost. Present when available.
        - `attachments` object[]: Post attachments array. Present when the post carries attachments.
        - `reactions` object[]: Per-reaction-type breakdown. Present when the post has reactions.
          - `type` string: Reaction type (e.g. like, celebrate).
          - `count` number
        - `reaction_count` number, required: Total reaction count, the sum of reactions[].count.
        - `comment_count` number, required: Total comment count on the post.
        - `repost_count` number, required: Total repost count on the post.
      - object: A single job search result. Job description text is never returned.
        - `object` 'job_search_result', required
        - `id` string, required: The job posting's id (same value as job_urn), for chaining into get_job.
        - `job_urn` string, required: LinkedIn URN identifying the job posting.
        - `title` string: Job title. Present when available.
        - `location` string: Job location. Present when available.
        - `url` string: Direct URL to the job posting. Present when available.
        - `posted_at` string: Approximate posting date in ISO-8601 format. Present when available.
        - `workplace_type` 'on_site' | 'remote' | 'hybrid': Work arrangement, lowercase in the response. Present when available.
        - `easy_apply` boolean: true if the posting supports LinkedIn Easy Apply. Present when available.
        - `is_promoted` boolean: true if this is a promoted job. Present when available.
        - `is_repost` boolean: true if this listing is a repost. Present when available.
        - `few_applicants` boolean: true if the posting has few applicants. Present when available.
        - `insights` string[]: Platform-provided insight strings about this posting. Present when available.
        - `company` object: Hiring company details. Present when available.
          - `id` string, nullable
          - `name` string, nullable
          - `profile_url` string, nullable
          - `public_identifier` string, nullable
          - `public_picture_url` string, nullable
  - `paging` object, required: Paging metadata.
    - `total_count` number, nullable, required: Present only when LinkedIn reports a total for the kind of search the pasted URL names, and null whenever it does not. Never treat it as the has-more signal or as an exact figure; page with cursor until that comes back null.
  - `cursor` string, nullable, required: Opaque next-page cursor; null on the last page.
  - `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 malformed url, malformed cursor, or limit outside the 1-50 range.
- `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`: The account is restricted and cannot perform searches.
- `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)
