# LinkedIn API

> Returns LinkedIn public job postings by search, company, recency, remote status or employment type.

Category: Jobs & Careers. Region: global. 8 endpoints at `https://api.hoshime.com/v1/linkedin/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/linkedin
## GET /v1/linkedin/jobs

LinkedIn job postings from the public search, 10 per page, most relevant first.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | no | Job title or keywords. |
| `location` | string | no | Place or region, such as Brazil or Remote. |
| `geoId` | string | no | LinkedIn geo id, from the locationSuggest endpoint. More precise than location. |
| `companyId` | string | no | LinkedIn company id, from the companySuggest endpoint. Returns only that company's postings. |
| `postedWithin` | string | no | Only postings published inside this window. (one of 24h, week, month) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `company` (string), `id` (string), `location` (string), `postedDate` (string), `salary` (string), `tags` (string[]), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/linkedin/jobs" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/linkedin/job

One LinkedIn job posting by id or URL. Without id it returns the first posting of the newest-first search.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | no | Job id or linkedin.com/jobs/view URL. Omit it for the first recent posting. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `company` (string), `id` (string), `location` (string), `postedDate` (string), `salary` (string), `tags` (string[]), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/linkedin/job" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/linkedin/companyJobs

The open job postings of one LinkedIn company, 10 per page.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `companyId` | string | yes | LinkedIn company id, from the companySuggest endpoint. (e.g. 1035) |
| `query` | string | no | Free-text search within that company's postings. |
| `location` | string | no | Place name as LinkedIn spells it — a country, region or city. |
| `geoId` | string | no | LinkedIn geo id, from the locationSuggest endpoint. More precise than location. |
| `postedWithin` | string | no | Only postings published inside this window. (one of 24h, week, month) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `company` (string), `id` (string), `location` (string), `postedDate` (string), `salary` (string), `tags` (string[]), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/linkedin/companyJobs?companyId=1035" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/linkedin/recentJobs

LinkedIn job postings published recently, 10 per page.

Scope: `social:read` · Units: 1 · Cached: 5 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | no | Free-text search across job titles and descriptions. (e.g. engineer) |
| `location` | string | no | Place name as LinkedIn spells it — a country, region or city. |
| `geoId` | string | no | LinkedIn geo id, from the locationSuggest endpoint. More precise than location. |
| `companyId` | string | no | LinkedIn company id, from the companySuggest endpoint. Returns only that company's postings. |
| `within` | string | no | How far back to look. Default 24h. (one of 24h, week, month; default 24h) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `company` (string), `id` (string), `location` (string), `postedDate` (string), `salary` (string), `tags` (string[]), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/linkedin/recentJobs?query=engineer" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/linkedin/remoteJobs

LinkedIn job postings marked remote, 10 per page, most relevant first.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | no | Job title or keywords. (e.g. engineer) |
| `location` | string | no | Place or region, such as Brazil or Indonesia. |
| `geoId` | string | no | LinkedIn geo id, from the locationSuggest endpoint. More precise than location. |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `company` (string), `id` (string), `location` (string), `postedDate` (string), `salary` (string), `tags` (string[]), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/linkedin/remoteJobs?query=engineer" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/linkedin/jobsByType

LinkedIn job postings of one employment type, such as full-time or contract, 10 per page.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `type` | string | yes | Employment type: full-time, part-time, contract, temporary, internship or volunteer. (one of full-time, part-time, contract, temporary, internship, volunteer; e.g. contract) |
| `query` | string | no | Job title or keywords. (e.g. engineer) |
| `location` | string | no | Place or region, such as Brazil or Indonesia. |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `company` (string), `id` (string), `location` (string), `postedDate` (string), `salary` (string), `tags` (string[]), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/linkedin/jobsByType?type=contract&query=engineer" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/linkedin/companySuggest

LinkedIn companies whose names start with a partial name, with their company ids.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Partial company name to complete. (e.g. microsoft) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/linkedin/companySuggest?query=microsoft" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/linkedin/locationSuggest

LinkedIn places whose names start with a partial name, with their geo ids.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Partial place name to complete. (e.g. jakarta) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/linkedin/locationSuggest?query=jakarta" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
