# Clinical Table Search Service API

> Returns medical conditions, ICD-10-CM codes, RxTerms drug names, LOINC items, answer lists and HCPCS codes matching a search term.

Category: Government & Open Data. Region: US. 23 endpoints at `https://api.hoshime.com/v1/clinicaltables/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/clinicaltables
## GET /v1/clinicaltables/conditions

Medical conditions whose name matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for, such as diabetes. (e.g. diabetes) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/conditions?terms=diabetes" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/icd10

ICD-10-CM diagnosis codes whose code or description matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for, such as diabetes. (e.g. E11) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/icd10?terms=E11" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/rxterms

RxNorm drug names (RxTerms) that match a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for, such as diabetes. (e.g. aspirin) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/rxterms?terms=aspirin" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/loinc

LOINC laboratory and clinical items that match a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for, such as diabetes. (e.g. glucose) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/loinc?terms=glucose" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/answerList

The answer list of one LOINC question, such as the choices of a survey item.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `loincNum` | string | yes | LOINC code of the question, such as 45592-3. (e.g. 45592-3) |
| `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), `items` (Answer[]), `items[].code` (string), `items[].sequence` (integer (int64)), `items[].text` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/answerList?loincNum=45592-3" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/hcpcs

HCPCS Level II codes (supplies, services, drugs) whose code or description matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. diabetes) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/hcpcs?terms=diabetes" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/hpo

Human Phenotype Ontology terms whose name or synonym matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. diabetes) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/hpo?terms=diabetes" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/icd11

ICD-11 codes whose code or title matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. diabetes) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/icd11?terms=diabetes" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/icd9Dx

ICD-9-CM diagnosis codes whose code or description matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. diabetes) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/icd9Dx?terms=diabetes" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/icd9Sg

ICD-9-CM procedure codes whose code or description matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. appendectomy) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/icd9Sg?terms=appendectomy" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/procedures

Medical procedures whose name matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. appendectomy) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/procedures?terms=appendectomy" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/diseaseNames

Disease names with their MedGen concept ids that match a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. diabetes) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/diseaseNames?terms=diabetes" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/drugIngredients

Drug ingredients (RxNorm) whose name matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. aspirin) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/drugIngredients?terms=aspirin" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/cytogeneticLocations

Human cytogenetic band locations, such as 17q21.1, that match a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. 17q21) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/cytogeneticLocations?terms=17q21" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/dbvar

dbVar structural variant ids (nsv, esv) that match a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. nsv3082162) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/dbvar?terms=nsv3082162" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/genes

NCBI genes whose symbol or name matches a term. The name is the gene description.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. TP53) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/genes?terms=TP53" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/snps

dbSNP variants (rs ids) that match a term, with their chromosome, position, alleles and gene.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. rs429358) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/snps?terms=rs429358" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/refseqs

NCBI RefSeq transcript accessions that match a term. The name is the gene symbol.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. NM_000546) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/refseqs?terms=NM_000546" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/starAlleles

Pharmacogenomic star alleles, such as CYP2D6*1, that match a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. CYP2D6) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/starAlleles?terms=CYP2D6" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/units

UCUM units of measure, with their names, that match a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. mg) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/units?terms=mg" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/providersIndividual

US individual health care providers (NPI) whose name, specialty or address matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. diabetes) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/providersIndividual?terms=diabetes" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/providersOrganisation

US health care organisations (NPI) whose name, specialty or address matches a term.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. diabetes) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/providersOrganisation?terms=diabetes" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/clinicaltables/search

Search any NLM clinical table by its name, such as icd10cm, ncbi_genes or npi_idv.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `table` | string | yes | The NLM table to search. (one of conditions, cytogenetic_locs, dbvar, disease_names, drug_ingredients, hcpcs, hpo, icd10cm, icd11_codes, icd9cm_dx, icd9cm_sg, loinc_items, ncbi_genes, npi_idv, npi_org, procedures, refseqs, rxterms, snps, star_alleles, ucum; e.g. icd10cm) |
| `terms` | string | yes | Text to search for. Several partial words are combined with an implicit AND. (e.g. E11) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `searchFields` | string | no | Comma-separated fields of the table the search text is matched against. Empty searches the table's default fields. |
| `extraFields` | string | no | Comma-separated fields returned with each match under extra, with their native values, such as synonyms. |
| `filter` | string | no | Elasticsearch query-string filter applied on top of the search text, such as code:E11.0*. It is not wildcarded. |
| `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: `code` (string), `extra` (map), `name` (string)

```bash
curl "https://api.hoshime.com/v1/clinicaltables/search?table=icd10cm&terms=E11" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
