# GARUDA API

> Returns Indonesian scholarly articles and journals from GARUDA by search, with authors, affiliations, publisher, ISSN, abstracts and journal subjects.

Category: Search & Knowledge. Region: ID. 4 endpoints at `https://api.hoshime.com/v1/garuda/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/garuda
## GET /v1/garuda/articleSearch

Indonesian scholarly articles in GARUDA that match a search, with authors, journal issue, publisher and DOI, one page at a time.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Words of the title, abstract or author name, such as "gizi". (e.g. gizi) |
| `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: `authors` (ArticleAuthor[]), `authors[].affiliation` (string), `authors[].id` (string), `authors[].name` (string), `authors[].url` (string), `doi` (string), `id` (string), `issue` (string), `originalUrl` (string), `pdfUrl` (string), `publisher` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/garuda/articleSearch?query=gizi" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/garuda/article

One article of GARUDA: title, authors with affiliations, journal, publication date, abstract and original links.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | GARUDA document id (the number in the article address) or the article URL. (e.g. 1282978) |
| `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: `abstract` (string), `authors` (ArticleAuthor[]), `authors[].affiliation` (string), `authors[].id` (string), `authors[].name` (string), `authors[].url` (string), `doi` (string), `id` (string), `issue` (string), `journal` (string), `journalId` (string), `originalUrl` (string), `pdfUrl` (string), `publishDate` (string), `publisher` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/garuda/article?id=1282978" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/garuda/journalSearch

Journals and conference series in GARUDA that match a search, with publisher and ISSN, one page at a time.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Words of the journal title, publisher or subject, such as "gizi". (e.g. gizi) |
| `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: `eissn` (string), `id` (string), `issn` (string), `publisher` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/garuda/journalSearch?query=gizi" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/garuda/journal

One journal of GARUDA: publisher, ISSN and eISSN, website, subjects and description.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | GARUDA journal id (the number in the journal address) or the journal URL. (e.g. 17155) |
| `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: `abbreviation` (string), `coreSubjects` (string[]), `description` (string), `doi` (string), `eissn` (string), `id` (string), `issn` (string), `publisher` (string), `subjects` (string[]), `title` (string), `url` (string), `website` (string)

```bash
curl "https://api.hoshime.com/v1/garuda/journal?id=17155" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
