FDA Substance Registry (UNII)

Substances in the FDA's Global Substance Registration System, found by name, UNII or CAS number: the UNII, name, class, synonyms, outside codes (CAS, RxCUI, PubChem, DrugBank, ChEMBL, EC, ATC and more), formula, molecular weight, SMILES and how it relates to other substances.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 23 fieldsv1.0

Data from open.fda.gov/apis/other/substance/

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Nameoptional
Substance name or words in it, such as metformin or metformin hydrochloride.
Example: metformin
Uniioptional
Look up one substance by its 10-character FDA Unique Ingredient Identifier, such as 9100L32L2N. When given, name and cas_number are not used.
Example: 9100L32L2N
Cas numberoptional
Look up substances by CAS Registry Number, such as 657-24-9. When given, name is not used.
Example: 657-24-9

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/fda-substance-registry/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/fda-substance-registry/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"name":"metformin"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

nametext
Substance name or words in it, such as metformin or metformin hydrochloride.
example: metformin
uniitext
Look up one substance by its 10-character FDA Unique Ingredient Identifier, such as 9100L32L2N. When given, name and cas_number are not used.
example: 9100L32L2N
cas_numbertext
Look up substances by CAS Registry Number, such as 657-24-9. When given, name is not used.
example: 657-24-9

What's in each record

23 fields: 19 here, 4 technical ones under Technical details.

Basics

  • Unii

    The FDA's Unique Ingredient Identifier, such as 9100L32L2N.

    Example 9100L32L2N

  • Substance name

    The name the FDA's substance registry shows for the substance, such as Metformin hydrochloride.

    Example Metformin

  • Matched name

    The name in the FDA's UNII list that matched a name search, in capitals; it can be another name of the substance, such as a biosimilar's. Empty for UNII and CAS lookups.

    Example METFORMIN

  • Substance class

    Kind of substance: chemical, protein, nucleicAcid, polymer, mixture, structurallyDiverse (such as plant materials) or specifiedSubstanceG1.

    Example chemical

  • Synonyms

    Other names of the substance; a bracket names the list it comes from, such as [INN] or [USAN].

    Example 1,1-Dimethylbiguanide, 3-(diaminomethylidene)-1,1-dimethylguanidine

  • Cas number

    Main CAS Registry Number, such as 657-24-9.

    Example 657-24-9

  • Rxcui

    RxNorm concept id (RxCUI).

    Example 6809

  • Pubchem cid

    PubChem compound id.

    Example 4091

  • Ec number

    European Community (EC) number from ECHA, such as 211-517-8.

    Example 211-517-8

  • Nci thesaurus code

    NCI Thesaurus code, such as C61612.

    Example C61612

  • Atc codes

    WHO ATC codes, including codes of combination products that hold the substance.

    Example A10BD03, A10BD05

  • Molecular formula

    Molecular formula, such as C4H11N5.

    Example C4H11N5

  • Molecular weight

    Molecular weight in g/mol.

    Example 129.1638

  • Smiles

    Structure as a SMILES string.

    Example CN(C)C(=N)NC(=N)N

  • Stereochemistry

    Stereochemistry, such as ACHIRAL, ABSOLUTE or RACEMIC.

    Example ACHIRAL

  • Active moiety unii

    UNII of the active moiety, such as the parent of a salt.

    Example 9100L32L2N

  • Active moiety name

    Example Metformin

  • Relationships

    Links to other substances as "TYPE: name (UNII)", such as SALT/SOLVATE->PARENT or TARGET->AGONIST.

    Example ACTIVE MOIETY: Metformin (9100L32L2N), SALT/SOLVATE->PARENT: Metformin hydrochloride (786Z46389E)

Technical detailsField names and types for developers, and the 4 fields hidden above

Hidden by default

These 4 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Drugbank ID drugbank_idDrugBank id, such as DB00331.
  • Chembl ID chembl_idChEMBL id, such as CHEMBL1431.
  • Epa comptox ID epa_comptox_idEPA CompTox id (DTXSID).
  • Mesh ID mesh_idMeSH id, such as D008687.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
uniitextUnii3 of 3
urllinkLink3 of 3
substance_nametextSubstance name3 of 3
matched_nametextMatched name3 of 3
substance_classtextSubstance class3 of 3
synonymslistSynonyms3 of 3
cas_numbertextCas number2 of 3
rxcuitextRxcui1 of 3
pubchem_cidtextPubchem cid3 of 3
drugbank_idtextDrugbank ID (hidden)1 of 3
chembl_idtextChembl ID (hidden)2 of 3
ec_numbertextEc number1 of 3
epa_comptox_idtextEpa comptox ID (hidden)2 of 3
nci_thesaurus_codetextNci thesaurus code3 of 3
mesh_idtextMesh ID (hidden)1 of 3
atc_codeslistAtc codes1 of 3
molecular_formulatextMolecular formula3 of 3
molecular_weightnumberMolecular weight3 of 3
smilestextSmiles3 of 3
stereochemistrytextStereochemistry3 of 3
active_moiety_uniitextActive moiety unii2 of 3
active_moiety_nametextActive moiety name2 of 3
relationshipslistRelationships2 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordUniiSubstance nameMatched nameSubstance classSynonymsCas numberRxcuiPubchem cidEc numberNci thesaurus codeAtc codesMolecular formulaMolecular weightSmilesStereochemistryActive moiety uniiActive moiety nameRelationshipsLink
19100L32L2NMetforminMETFORMINchemical1,1-Dimethylbiguanide, 3-(diaminomethylidene)-1,1-dimethylguanidine, IMIDODICARBONIMIDIC DIAMIDE, N,N-DIMETHYL-, METFORMIN EXTENDED RELEASE657-24-968094091211-517-8C61612A10BD03, A10BD05, A10BD07, A10BD11C4H11N5129.1638CN(C)C(=N)NC(=N)NACHIRAL9100L32L2NMetforminACTIVE MOIETY: Metformin (9100L32L2N), SALT/SOLVATE->PARENT: Metformin hydrochloride (786Z46389E), SALT/SOLVATE->PARENT: METFORMIN OROTATE (KE1D8AP3J5), SALT/SOLVATE->PARENT: METFORMIN P-CHLOROPHENOXYACETATE (ECS8EBF633)precision.fda.gov/uniisearch/srs/unii/9100L32L2N
26AI63CHT0TMETFORMIN C-11METFORMIN C-11chemical(N-METHYL-11C)-METFORMIN, 11C-METFORMIN——73388104—C130014—C4H11N5128.1645[11CH3]N(C)C(=N)NC(=N)NACHIRAL———precision.fda.gov/uniisearch/srs/unii/6AI63CHT0T
3YEI21W005YMETFORMIN GLYCINATEMETFORMIN GLYCINATEchemicalDMMET-01, GLYCINE, COMPD. WITH N,N-DIMETHYLIMIDODICARBONIMIDIC DIAMIDE (1:1), Metformin glycinate [WHO-DD], metformin glycinate [INN]121369-64-0—44520175—C170168—C4H11N5.C2H5NO2204.2305CN(C)C(=N)NC(=N)N.C(C(=O)O)NACHIRAL9100L32L2NMetforminACTIVE MOIETY: Metformin (9100L32L2N), PARENT->SALT/SOLVATE: Metformin (9100L32L2N)precision.fda.gov/uniisearch/srs/unii/YEI21W005Y

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Substances are as the FDA publishes them through openFDA, which refreshes the UNII list often but the full substance records only every few months, so a new UNII can appear before its full record. The FDA does not endorse this API.
  • A name search matches every UNII name holding those words in that order: the exact name comes first, then the rest in alphabetical order. At most 1,000 substances per run.
  • Some UNIIs have no full substance record in openFDA; for those only unii, url, substance_name and matched_name are filled.
  • Formula, molecular weight, SMILES and stereochemistry exist only for chemicals; proteins, mixtures, polymers and plant materials leave them empty. Outside codes are filled only where the FDA linked them.
  • synonyms holds at most 200 names and relationships at most 100 links per substance. openFDA limits how many reads it serves a day without a key.

Version history

A run uses the live version unless the request names another one with version.