# LinkedIn Search

Search LinkedIn profiles and content via Google. Returns structured results from LinkedIn pages indexed by Google.

- **Documentation:** [https://scrappa.co/docs/linkedin-api/linkedin_search](https://scrappa.co/docs/linkedin-api/linkedin_search)
- **API group:** LinkedIn API
- **Endpoint:** `GET https://scrappa.co/api/linkedin/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | Yes | Search query for LinkedIn content |
| `num` | integer | No | Number of results (1-20, default: 10) |
| `page` | integer | No | Page number for pagination (1-10). Mutually exclusive with start. |
| `start` | integer | No | Starting index for pagination (0-170). Mutually exclusive with page. |
| `hl` | string | No | 2-letter language code for interface (e.g., en, de, fr). |
| `lr` | string | No | Restrict results to a language (format: lang_xx). |
| `gl` | string | No | 2-letter country code for geolocation (e.g., us, de). |
| `cr` | string | No | Restrict results to a country (format: countryXX). |
| `safe` | string | No | Adult content filtering (active or off). |
| `dateRestrict` | string | No | Filter by date range (d7, w1, m1, y1). |
| `sort` | string | No | Sort by date (date, date:r, date:d). |
| `filter` | integer | No | Enable/disable duplicate filtering (0 or 1). |
| `rights` | string | No | Usage rights filter (cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial, cc_nonderived). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/linkedin/search?query=software+engineer"
```

## Example response

```json
{
    "organic_results": [],
    "search_information": []
}
```

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
