# SmartRecruiters API

> Returns a company's open postings, full job ad sections of one posting, and counts of postings by facets.

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

Open postings of one company on SmartRecruiters, without descriptions. Use posting for the full text.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `company` | string | yes | Company identifier, such as smartrecruiters. (e.g. smartrecruiters) |
| `query` | string | no | Search terms for the title and content. |
| `limit` | integer | no | Most postings to return, from 1 to 100. (default 20) |
| `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), `department` (string), `employmentType` (string), `experienceLevel` (string), `id` (string), `location` (string), `postedAt` (string), `refNumber` (string), `remote` (boolean), `salary` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/smartrecruiters/postings?company=smartrecruiters" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/smartrecruiters/posting

One posting of a SmartRecruiters company with its job ad sections as HTML. Without id it returns the newest posting.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `company` | string | yes | Company identifier, such as smartrecruiters. (e.g. smartrecruiters) |
| `id` | string | no | Posting id from postings. Omit it for the newest 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), `department` (string), `employmentType` (string), `experienceLevel` (string), `id` (string), `location` (string), `postedAt` (string), `refNumber` (string), `remote` (boolean), `salary` (string), `sections` (map), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/smartrecruiters/posting?company=smartrecruiters" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/smartrecruiters/facets

Counts of the first 100 postings of one SmartRecruiters company by department, employment type, experience level and location.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `company` | string | yes | Company identifier, such as smartrecruiters. (e.g. smartrecruiters) |
| `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: `departments` (Count[]), `departments[].count` (integer (int64)), `departments[].value` (string), `employmentTypes` (Count[]), `employmentTypes[].count` (integer (int64)), `employmentTypes[].value` (string), `experienceLevels` (Count[]), `experienceLevels[].count` (integer (int64)), `experienceLevels[].value` (string), `locations` (Count[]), `locations[].count` (integer (int64)), `locations[].value` (string), `sampled` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/smartrecruiters/facets?company=smartrecruiters" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
