# Dapur Umami API

> Returns Indonesian recipes, cooking and nutrition tips, search results and full recipe details from Dapur Umami.

Category: Entertainment & Books. Region: ID. 6 endpoints at `https://api.hoshime.com/v1/dapurumami/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/dapurumami
## GET /v1/dapurumami/recipes

One page of the recipes on Dapur Umami, the site's recipe list.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `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: `id` (string), `image` (string), `title` (string), `url` (string)

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

## GET /v1/dapurumami/articles

One page of the cooking and nutrition tips on Dapur Umami.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `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: `id` (string), `image` (string), `title` (string), `url` (string)

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

## GET /v1/dapurumami/search

Dapur Umami recipes that match a search, one page at a time.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Words to search the recipes for, such as nasi goreng. (e.g. nasi goreng) |
| `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: `id` (string), `image` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/dapurumami/search?query=nasi+goreng" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/dapurumami/detail

One Dapur Umami recipe with its ingredients, steps and rating, by its slug or URL.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Recipe slug, the last part of its dapurumami.com/resep URL, or the URL itself. (e.g. ayam-goreng-basah-ala-masako) |
| `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: `cookMinutes` (integer (int64)), `description` (string), `id` (string), `image` (string), `ingredients` (Ingredient[]), `ingredients[].name` (string), `prepMinutes` (integer (int64)), `rating` (number (double)), `ratingCount` (integer (int64)), `servings` (string), `steps` (Step[]), `steps[].text` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/dapurumami/detail?slug=ayam-goreng-basah-ala-masako" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/dapurumami/categories

The recipe categories of Dapur Umami, such as Masakan Jawa or Manis, with the slug each one takes in the category endpoint.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `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), `image` (string), `name` (string), `url` (string)

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

## GET /v1/dapurumami/category

Dapur Umami recipes of one category, such as masakan-jawa or manis, one page at a time.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `category` | string | yes | Category slug from the categories endpoint, such as masakan-jawa. (e.g. masakan-jawa) |
| `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: `id` (string), `image` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/dapurumami/category?category=masakan-jawa" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
