Skip to content

RxNav API

8 endpointsGovernment & Open DataUSsocial:read7 real examples

Returns RxNorm drug concepts, spelling suggestions, approximate matches, related concepts and drug classes from the US NLM.

View as Markdown
GET/rxnav/drugsRxNorm concepts (ingredients, brands, dose forms) for a drug name.
GET/rxnav/conceptOne RxNorm concept by its RxCUI.
GET/rxnav/spellingDrug names RxNav suggests for a misspelled name.
GET/rxnav/approximateRxNorm concepts that approximately match a drug term, with a score per candidate.
GET/rxnav/relatedEvery RxNorm concept related to one concept, such as its brand names, ingredients and dose forms.
GET/rxnav/classesDrug classes of one RxNorm drug concept, such as the VA class or the ATC class.
GET/rxnav/classMembersDrugs that belong to one drug class, such as an ATC or VA class, by the class id.
GET/rxnav/ndcsNational Drug Codes that RxNorm lists for one concept, such as a drug package.

drugs

GET/v1/rxnav/drugs

RxNorm concepts (ingredients, brands, dose forms) for a drug name.

scope social:read1 unitcached 24 hpaginated

Parameters

name
string
required
Drug name, such as aspirin.
e.g. aspirin
tunnel
string
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
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
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

3 fields
namestring
rxcuistring
ttystring
curl "https://api.hoshime.com/v1/rxnav/drugs?name=aspirin" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "name": "{100 (acetaminophen 250 MG / aspirin 250 MG / caffeine 65 MG Oral Tablet [Excedrin]) / 24 (acetaminophen 250 MG / aspirin 250 MG / diphenhyd…",
      "rxcui": "2047428",
      "tty": "BPCK"
    },
    {
      "name": "{1 (aspirin 325 MG / dextromethorphan hydrobromide 10 MG / phenylephrine bitartrate 7.8 MG Effervescent Oral Tablet) / 1 (aspirin 500 MG / d…",
      "rxcui": "1730187",
      "tty": "GPCK"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "drugs",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rxnav",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

concept

GET/v1/rxnav/concept

One RxNorm concept by its RxCUI.

scope social:read1 unitcached 24 h

Parameters

rxcui
string
required
RxNorm concept id, such as 1191 (aspirin).
e.g. 1191
tunnel
string
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
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
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

3 fields
namestring
rxcuistring
ttystring
curl "https://api.hoshime.com/v1/rxnav/concept?rxcui=1191" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "name": "aspirin",
    "rxcui": "1191",
    "tty": "IN"
  },
  "meta": {
    "cached": false,
    "endpoint": "concept",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "rxnav",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

spelling

GET/v1/rxnav/spelling

Drug names RxNav suggests for a misspelled name.

scope social:read1 unitcached 24 hpaginated

Parameters

name
string
required
Drug name, such as aspirin.
e.g. aspirim
tunnel
string
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
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
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

1 fields
textstring
curl "https://api.hoshime.com/v1/rxnav/spelling?name=aspirim" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "text": "aspirin"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "spelling",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rxnav",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

approximate

GET/v1/rxnav/approximate

RxNorm concepts that approximately match a drug term, with a score per candidate.

scope social:read1 unitcached 24 hpaginated

Parameters

query
string
required
Drug name, possibly misspelled, such as asprin.
e.g. asprin
limit
integer
Items per page, 1 to 20.
default 10
tunnel
string
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
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
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

4 fields
rankinteger (int64)
rxcuistring
scorenumber (double)
sourcestring
curl "https://api.hoshime.com/v1/rxnav/approximate?query=asprin" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "rank": 1,
      "rxcui": "218770",
      "score": 8.775424189497903,
      "source": "MMSL"
    },
    {
      "rank": 2,
      "rxcui": "313782",
      "score": 5.297046549852529,
      "source": "MMSL"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "approximate",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rxnav",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

classes

GET/v1/rxnav/classes

Drug classes of one RxNorm drug concept, such as the VA class or the ATC class.

scope social:read1 unitcached 24 hpaginated

Parameters

rxcui
string
required
RxNorm concept id, such as 1191 for aspirin.
e.g. 1191
tunnel
string
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
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
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

3 fields
classIdstring
classNamestring
classTypestring
curl "https://api.hoshime.com/v1/rxnav/classes?rxcui=1191" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "classId": "CN103",
      "className": "NON-OPIOID ANALGESICS",
      "classType": "VA"
    },
    {
      "classId": "N02BA",
      "className": "Salicylic acid and derivatives",
      "classType": "ATC1-4"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "classes",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rxnav",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

classMembers

GET/v1/rxnav/classMembers

Drugs that belong to one drug class, such as an ATC or VA class, by the class id.

scope social:read1 unitcached 24 hpaginated

Parameters

classId
string
required
Class id in its classification, such as N02BE for the ATC class of analgesics and antipyretics.
e.g. N02BE
relaSource
string
required
Classification the id belongs to: ATC, MESH, VA or EPC.
e.g. ATC
tunnel
string
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
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
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

3 fields
namestring
rxcuistring
ttystring
curl "https://api.hoshime.com/v1/rxnav/classMembers?classId=N02BE&relaSource=ATC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "name": "…",
      "rxcui": "…",
      "tty": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "classMembers",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rxnav",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

ndcs

GET/v1/rxnav/ndcs

National Drug Codes that RxNorm lists for one concept, such as a drug package.

scope social:read1 unitcached 24 hpaginated

Parameters

rxcui
string
required
RxNorm concept id, such as 314076 for lisinopril 10 mg tablet.
e.g. 314076
tunnel
string
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
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
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

1 fields
codestring
curl "https://api.hoshime.com/v1/rxnav/ndcs?rxcui=314076" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "code": "00093111310"
    },
    {
      "code": "00143971401"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "ndcs",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rxnav",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open