# Garudafood API

> Returns open Garudafood job vacancies with search, vacancy details, and available locations, functions and levels.

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

Open Garudafood vacancies that match a search, a location, a function and a level, 12 per page.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | no | Words in the vacancy title. |
| `location` | string | no | A location name from the filters endpoint, such as Balikpapan. |
| `function` | string | no | A job function from the filters endpoint, such as Sales. (e.g. Sales) |
| `level` | string | no | Position level. (one of Fresh Graduate, Internship, Professional) |
| `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), `employmentType` (string), `id` (string), `level` (string), `location` (string), `major` (string), `postedAt` (string), `remote` (boolean), `salary` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/garudafood/search?function=Sales" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/garudafood/job

One Garudafood vacancy: its dates, major, city, requirements and responsibilities. Without id it returns the first vacancy of the job list.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | no | Job id, as id of a search result, or a CareerDetail link. Omit it for the first vacancy of the job list. |
| `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: `activeFromDate` (string), `activeUntilDate` (string), `company` (string), `education` (string), `employmentType` (string), `experience` (string), `function` (string), `id` (string), `level` (string), `location` (string), `major` (string), `postedAt` (string), `remote` (boolean), `requirements` (Line[]), `requirements[].text` (string), `responsibilities` (Line[]), `responsibilities[].text` (string), `salary` (string), `title` (string), `url` (string)

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

## GET /v1/garudafood/filters

Locations, job functions and position levels the search endpoint accepts.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `group` | string | no | Return only one list. Default: all three. (one of location, function, level) |
| `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: `function` (Option[]), `function[].label` (string), `function[].value` (string), `level` (Option[]), `level[].label` (string), `level[].value` (string), `location` (Option[]), `location[].label` (string), `location[].value` (string)

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