# ORCID API

> Researcher profiles, works, employment and education from public ORCID record pages.

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

The public name, biography and keywords of an ORCID researcher.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `orcid` | string | yes | ORCID iD, such as 0000-0002-1825-0097. (e.g. 0000-0002-1825-0097) |
| `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: `avatarUrl` (string), `bio` (string), `createdAt` (string), `followerCount` (integer (int64)), `followingCount` (integer (int64)), `id` (string), `keywords` (string[]), `links` (Link[]), `links[].name` (string), `links[].url` (string), `name` (string), `postCount` (integer (int64)), `url` (string), `username` (string), `verified` (boolean)

```bash
curl "https://api.hoshime.com/v1/orcid/person?orcid=0000-0002-1825-0097" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/orcid/works

The works listed on a public ORCID profile, newest first, with their titles, types, years and DOIs.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `orcid` | string | yes | ORCID iD, such as 0000-0002-1825-0097. (e.g. 0000-0002-1825-0097) |
| `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: `doi` (string), `id` (string), `journal` (string), `title` (string), `type` (string), `url` (string), `year` (string)

```bash
curl "https://api.hoshime.com/v1/orcid/works?orcid=0000-0002-1825-0097" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/orcid/employments

Employments in the public ORCID record of one person, with organisation, role and dates.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `orcid` | string | yes | ORCID iD, such as 0000-0002-1825-0097. (e.g. 0000-0002-1825-0097) |
| `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: `city` (string), `country` (string), `department` (string), `endDate` (string), `organization` (string), `role` (string), `startDate` (string)

```bash
curl "https://api.hoshime.com/v1/orcid/employments?orcid=0000-0002-1825-0097" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/orcid/educations

Education entries in the public ORCID record of one person, with organisation, degree and dates.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `orcid` | string | yes | ORCID iD, such as 0000-0002-1825-0097. (e.g. 0000-0001-8662-6087) |
| `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: `city` (string), `country` (string), `department` (string), `endDate` (string), `organization` (string), `role` (string), `startDate` (string)

```bash
curl "https://api.hoshime.com/v1/orcid/educations?orcid=0000-0001-8662-6087" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
