> ## Documentation Index
> Fetch the complete documentation index at: https://getanyapi.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# LinkedIn Profile Search (basic)

> Sell linkedin.search_profiles_thin on AnyAPI: the request your endpoint receives, the response it must return, and what the real-request check judges.

Cheap people search: name/handle, headline, VANITY profile URL, location. No full profile or email - for full profiles per hit use linkedin.search\_profiles, add emails with linkedin.search\_profiles\_email.

This page is the seller-facing summary of one catalog API, `linkedin.search_profiles_thin`. The transport rules that apply to every API a seller serves - signed requests, the response envelope, timeouts, and body limits - are on [the operator endpoint contract](https://getanyapi.com/docs/sell/operator-endpoint-contract.md).

## The price you compete with

AnyAPI publishes this API from **\$28.00 per 1,000 requests**. That is the price a buyer sees today, so it is the price your endpoint has to come in under to win traffic.

## The request your endpoint receives

| Field | Type | Required | What it means |
| - | - | - | - |
| `currentCompanyId` | string | no | Filter by current employer, using a numeric LinkedIn company id. Comma-separate for several. |
| `cursor` | string | no | Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; a page holds 10 profiles. |
| `firstName` | string | no | Filter by first name (e.g. Jane). |
| `followerOfUrn` | string | no | Return only people who follow this member, given the member's LinkedIn URN. |
| `industryId` | string | no | Filter by industry, using a LinkedIn industry id. |
| `lastName` | string | no | Filter by last name (e.g. Okafor). |
| `locationId` | string | no | Filter by location, using a LinkedIn geocode id. |
| `pastCompanyId` | string | no | Filter by a previous employer, using a numeric LinkedIn company id. |
| `profileLanguage` | string | no | Filter by the language the profile is written in (ISO 2-letter code, e.g. en). |
| `query` | string | yes | Search query for LinkedIn profiles - a role, name, or keywords (e.g. 'Marketing Manager'). |
| `schoolId` | string | no | Filter by school, using a LinkedIn school id. |
| `serviceCategoryId` | string | no | Filter by service category, using a numeric service-category id. |
| `title` | string | no | Filter by job title or headline (e.g. Head of Talent). |

> [accordion] Full input JSON Schema
>
> ```json theme={"dark"}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "$id": "https://getanyapi.com/schemas/linkedin.search_profiles_thin.input.json",
>   "example": {
>     "query": "recruiter"
>   },
>   "title": "LinkedIn basic profile search input",
>   "type": "object",
>   "additionalProperties": false,
>   "required": [
>     "query"
>   ],
>   "properties": {
>     "query": {
>       "type": "string",
>       "description": "Search query for LinkedIn profiles - a role, name, or keywords (e.g. 'Marketing Manager')."
>     },
>     "cursor": {
>       "type": "string",
>       "description": "Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; a page holds 10 profiles."
>     },
>     "firstName": {
>       "type": "string",
>       "description": "Filter by first name (e.g. Jane)."
>     },
>     "lastName": {
>       "type": "string",
>       "description": "Filter by last name (e.g. Okafor)."
>     },
>     "title": {
>       "type": "string",
>       "description": "Filter by job title or headline (e.g. Head of Talent)."
>     },
>     "currentCompanyId": {
>       "type": "string",
>       "description": "Filter by current employer, using a numeric LinkedIn company id. Comma-separate for several."
>     },
>     "pastCompanyId": {
>       "type": "string",
>       "description": "Filter by a previous employer, using a numeric LinkedIn company id."
>     },
>     "schoolId": {
>       "type": "string",
>       "description": "Filter by school, using a LinkedIn school id."
>     },
>     "industryId": {
>       "type": "string",
>       "description": "Filter by industry, using a LinkedIn industry id."
>     },
>     "locationId": {
>       "type": "string",
>       "description": "Filter by location, using a LinkedIn geocode id."
>     },
>     "profileLanguage": {
>       "type": "string",
>       "description": "Filter by the language the profile is written in (ISO 2-letter code, e.g. en)."
>     },
>     "serviceCategoryId": {
>       "type": "string",
>       "description": "Filter by service category, using a numeric service-category id."
>     },
>     "followerOfUrn": {
>       "type": "string",
>       "description": "Return only people who follow this member, given the member's LinkedIn URN."
>     }
>   }
> }
> ```

## The response your endpoint must return

| Field | Type | Always present | What it means |
| - | - | - | - |
| `data` | null or object | yes | The results wrapper, or null when nothing was found. |
| `data.items` | array | yes | Matched profile records (basic fields only). |
| `data.items[].handle` | string | no | Public profile identifier (the vanity slug in the URL). |
| `data.items[].headline` | string | no | Profile headline (the tagline under the name). |
| `data.items[].id` | string | no | LinkedIn member URN id for the profile. |
| `data.items[].image` | string | no | Profile picture URL. |
| `data.items[].location` | string | no | Member's location as a single string (city, region, country). |
| `data.items[].name` | string | no | Member's display name. |
| `data.items[].premium` | boolean | no | Whether the member has LinkedIn Premium. |
| `data.items[].url` | string | yes | Canonical LinkedIn vanity profile URL. |
| `data.items[].verified` | boolean | no | Whether LinkedIn has verified the member's identity. |
| `data.nextCursor` | string or null | no | Opaque cursor for the next page of profiles, or null/empty when there are no more. Pass it back as cursor to continue. |
| `found` | boolean | yes | True when at least one profile was returned. |

Extra fields are kept, missing declared fields fail.

> [accordion] Full output JSON Schema
>
> ```json theme={"dark"}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "$id": "https://getanyapi.com/schemas/linkedin.search_profiles_thin.output.json",
>   "title": "LinkedIn basic profile search output",
>   "type": "object",
>   "additionalProperties": false,
>   "required": [
>     "found",
>     "data"
>   ],
>   "properties": {
>     "found": {
>       "type": "boolean",
>       "description": "True when at least one profile was returned."
>     },
>     "data": {
>       "description": "The results wrapper, or null when nothing was found.",
>       "oneOf": [
>         {
>           "type": "null"
>         },
>         {
>           "type": "object",
>           "additionalProperties": false,
>           "required": [
>             "items"
>           ],
>           "properties": {
>             "items": {
>               "x-anyapi-must-populate": true,
>               "type": "array",
>               "description": "Matched profile records (basic fields only).",
>               "items": {
>                 "type": "object",
>                 "description": "A basic LinkedIn profile record: name, handle, headline, vanity profile URL, and location.",
>                 "required": [
>                   "url"
>                 ],
>                 "properties": {
>                   "id": {
>                     "type": "string",
>                     "description": "LinkedIn member URN id for the profile."
>                   },
>                   "url": {
>                     "x-anyapi-domain": "linkedin.com",
>                     "x-anyapi-must-populate": true,
>                     "type": "string",
>                     "description": "Canonical LinkedIn vanity profile URL."
>                   },
>                   "handle": {
>                     "x-anyapi-must-populate": true,
>                     "type": "string",
>                     "description": "Public profile identifier (the vanity slug in the URL)."
>                   },
>                   "name": {
>                     "type": "string",
>                     "description": "Member's display name."
>                   },
>                   "headline": {
>                     "x-anyapi-must-populate": true,
>                     "type": "string",
>                     "description": "Profile headline (the tagline under the name)."
>                   },
>                   "location": {
>                     "type": "string",
>                     "description": "Member's location as a single string (city, region, country)."
>                   },
>                   "image": {
>                     "x-anyapi-domain": "licdn.com",
>                     "type": "string",
>                     "description": "Profile picture URL."
>                   },
>                   "verified": {
>                     "type": "boolean",
>                     "description": "Whether LinkedIn has verified the member's identity."
>                   },
>                   "premium": {
>                     "type": "boolean",
>                     "description": "Whether the member has LinkedIn Premium."
>                   }
>                 }
>               }
>             },
>             "nextCursor": {
>               "type": [
>                 "string",
>                 "null"
>               ],
>               "description": "Opaque cursor for the next page of profiles, or null/empty when there are no more. Pass it back as cursor to continue."
>             }
>           }
>         }
>       ]
>     }
>   }
> }
> ```

## Fields that must never come back empty

* `handle`
* `headline`
* `items`
* `url`

The repository marks these fields as ones every source must be able to fill. An empty value is only correct when the entity itself genuinely has nothing there.

## Not found, and how it differs from empty

When the entity does not exist, answer 2xx with the not-found shape:

```json theme={"dark"}
{
  "found": false,
  "data": null
}
```

An empty list is not a not-found: when the entity exists and has nothing to return, answer 2xx with `found: true` and an empty `items` array.

This output schema declares no `reason` field, so `found: false` is the whole not-found answer.

## Example request

```json theme={"dark"}
{
  "query": "recruiter"
}
```

The registration tests send this example to your endpoint, with the API's other test inputs. After that, the real-request check sends your endpoint real past customer inputs, and an AI reviewer compares each answer with AnyAPI's own answer to the same input.

## Next

* [The operator endpoint contract](https://getanyapi.com/docs/sell/operator-endpoint-contract.md) for signing, budgets, and the real-request check.
* [Every API open to sellers](https://getanyapi.com/docs/sell/apis/index.md).
* Want to sell an API that is not on that list? Email [support@getanyapi.com](mailto:support@getanyapi.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.