Amass logo
Build AssistantDocumentationAPI ReferenceApp gallery
Sign inSign up

Search documentation

Search the documentation by keyword

Getting Started
  • Overview
  • Quickstart
  • Authentication
  • Roadmap
  • Pricing
For AI Agents
  • LLM Quick Reference
Amass Cores
  • BiomedCore
  • DrugCore
  • GeneCore
  • PatentCore
  • RegulatoryCore
  • TrialCore
Examples
  • Starter Agent
  • API Workflows
  • Amass SKILL.md

    DrugCore

    DrugCore provides access to 22K+ harmonized drug and molecule records sourced from ChEMBL, covering drug names, trade names, synonyms, modality, highest clinical stage reached, chemical structure (InChIKey and SMILES), and mechanisms of action (pharmacological targets enriched with HGNC gene metadata). Records are cross-linked to the clinical trials (TrialCore), literature (BiomedCore), and regulatory authorizations (RegulatoryCore, FDA/EMA) associated with each drug, and organized into parent/child hierarchies.


    Endpoints

    Search — GET /v1/cores/drugcore/records

    Keyword search across drug names, trade names, synonyms, descriptions, and mechanism-of-action targets (target gene symbols, synonyms, names, action types, target types, and mechanism descriptions), with optional filters for modality and clinical stage.

    Shell
    curl "https://api.amass.tech/api/v1/cores/drugcore/records?query=pembrolizumab&limit=5" \
      -H "Authorization: Bearer amass_YOUR_KEY"

    Parameters:

    NameRequiredDefaultDescription
    queryyes—Search text (drug names, trade names, synonyms, descriptions)
    limitno20Results to return (1–300)
    includeno—Optional fields to return. Repeat for multiple: parent, children, referencesTrialCore, referencesBiomedCore, referencesRegulatoryCore, referencesGeneCore
    drugTypeno—Filter by drug modality (see Drug Type values)
    maxClinicalStageno—Filter by highest clinical stage reached (see Clinical Stage values)

    Example with filters — approved antibody drugs:

    Shell
    curl "https://api.amass.tech/api/v1/cores/drugcore/records\
    ?query=checkpoint+inhibitor\
    &drugType=ANTIBODY\
    &maxClinicalStage=APPROVAL\
    &limit=20" \
      -H "Authorization: Bearer amass_YOUR_KEY"

    Response:

    JSON
    { "data": [ { "amassId": "AMDC_...", "name": "...", "..." }, ... ] }

    Get by ID — GET /v1/cores/drugcore/records/{amassId}

    Fetch a single drug record by its Amass ID.

    Shell
    curl "https://api.amass.tech/api/v1/cores/drugcore/records/AMDC_abc123\
    ?include=referencesTrialCore" \
      -H "Authorization: Bearer amass_YOUR_KEY"

    Response:

    JSON
    { "data": { "amassId": "AMDC_...", "name": "...", "..." } }

    Returns 404 if not found, or 400 if the Amass ID is malformed.


    Lookup — POST /v1/cores/drugcore/records/lookup

    Convert ChEMBL IDs to Amass IDs in batch. Each item must contain a chemblId.

    Shell
    curl -X POST "https://api.amass.tech/api/v1/cores/drugcore/records/lookup" \
      -H "Authorization: Bearer amass_YOUR_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "items": [
          { "chemblId": "CHEMBL1201583" },
          { "chemblId": "CHEMBL9999999" }
        ]
      }'

    Response:

    JSON
    {
      "data": [
        {
          "input": { "chemblId": "CHEMBL1201583" },
          "amassIds": ["AMDC_abc123"]
        },
        {
          "input": { "chemblId": "CHEMBL9999999" },
          "error": { "code": "NOT_FOUND", "message": "No matching record found" }
        }
      ]
    }

    A single ChEMBL ID can resolve to more than one Amass ID, so amassIds is always an array. Individual items can fail without failing the whole request — always check each item for an error field.


    Record Schema

    Default fields (always returned)

    FieldTypeDescription
    amassIdstringUnique Amass identifier (AMDC_...)
    chemblIdstring | nullChEMBL molecule identifier
    namestring | nullPrimary drug name
    descriptionstring | nullA short free-text description of the drug, its clinical stage, and/or its indications
    synonymsstring[]Alternative names for the drug
    tradeNamesstring[]Brand / trade names
    drugTypestring | nullDrug modality (see Drug Type values)
    maxClinicalStagestring | nullHighest clinical stage reached (see Clinical Stage values)
    inchiKeystring | nullInChIKey structure hash
    canonicalSmilesstring | nullCanonical SMILES string
    mechanismsOfActionobject[]Mechanisms of action — how the drug interacts with each pharmacological target, enriched with HGNC gene metadata. See Mechanism of action

    Optional fields

    Request these with the include parameter. Repeat for multiple: ?include=parent&include=children

    FieldInclude valueTypeDescription
    parentparentstring | nullIntra-core link within DrugCore. Amass ID (AMDC_...) of this drug's parent record — see drug relationships example
    childrenchildrenstring[]Intra-core link within DrugCore. Amass IDs (AMDC_...) of this drug's child records — see drug relationships example
    referencesTrialCorereferencesTrialCorestring[]Cross-core link → TrialCore. Amass IDs of TrialCore records (clinical trials) associated with this drug — see drug evidence example
    referencesBiomedCorereferencesBiomedCorestring[]Cross-core link → BiomedCore. Amass IDs of BiomedCore records (publications) associated with this drug — see drug evidence example
    referencesRegulatoryCorereferencesRegulatoryCorestring[]Cross-core link → RegulatoryCore. Amass IDs of RegulatoryCore records (FDA/EMA authorizations) associated with this drug, linking drugs to their regulatory approvals
    referencesGeneCorereferencesGeneCorestring[]Cross-core link → GeneCore. Amass IDs of GeneCore records (genes) this drug targets, resolved from the mechanism-of-action target Ensembl gene IDs

    Reference field semantics

    ╔══════════════════════════════════════════ DrugCore (drugs) ══════════════════════════════════════════╗
    ║                                                                                                      ║
    ║                          ┌──────────┐                                                                ║
    ║              AMDC parent │  AMDC_Y  │ ◄── AMDC_X.parent                                              ║
    ║                     ▲    └──────────┘                                                                ║
    ║                     │         │                                                                      ║
    ║                  parent       │ children                                                             ║
    ║                     │         ▼                                                                      ║
    ║                ┌──────────┐  ┌─► AMDC_c01                                                            ║
    ║                │  AMDC_X  │  ├─► AMDC_c02                                                            ║
    ║                └──────────┘  └─► AMDC_c03                                                            ║
    ║                                                                                                      ║
    ║    AMDC_X.parent   = AMDC_Y                          ← 1 ID                                          ║
    ║    AMDC_X.children = [AMDC_c01, AMDC_c02, AMDC_c03]  ← 3 IDs                                         ║
    ║                                                                                                      ║
    ║        ── intra-core: arrows stay within DrugCore ──                                                 ║
    ║                                                                                                      ║
    ╚══════════════════════════════════════════════════════════════════════════════════════════════════════╝
               │                        │                            │                           │
    referencesTrialCore      referencesBiomedCore      referencesRegulatoryCore       referencesGeneCore
    = [AMTC_t01,             = [AMBC_p01, …,           = [AMRC_r01,                   = [AMGC_g01,
       AMTC_t02]                AMBC_p09]                 AMRC_r02]                      AMGC_g02]
               │                        │                            │                           │
               ▼                        ▼                            ▼                           ▼
    ╔ TrialCore (trials) ╗   ╔═ BiomedCore (pubs) ═╗   ╔ RegulatoryCore (FDA/EMA) ╗   ╔═ GeneCore (genes) ═╗
    ║                    ║   ║                     ║   ║                          ║   ║                    ║
    ║ AMTC_t01  AMTC_t02 ║   ║ AMBC_p01 … AMBC_p09 ║   ║    AMRC_r01  AMRC_r02    ║   ║ AMGC_g01  AMGC_g02 ║
    ║                    ║   ║                     ║   ║                          ║   ║                    ║
    ╚════════════════════╝   ╚═════════════════════╝   ╚══════════════════════════╝   ╚════════════════════╝
    • Intra-core arrows stay inside DrugCore — parent and children target IDs start with AMDC_. parent is a single ID (fan-in to the hierarchy); children is a list (fan-out).
    • Cross-core arrows leave DrugCore — referencesTrialCore targets start with AMTC_, referencesBiomedCore targets start with AMBC_, referencesRegulatoryCore targets start with AMRC_, and referencesGeneCore targets start with AMGC_.
    • Inside TrialCore and BiomedCore, the linked records carry their own reference fields — see TrialCore and BiomedCore.
    • RegulatoryCore authorizations carry the reverse link back to DrugCore (referencesDrugCore), so the drug ↔ authorization relationship can be traversed from either side.
    • referencesGeneCore links a drug to the GeneCore records (AMGC_) for the genes it targets, resolved from its mechanism-of-action target Ensembl gene IDs — so a drug's targets can be traversed as full gene records.

    Mechanism of action

    Each record carries a mechanismsOfAction array describing how the drug acts on its biological targets. Targets are enriched with HGNC gene metadata. Each target resolves to a full GeneCore record via the referencesGeneCore cross-core link.

    mechanismsOfAction[] shape

    FieldTypeDescription
    actionTypestring | nullHow the drug interacts with its target (e.g. INHIBITOR, ACTIVATOR, ANTAGONIST)
    mechanismOfActionstring | nullFree-text description of the drug's pharmacological action
    targetTypestring | nullClassification of the target's biological category (e.g. single protein, protein complex)
    targetsobject[]Biological targets the drug acts on — see below

    targets[] shape

    FieldTypeDescription
    ensemblIdstringEnsembl gene identifier of the drug target (e.g. ENSG00000095303)
    symbolstring | nullHGNC approved gene symbol (e.g. PTGS1)
    namestring | nullGene / target name
    synonymsstring[]HGNC alias and previous gene symbols

    Example:

    JSON
    {
      "mechanismsOfAction": [
        {
          "actionType": "INHIBITOR",
          "mechanismOfAction": "Cyclooxygenase inhibitor",
          "targetType": "single protein",
          "targets": [
            {
              "ensemblId": "ENSG00000095303",
              "symbol": "PTGS1",
              "name": "prostaglandin-endoperoxide synthase 1",
              "synonyms": ["COX1", "COX-1"]
            }
          ]
        }
      ]
    }

    The keyword query also matches target gene symbols, synonyms, names, action types, target types, and mechanism descriptions.


    Filter Values

    Drug Type

    Drug modality. Use with the drugType search filter or read from the drugType field.

    ValueDescription
    SMALL_MOLECULESmall molecule
    ANTIBODYAntibody
    PROTEINProtein
    OLIGONUCLEOTIDEOligonucleotide
    GENEGene therapy
    ENZYMEEnzyme
    ANTIBODY_DRUG_CONJUGATEAntibody–drug conjugate
    VACCINE_COMPONENTVaccine component
    CELLCell therapy
    OLIGOSACCHARIDEOligosaccharide
    VACCINEVaccine
    UNKNOWNUnknown

    Clinical Stage

    Highest clinical stage reached. Use with the maxClinicalStage search filter or read from the maxClinicalStage field.

    ValueDescription
    PRECLINICALPreclinical
    INDInvestigational New Drug application
    EARLY_PHASE1Early Phase 1
    PHASE1Phase 1
    PHASE1/PHASE2Phase 1/Phase 2
    PHASE2Phase 2
    PHASE2/PHASE3Phase 2/Phase 3
    PHASE3Phase 3
    PREAPPROVALPre-approval
    APPROVALApproved
    UNKNOWNUnknown

    See Also

    • TrialCore — Clinical trial records
    • BiomedCore — Biomedical literature records
    • RegulatoryCore — FDA/EMA regulatory authorization records
    • GeneCore — Gene records (genes link to the drugs that target them)
    • API Workflows — See DrugCore in action: mapping a drug's evidence base, surveying modalities by stage, tracing drug relationships
    • Overview — Errors and rate limits
    • Quickstart — Getting started with examples