# SINTA API

> Returns Indonesian researchers and universities from SINTA by name, with SINTA scores, Scopus and Google Scholar metrics, affiliations, departments and subjects.

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

SINTA researchers whose name matches a search, with their SINTA scores, affiliation and Scopus and Google Scholar h-index, one page at a time.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Name or part of a name, such as "budi santoso". (e.g. budi santoso) |
| `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: `affiliation` (string), `affiliationId` (string), `department` (string), `googleScholar` (Metrics), `googleScholar.articleCount` (integer (int64)), `googleScholar.citationCount` (integer (int64)), `googleScholar.citedDocumentCount` (integer (int64)), `googleScholar.gIndex` (integer (int64)), `googleScholar.hIndex` (integer (int64)), `googleScholar.i10Index` (integer (int64)), `googleScholarId` (string), `id` (string), `name` (string), `scopus` (Metrics), `scopus.articleCount` (integer (int64)), `scopus.citationCount` (integer (int64)), `scopus.citedDocumentCount` (integer (int64)), `scopus.gIndex` (integer (int64)), `scopus.hIndex` (integer (int64)), `scopus.i10Index` (integer (int64)), `score3Yr` (integer (int64)), `scoreOverall` (integer (int64)), `url` (string), `verified` (boolean)

```bash
curl "https://api.hoshime.com/v1/sinta/authorSearch?query=budi+santoso" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/sinta/author

One SINTA researcher: affiliation, department, SINTA scores, subjects and the Scopus and Google Scholar metrics of the profile page.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | SINTA id (the number in the profile address) or the profile URL. (e.g. 6685371) |
| `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: `affiliation` (string), `affiliationId` (string), `affiliationScore` (integer (int64)), `affiliationScore3Yr` (integer (int64)), `department` (string), `googleScholar` (Metrics), `googleScholar.articleCount` (integer (int64)), `googleScholar.citationCount` (integer (int64)), `googleScholar.citedDocumentCount` (integer (int64)), `googleScholar.gIndex` (integer (int64)), `googleScholar.hIndex` (integer (int64)), `googleScholar.i10Index` (integer (int64)), `googleScholarId` (string), `id` (string), `name` (string), `scopus` (Metrics), `scopus.articleCount` (integer (int64)), `scopus.citationCount` (integer (int64)), `scopus.citedDocumentCount` (integer (int64)), `scopus.gIndex` (integer (int64)), `scopus.hIndex` (integer (int64)), `scopus.i10Index` (integer (int64)), `score3Yr` (integer (int64)), `scoreOverall` (integer (int64)), `subjects` (string[]), `url` (string), `verified` (boolean)

```bash
curl "https://api.hoshime.com/v1/sinta/author?id=6685371" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/sinta/affiliationSearch

Universities and institutions in SINTA that match a search, with their SINTA scores, author and department counts, one page at a time.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Name or abbreviation of the university or institution, such as "sriwijaya". (e.g. sriwijaya) |
| `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: `abbreviation` (string), `authorCount` (integer (int64)), `code` (string), `departmentCount` (integer (int64)), `id` (string), `location` (string), `name` (string), `score3Yr` (integer (int64)), `scoreOverall` (integer (int64)), `url` (string)

```bash
curl "https://api.hoshime.com/v1/sinta/affiliationSearch?query=sriwijaya" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/sinta/affiliation

One university or institution in SINTA: location, code, author, department and journal counts, and its SINTA scores.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | SINTA affiliation id (the number in the profile address) or the profile URL. (e.g. 440) |
| `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), `authorCount` (integer (int64)), `code` (string), `departmentCount` (integer (int64)), `id` (string), `journalCount` (integer (int64)), `location` (string), `name` (string), `productivityScore` (integer (int64)), `productivityScore3Yr` (integer (int64)), `score3Yr` (integer (int64)), `scoreOverall` (integer (int64)), `url` (string)

```bash
curl "https://api.hoshime.com/v1/sinta/affiliation?id=440" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
