# Drug Lookup API – RxNorm Names, NDC Codes & Drug Classes

Look up US prescription and OTC drugs by brand or generic name, RxCUI or NDC. Returns every strength and form with ingredients, dose form, brand names, NDC package codes, ATC class, pharmacologic class, mechanism of action and conditions treated. Official NLM RxNorm data.

$0.40 per 1,000 drug products

[Get an API key](https://pushbuild.com/apis/app/signup?api=rxnorm-drugs)

Example request

```
POST /rxnorm-drugs/run
{
  "drugNames": [
    "Lipitor",
    "metformin"
  ],
  "maxItems": 20
}
```

## What a response looks like

POST /rxnorm-drugs/run{"drugNames": ["Lipitor", "metformin"], "maxItems": 5}

```
{"count": 5, "items": [{ "atc": [  "C10AA HMG CoA reductase inhibitors",  "C10BA Combinations of various lipid modifying agents",  "C10BX Lipid modifying agents in combination with other drugs" ], "brandNames": [  "Lipitor" ], "doseForm": "Oral Tablet", "ingredients": [ … ]}
```

| doseForm | name | query | rxcui | synonym | termType |
| --- | --- | --- | --- | --- | --- |
| Oral Tablet | atorvastatin 80 MG Oral Tablet [Lipitor] | Lipitor | 262095 | Lipitor 80 MG Oral Tablet | SBD |
| Oral Tablet | atorvastatin 10 MG Oral Tablet [Lipitor] | Lipitor | 617314 | Lipitor 10 MG Oral Tablet | SBD |
| Oral Tablet | atorvastatin 20 MG Oral Tablet [Lipitor] | Lipitor | 617318 | Lipitor 20 MG Oral Tablet | SBD |
| Oral Tablet | atorvastatin 40 MG Oral Tablet [Lipitor] | Lipitor | 617320 | Lipitor 40 MG Oral Tablet | SBD |
| Extended Release Oral Tablet | 24 HR metformin hydrochloride 1000 MG / saxagl… | metformin | 1043567 | Kombiglyze 2.5/1000 24 HR Extended Release Ora… | SBD |

Real rows returned by this API on 2026-11-09 for the request shown.

## What it returns

Official US National Library of Medicine RxNorm data. Free public source.

Every strength and form of the drug: RxCUI, full clinical name, generic or brand, ingredients, dose form, brand names, NDC codes, ATC class, pharmacologic class, mechanism of action and conditions it may treat.

## Common uses

Pharmacy and health apps, prescription data normalisation, NDC-to-drug mapping, formulary tools, clinical research. Pay per drug product.

## Request

`POST https://api.pushbuild.com/rxnorm-drugs/run` with a JSON body. Send your key in the `X-API-Key` header.

| Field | Type | Description |
| --- | --- | --- |
| `drugNames` | list of strings | Brand or generic names; misspellings are matched approximately. |
| `ndcs` | list of strings | National Drug Codes (with or without dashes). |
| `rxcuis` | list of strings | RxNorm concept IDs. |
| `productTypes` | list of strings | Limit to generic, brand, generic pack or brand pack. Empty = all. |
| `includeNdcs` | boolean | Package NDCs for each product. Default: `true`. |
| `includeClasses` | boolean | ATC, pharmacologic class, mechanism of action and conditions treated. Default: `true`. |
| `maxItems` | integer | Maximum items to return (1-500). Default: `100`. |

### Example

```
curl -X POST https://api.pushbuild.com/rxnorm-drugs/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"drugNames": ["Lipitor", "metformin"], "maxItems": 20}'
```

### Response

```
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
```

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

## Pricing

Pay only for results returned: $0.40 per 1,000 drug products. No charge for errors or empty searches.

| Drug products | Cost |
| --- | --- |
| 1,000 | $0.40 |
| 10,000 | $4.00 |
| 100,000 | $40.00 |
| 1,000,000 | $400.00 |
| 2,500 a month | Free ($1 monthly credit) |

## Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: `https://api.pushbuild.com/mcp/rxnorm-drugs`. Add it to any assistant that supports remote MCP servers, with your key in the `X-API-Key` header. Same prices. [Setup for each app](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [openFDA API](https://pushbuild.com/apis/openfda.html): Search official FDA data: drug approvals (Drugs@FDA), drug, device and food recalls, drug and device adverse event reports, drug labels and the NDC directory.
- [Medicare Part D Prescribers API](https://pushbuild.com/apis/medicare-part-d-prescribers.html): CMS Medicare Part D prescriber data by provider and drug: NPI, name, specialty, city and state, brand and generic drug, total claims, 30-day fills, days supply, drug cost and beneficiaries, with the 65+ split.
- [Canada Drug Database API](https://pushbuild.com/apis/canada-drug-database.html): Health Canada Drug Product Database: drug products by brand name or DIN with company, class, marketing status and date, and every active ingredient with strength..
- [FDA Approvals Feed API](https://pushbuild.com/apis/fda-approvals-feed.html): FDA press releases with exact publish times and approvals flagged, plus original NDA/BLA drug and biologic approvals from Drugs@FDA: approval date, sponsor, brand, ingredients, novelty class, review priority and approval letter..
- [Electoral Boundaries API](https://pushbuild.com/apis/electoral-boundaries.html): Which congressional district, state legislative district, voting precinct, county, tract and place contains a US point; every district in a state; GeoJSON outlines by GEOID from Census TIGER; and administrative boundaries for every country from geoBoundaries..
- [Drug Label API](https://pushbuild.com/apis/dailymed-drug-labels.html): FDA drug labels from DailyMed (US National Library of Medicine): search by drug name, NDC or labeler, with set ID, version, published date and label sections: boxed warning, indications, dosage, contraindications, warnings, adverse reactions, interactions..

## Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

[hello@pushbuild.com](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

---
As of 2026-12-03. Source: https://pushbuild.com/apis/rxnorm-drugs.html
