# Lotus Archi API

> Returns Lotus Archi gold counter prices per gram and its buyback rate per gram.

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

Lotus Archi counter prices per gram for the products its price table lists.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `metal` | string | no | Restrict to one metal: gold, silver or all. Default all. (one of gold, silver, all; default all) |
| `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: `metal` (string), `perGram` (integer (int64)), `product` (string)

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

## GET /v1/lotusarchi/buyback

Lotus Archi's buyback rate per gram.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `metal` | string | no | Restrict to one metal: gold, silver or all. Default all. (one of gold, silver, all; default all) |
| `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: `metal` (string), `perGram` (integer (int64)), `product` (string)

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

## GET /v1/lotusarchi/history

Lotus Archi's daily gold or silver sale and buyback price per gram since the feed began, newest first, paged.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `metal` | string | no | gold or silver. Default gold. (one of gold, silver; default gold; e.g. silver) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `limit` | integer | no | Items per page, 1 to 500. (default 30; e.g. 5) |
| `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: `buybackPerGram` (integer (int64)), `date` (string), `perGram` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/lotusarchi/history?metal=silver&limit=5" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
