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

    TrialCore

    TrialCore provides access to clinical trial records sourced from ClinicalTrials.gov and the WHO ICTRP, which adds non-US trials from national registries such as EUCTR, ChiCTR, JPRN, ISRCTN, and others. It covers all phases of clinical research including trial protocols, eligibility criteria, endpoints, sponsor information, recruitment status, and results. Each record carries sourceRegistry, registryId, and sourceUrl identifying where it came from. Updated daily.


    Endpoints

    Search — GET /v1/cores/trialcore/records

    Search across clinical trial records with filters for phase, status, study type, and more.

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

    Parameters:

    NameRequiredDefaultDescription
    queryyes—Search text. A trial identifier in the query returns that trial first (see Searching by trial ID)
    limitno20Results to return (1–300)
    includeno—Optional fields to return. Repeat for multiple: outcomes, detailedDescription, eligibilityCriteria, referencesBiomedCore, referencesDrugCore. Fields only available on get by ID return 400 here (see Optional fields)
    phaseno—Trial phase. Match ANY of the given phases — repeat the param for multiple values (see Phase values and Multi-value filters)
    overallStatusno—Recruitment status. Match ANY of the given statuses — repeat the param for multiple values (see Overall Status values)
    studyTypeno—Study type. Match ANY of the given types — repeat the param for multiple values (see Study Type values)
    sponsorTypeno—Sponsor type. Match ANY of the given types — repeat the param for multiple values (see Sponsor Type values)
    interventionTypeno—Intervention type. Match ANY of the given types — repeat the param for multiple values (see Intervention Type values)
    facilityCountriesno—Comma-separated ISO country codes, e.g. DE,US
    hasResultsno—true or false — filter trials that have posted results
    minStartDateno—ISO date, e.g. 2020-01-01
    maxStartDateno—ISO date, e.g. 2026-01-01
    minCompletionDateno—ISO date, e.g. 2026-01-01
    maxCompletionDateno—ISO date, e.g. 2026-01-01
    minEnrollmentno—Minimum number of participants
    minLastUpdateDateno—ISO date — earliest date Amass last wrote the record (see The two dates). Records with no such date are excluded
    maxLastUpdateDateno—ISO date — latest date Amass last wrote the record
    minCreateDateno—ISO date — earliest date the record entered Amass. Records with no create date are excluded
    sexno—Sex the trial enrolls: FEMALE, MALE or ALL. Match ANY — repeat the param for multiple values (see Eligibility filters). Trials with no recorded sex are excluded
    ageGroupsno—Age groups the trial enrolls: CHILD, ADULT, OLDER_ADULT. Match ANY — repeat the param for multiple values
    healthyVolunteersno—true or false — whether the trial accepts healthy volunteers. ClinicalTrials.gov trials only
    sourceRegistryno—Registry the record came from, as its sourceRegistry value: clinicaltrials_gov, anzctr, chictr, ctis, ctri, drks, euctr, ictrp_nl, irct, isrctn, itmctr, jprn, kct, lbctr, pactr, rebec, repec, rpcec, slctr, tctr. Match ANY — repeat the param for multiple values

    Example with filters — Phase 3 drug trials that are recruiting in the US and Germany:

    Shell
    curl "https://api.amass.tech/api/v1/cores/trialcore/records\
    ?query=breast+cancer\
    &phase=PHASE3\
    &overallStatus=RECRUITING\
    &interventionType=DRUG\
    &facilityCountries=US,DE\
    &limit=20" \
      -H "Authorization: Bearer amass_YOUR_KEY"

    Response:

    JSON
    { "data": [ { "amassId": "AMTC_...", "briefTitle": "...", "..." }, ... ] }

    Searching by trial ID

    A trial identifier in query returns that trial first, ahead of the keyword results. The rest of the query still runs as a search: ?query=ChiCTR2400080025+survival returns that trial, then survival-related trials.

    Casing is ignored, and JPRN IDs work with or without the JPRN- prefix.

    RegistryExample
    ClinicalTrials.govNCT01264315
    EU CTR (EudraCT)EUCTR2007-001061-14-CZ
    EU CTISCTIS2024-517677-25-00
    ChiCTR (China)ChiCTR2400080025, ChiCTR-IOR-16008869
    ISRCTNISRCTN17848241
    ANZCTR (Australia/NZ)ACTRN12619000517178
    JPRN (Japan)JPRN-UMIN000025287, jRCT1091220264, jRCTs032220649
    CRIS (Korea)KCT0012423
    NTR (Netherlands)NL-OMON21122
    IRCT (Iran)IRCT20190312043032N1
    CTRI (India)CTRI/2019/09/021427
    DRKS (Germany)DRKS00008308
    ReBEC (Brazil)RBR-5khzxz
    RPCEC (Cuba)RPCEC00000135
    PACTR (Pan-African)PACTR202410526786105
    SLCTR (Sri Lanka)SLCTR/2021/028
    TCTR (Thailand)TCTR20250828002
    LBCTR (Lebanon)LBCTR2022035014
    REPEC (Peru)PER-075-13
    ITMCTRITMCTR1900002740

    EUCTR trials register once per participating country, so a EudraCT number without its country suffix names several records — up to 32, and they differ on enrollment, sponsor, status and hasResults. Search returns such a trial once, as its best-matching country registration. To get every country's registration, pass the EudraCT number without its country suffix (EUCTR2013-000487-28) to Lookup. EUCTR2013-000487-28-CZ returns one.

    A trial registered with ClinicalTrials.gov and with another registry (EUCTR, ISRCTN, jRCT and others) is also returned once, preferring its ClinicalTrials.gov record. That record's secondaryIds lists the other registrations; pass one to Lookup to get its record.

    limit counts distinct trials, and a trial's other registrations don't take a slot of their own. The exception is a query that names a trial ID: every record that ID matches is returned, one per EudraCT number. A registry ID also matches the ClinicalTrials.gov record that lists it in secondaryIds.

    Multi-value filters

    The enum filters phase, overallStatus, studyType, sponsorType, interventionType, sex, and ageGroups each accept multiple values. Repeat the param and they combine the same way as BiomedCore's author & institution filters.

    • Within one filter — OR. Repeat the param to match any of the listed values: ?phase=PHASE2&phase=PHASE3 returns trials in Phase 2 or Phase 3.
    • Across filters — AND. Mixing different filters narrows the result: ?phase=PHASE3&overallStatus=RECRUITING returns trials that are Phase 3 and recruiting.
    Shell
    # Late-stage obesity drug trials that are either recruiting or active, run by industry
    curl "https://api.amass.tech/api/v1/cores/trialcore/records\
    ?query=GLP-1+receptor+agonist+obesity\
    &phase=PHASE2\
    &phase=PHASE3\
    &overallStatus=RECRUITING\
    &overallStatus=ACTIVE_NOT_RECRUITING\
    &sponsorType=INDUSTRY\
    &interventionType=DRUG\
    &interventionType=BIOLOGICAL\
    &limit=100" \
      -H "Authorization: Bearer amass_YOUR_KEY"

    Eligibility filters

    These filters match the trial's own sex, ageGroups and healthyVolunteers values, like every other filter.

    • Sex. sex=MALE returns trials that enroll men only. For trials open to men, add ALL: sex=MALE&sex=ALL. Trials with no recorded sex are excluded.
    • Age groups. ageGroups=CHILD returns trials that enroll anyone aged 0–17; ADULT is 18–64 and OLDER_ADULT is 65 and over. Repeat the param to match any of several groups. A trial that states no age limits has no age groups, so this filter leaves it out.
    • Healthy volunteers. healthyVolunteers=true or false matches the trial's own value. Only ClinicalTrials.gov trials record it, so either value leaves out trials from other registries.
    Shell
    # Recruiting type 2 diabetes trials that enroll older women
    curl "https://api.amass.tech/api/v1/cores/trialcore/records\
    ?query=type+2+diabetes\
    &overallStatus=RECRUITING\
    &ageGroups=OLDER_ADULT\
    &sex=FEMALE\
    &sex=ALL" \
      -H "Authorization: Bearer amass_YOUR_KEY"

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

    Fetch a single trial record by its Amass ID. include accepts every optional field, including those search does not.

    Shell
    curl "https://api.amass.tech/api/v1/cores/trialcore/records/AMTC_abc123\
    ?include=outcomes" \
      -H "Authorization: Bearer amass_YOUR_KEY"

    Response:

    JSON
    { "data": { "amassId": "AMTC_...", "briefTitle": "...", "..." } }

    Returns 404 if not found.


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

    Convert trial IDs to Amass IDs in batch. Each item takes exactly one of nctId or registryId. Use registryId (the source-registry native id) to resolve any trial — including non-US (ICTRP) trials, which have no nctId. It takes any format from Searching by trial ID, casing ignored.

    Shell
    curl -X POST "https://api.amass.tech/api/v1/cores/trialcore/records/lookup" \
      -H "Authorization: Bearer amass_YOUR_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "items": [
          { "nctId": "NCT04303507" },
          { "registryId": "EUCTR2013-000487-28" }
        ]
      }'

    Response:

    JSON
    {
      "data": [
        {
          "input": { "nctId": "NCT04303507" },
          "amassIds": ["AMTC_abc123"]
        },
        {
          "input": { "registryId": "EUCTR2013-000487-28" },
          "amassIds": ["AMTC_def456", "AMTC_ghi789"]
        }
      ]
    }

    A EudraCT number without its country suffix matches every country's registration — EUCTR2013-000487-28 is registered in ten, so it returns ten Amass IDs (two shown). Pass the full registryId (EUCTR2013-000487-28-DE) to get one.

    Individual items can fail without failing the whole request. Always check each item for an error field.


    Changes — GET /v1/cores/trialcore/changes

    A resumable feed of trials that were created, updated, or deleted, for keeping a local copy in sync without re-reading the corpus. Read updateType to tell them apart.

    Shell
    curl "https://api.amass.tech/api/v1/cores/trialcore/changes\
    ?since=2026-01-01\
    &limit=500" \
      -H "Authorization: Bearer amass_YOUR_KEY"

    Parameters:

    NameRequiredDefaultDescription
    sinceyes—ISO date — start of the change window, inclusive
    limitno100Items per page (1–1000)
    cursorno—Opaque cursor from a previous response's nextCursor
    amassIdno—Repeat to follow only these records (max 100). Omit for the whole corpus — see Watching a specific set of trials

    Response:

    JSON
    {
      "data": [
        {
          "amassId": "AMTC_abc123",
          "updateType": "updated",
          "updateDate": "2026-01-14",
          "createDate": "2024-03-02"
        },
        {
          "amassId": "AMTC_def456",
          "updateType": "deleted",
          "updateDate": "2026-01-15",
          "createDate": null
        }
      ],
      "nextCursor": "eyJ2IjoxLCJ..."
    }

    Response fields:

    FieldTypeDescription
    amassIdstringThe record that changed
    updateTypestringcreated, updated, or deleted
    updateDatestringThe change that caused this delivery. For a deletion, the date the removal was observed
    createDatestring | nullWhen the record entered Amass. Always null on a deletion
    nextCursorstring | nullPass back as cursor. null means caught up through the last fully-ingested day

    The feed returns identifiers and change metadata, not trial content — fetch the records you care about with Get by ID once you know which ones moved.

    Paging. Pass the nextCursor from each response back as cursor on the next request. Keep going until nextCursor is null — that is the only signal you are caught up. A page can hold fewer than limit items and still have a cursor: limit bounds the rows the feed scans, not the items it returns, so both a day boundary and a record that changed more than once on one day leave a page short.

    Delivery is at-least-once. The same amassId can appear more than once across pages, so apply the feed as an upsert rather than a counter.

    created describes the delivery, not the record. It means this is the first time the feed has handed you that trial. One that entered Amass inside your window and then changed again — its own record or its posted results — arrives once, as updated. To tell genuinely new trials from long-standing ones, compare createDate against your window rather than branching on updateType.

    The most recent day is withheld. A day is only served once ingestion for it has finished, so an in-progress run cannot hand you a half-written day and leave the rest stranded behind your cursor. In practice a change becomes visible about a day after it lands.

    Resume from a day or two before your last since, not from "now". The feed serves everything from since up to the last fully-ingested day, so nextCursor: null means you have that — not that you are caught up to the current date. Advancing your next since to today therefore steps over the withheld day and never comes back for it. Store the since you asked for and re-ask from slightly before it: delivery is at-least-once and you upsert by amassId, so the overlap costs a page and nothing else.

    Results revisions are covered. When a trial's posted results, participant flow or adverse events change but the trial record itself does not, the trial still appears in this feed.

    This includes results being removed, not just added or revised. A trial that loses a reported outcome arrives as updateType: "updated" — the trial still exists, so it is not a deletion — with a updateDate on the day the removal was observed.

    Watching a specific set of trials

    If you track a fixed set of trials rather than a mirror of the corpus, pass amassId — repeated, up to 100 per request — and the feed reports only those:

    Shell
    curl "https://api.amass.tech/api/v1/cores/trialcore/changes\
    ?since=2026-01-01\
    &amassId=AMTC_abc123\
    &amassId=AMTC_def456" \
      -H "Authorization: Bearer amass_YOUR_KEY"

    Everything else is unchanged — same envelope, same updateType, same cursor, same price. In particular scoping weakens no guarantee: deletions still arrive, and so do results revisions and removed outcomes. That is the reason to scope the feed rather than poll minLastUpdateDate on Search, which catches none of the three.

    Repeat the parameter once per trial. A comma-joined list — amassId=AMTC_abc123,AMTC_def456 — is read as one identifier and rejected.

    Two consequences worth knowing:

    • A scoped page can never hold more than 100 distinct records, so limit above 100 does nothing.
    • A cursor is bound to the amassId set it was issued for. Change the set while paging and the cursor is rejected with a 400 — see Changing the watchlist.

    Trials whose Amass ID is malformed, belongs to another Core, or is sent as an empty value are rejected outright rather than skipped. A silently dropped id would leave you believing a trial is being watched when it is not.

    Watching more than 100 trials

    Split the watchlist into chunks of 100 and sweep each chunk independently.

    Chunk the same way on every run. Each chunk carries its own cursor, and a cursor is bound to the exact set of ids that issued it, so re-partitioning between runs invalidates every cursor at once. Sort by amassId and slice, or derive the chunk from a stable property of the record. Do not chunk by iteration order over a set or hash map.

    Chunking stably also makes adding a trial a change to one chunk rather than to all of them.

    Changing the watchlist

    A cursor is bound to the amassId set that issued it, so changing that set mid-sweep gets you a 400 on the next request.

    This matters less than it first appears, because cursors are sweep-local. What you persist between runs is your own since, not the cursor; the next sweep starts from since with no cursor at all. A watchlist edited between sweeps therefore costs nothing.

    That leaves editing mid-sweep, which you can avoid entirely by paging to nextCursor: null before applying watchlist changes — a scoped sweep usually takes one or two requests. If you do have to edit mid-sweep, the recovery depends on which direction it went:

    • Removed a trial. Nothing is missing. Restart from the since you last stored. Re-asking an overlapping window is safe and cheap, because delivery is at-least-once and you upsert by amassId anyway.
    • Added a trial. The new trial needs the full window regardless, so resuming would not have helped it. Either restart the sweep, or run the added ids as their own request from whichever date you want their history to begin.

    Deletions

    Deletions arrive on this feed as updateType: "deleted", under the same cursor as every other change. That is what lets a consumer holding an amassId tell "removed from the registry" from "never existed".

    The feed reports current state, not a complete event log. A trial removed more than once reports only its most recent removal. A trial that is removed and later re-registered ends up as created — whether you also see the intervening deleted depends on how the two dates fall across pages, and either way applying the feed in order leaves you holding the record. If you need a record's exact history rather than its present state, this is not the right tool; reconcile against a Get by ID fetch.

    A halted trial is not a deletion. Withdrawn and terminated trials stay indexed; they arrive as an overallStatus change with updateType: "updated".


    Record Schema

    Default fields (always returned)

    FieldTypeDescription
    amassIdstringUnique Amass identifier (AMTC_...)
    nctIdstring | nullClinicalTrials.gov identifier. Null for non-US trials (see registryId)
    registryIdstring | nullNative identifier from the source registry. Equals nctId for ClinicalTrials.gov trials; the registry-native ID (e.g. EUCTR2013-000487-28-DE, ChiCTR2400080025) for WHO ICTRP trials. EUCTR values always carry a country suffix. Populated for every record
    sourceRegistrystring | nullRegistry the record came from: clinicaltrials_gov, or a WHO ICTRP member-registry slug (e.g. euctr, ctis, chictr, isrctn, anzctr, jprn, ctri, drks)
    sourceUrlstring | nullLink to the trial record on its source registry
    urlstring | nullLink to the source of this record. The target may change over time; use the identifier fields to build links to specific external systems
    briefTitlestring | nullBrief study title
    officialTitlestring | nullOfficial study title
    briefSummarystring | nullBrief study summary
    acronymstring | nullShort study acronym or nickname (e.g. KEYNOTE-189)
    phasestring | nullTrial phase (see Phase values)
    overallStatusstring | nullRecruitment status (see Overall Status values)
    lastKnownStatusstring | nullWhen overallStatus is UNKNOWN (the sponsor has not verified the record in over two years), the status it last reported, e.g. RECRUITING. Null for any other status. ClinicalTrials.gov trials only
    studyTypestring | nullType of study (see Study Type values)
    startDatestring | nullISO date
    primaryCompletionDatestring | nullISO date the last participant was examined or treated for the primary outcome, which is when primary results become available. The sponsor's estimate for an ongoing trial. ClinicalTrials.gov trials only
    completionDatestring | nullISO date
    lastUpdateDatestring | nullISO date Amass last wrote the record (see The two dates)
    createDatestring | nullISO date the record first entered Amass
    hasResultsbooleanWhether trial has posted results
    enrollmentnumber | nullNumber of participants
    enrollmentTypestring | nullACTUAL or ESTIMATED
    sponsorNamestring | nullLead sponsor name
    sponsorTypestring | nullSponsor type (see Sponsor Type values)
    collaboratorsstring[]Collaborator names
    conditionsstring[]Conditions studied
    conditionMeshTermsstring[]MeSH terms for conditions
    interventionTypesstring[]Types of interventions (see Intervention Type values)
    interventionNamesstring[]Names of interventions
    interventionMeshTermsstring[]MeSH terms for interventions
    facilityCountriesstring[]Countries where the trial is conducted (ISO codes)
    keywordsstring[]Study keywords
    orgStudyIdstring | nullOrganization's study ID
    secondaryIdsstring[]Secondary identifiers
    primaryOutcomeMeasuresstring[]Primary outcome measure descriptions
    secondaryOutcomeMeasuresstring[]Secondary outcome measure descriptions
    minAgeYearsnumber | nullMinimum eligible age in whole years. A limit under one year reads as 0. Null when none is stated
    maxAgeYearsnumber | nullMaximum eligible age in whole years, rounded up (an 11-month limit reads as 1). Null when none is stated
    sexstring | nullSex of the participants the trial enrolls: ALL, FEMALE, or MALE
    healthyVolunteersboolean | nullWhether the trial accepts healthy volunteers. ClinicalTrials.gov trials only
    ageGroupsstring[]Age groups the trial enrolls: CHILD (under 18), ADULT (18–64), OLDER_ADULT (65 and over)
    designAllocationstring | nullRANDOMIZED, NON_RANDOMIZED, or NA
    designInterventionModelstring | nullSINGLE_GROUP, PARALLEL, CROSSOVER, FACTORIAL, or SEQUENTIAL
    designPrimaryPurposestring | nullE.g. TREATMENT, PREVENTION, DIAGNOSTIC
    designMaskingstring | nullNONE, SINGLE, DOUBLE, TRIPLE, or QUADRUPLE
    resultsFirstPostDatestring | nullISO date when results were first posted
    whyStoppedstring | nullReason for stopping (if applicable)
    isFdaRegulatedDrugboolean | nullWhether trial involves an FDA-regulated drug
    isFdaRegulatedDeviceboolean | nullWhether trial involves an FDA-regulated device
    armGroupsobject[]Study arm groups (see Arm Group shape)
    oversightHasDmcboolean | nullWhether study has a Data Monitoring Committee

    Optional fields

    Request these with the include parameter. A field marked No under On search is only available on get by ID; requesting it on search returns 400 with a message naming the field and the request to use instead. A field marked Beta may still be renamed or reshaped.

    FieldInclude valueOn searchTypeDescription
    detailedDescriptiondetailedDescriptionYesstring | nullFull study description
    eligibilityCriteriaeligibilityCriteriaYesstring | nullInclusion and exclusion criteria as registered, in plain text with line breaks
    outcomesoutcomesYesobject[]Detailed outcome results (see Outcome shape and pipeline tracking example)
    participantFlowparticipantFlowNoobjectBeta. Posted participant flow: per period and group, how many started and completed, and why participants left (see Participant flow shape). Absent when none is posted
    adverseEventsadverseEventsNoobjectBeta. Posted adverse events: per group, participants with all-cause death, any serious and any other event, plus each other (non-serious) term (see Adverse events shape). Absent when none are posted
    seriousAdverseEventsseriousAdverseEventsNoobjectBeta. Every posted serious adverse event term with its counts per group (see Serious adverse events shape). Can run to tens of thousands of characters. Absent when no adverse events are posted
    referencesBiomedCorereferencesBiomedCoreYesstring[]Cross-core link → BiomedCore. Amass IDs of BiomedCore records (publications) referenced by this trial, results publications first — see trials-to-evidence example
    referencesDrugCorereferencesDrugCoreYesstring[]Cross-core link → DrugCore. Amass IDs of DrugCore records (drugs) studied by this trial — the reverse of DrugCore's referencesTrialCore

    The two dates

    Two fields describe when something happened to a record, and they answer different questions.

    FieldWhose claimMoves when
    lastUpdateDateAmass'sAmass writes any ingested change to the record
    createDateAmass'sNever — it is set once, when the record first enters Amass

    lastUpdateDate is when Amass last wrote the row. Any ingested change moves it, so it answers "is what I hold current" rather than "did this trial's substance change" — which makes it the right field for cache invalidation. It is filterable from both ends: minLastUpdateDate and maxLastUpdateDate.

    It is not the source registry's own reported revision date. That value is recorded by registries with varying care — some bump it on cosmetic edits, some leave it stale through real ones — and it is no longer served or filterable. If you need what the registry asserts rather than what Amass observed, tell us.

    lastUpdateDate is also not the same as the change feed's updateDate. The feed also walks the results and outcome namespaces, so a results-only revision surfaces there while the trial row itself is untouched. When the two disagree, the feed is the more complete answer.

    There is no maxCreateDate. A record's create date never changes once set, so a threshold is enough — only the update date describes a moving fact and needs a window.

    Covering a long window

    Search returns a ranked top-K, so a wide lastUpdateDate window can truncate silently. To cover a long span, request it in slices — minLastUpdateDate=2026-08-01&maxLastUpdateDate=2026-08-07, then the next week — and union the results. Each slice gets its own top-K, so this reaches records a single wide request would drop.

    For complete coverage with no truncation at all, use /changes. The division is: search answers "what changed, among things matching my query" — ranked, top-K, no deletions. /changes answers "everything that changed" — complete, ordered, deletions included.

    createDate distinguishes a trial that is new to Amass from one that has been present for years and was merely revised. It is also the reliable way to make that call on the change feed, whose updateType describes a delivery rather than the record. It can be null on records ingested before Amass tracked it.

    Reference field semantics

    ╔═════════════════ TrialCore (clinical trials) ═════════════════╗
    ║                                                                ║
    ║                          ┌──────────┐                          ║
    ║                          │  AMTC_X  │                          ║
    ║                          └──────────┘                          ║
    ║                                                                ║
    ╚════════════════════════════════════════════════════════════════╝
                                    │
                                    │   AMTC_X.referencesBiomedCore       ← 15 IDs
                                    │   = [AMBC_p001, …, AMBC_p015]
                                    │   ── cross-core link to BiomedCore ──
                                    ▼
    ╔══════════════════ BiomedCore (publications) ══════════════════╗
    ║                                                                ║
    ║                               ┌─► AMBC_p001                    ║
    ║                               ├─► AMBC_p002                    ║
    ║                               ├─► AMBC_p003                    ║
    ║                               │                                ║
    ║                               │      ⋮                         ║
    ║                               │                                ║
    ║                               ├─► AMBC_p013                    ║
    ║                               ├─► AMBC_p014                    ║
    ║                               └─► AMBC_p015                    ║
    ║                                                                ║
    ╚════════════════════════════════════════════════════════════════╝
    • TrialCore has no intra-core (trial-to-trial) link fields.
    • Cross-core arrows leave TrialCore for other Cores — both reference fields cross the Core boundary: referencesBiomedCore targets BiomedCore (IDs start with AMBC_, illustrated above), and referencesDrugCore targets DrugCore (IDs start with AMDC_).
    • referencesBiomedCore is ordered results-first. A trial's references mix the papers reporting its results with background literature the sponsor cited, in no meaningful order. When a publication registers the trial's id in its own PubMed record, its authors are declaring that it reports this trial, and Amass moves it to the front of the array. So referencesBiomedCore[0] is the best available guess at the trial's results publication, and truncating the list to the first few keeps the results papers. Trials with no such publication keep their references in registry order.
    • Inside BiomedCore, the referenced publications can have their own intra-core links (citedBy / references) — see BiomedCore.

    Nested Schemas

    Arm Group shape

    JSON
    {
      "type": "EXPERIMENTAL",
      "title": "Drug A + Drug B",
      "description": "Participants receive Drug A 200mg daily plus Drug B 100mg weekly"
    }

    type values: EXPERIMENTAL, ACTIVE_COMPARATOR, PLACEBO_COMPARATOR, SHAM_COMPARATOR, NO_INTERVENTION, OTHER

    Outcome shape

    JSON
    {
      "outcomeType": "PRIMARY",
      "title": "Overall Survival",
      "description": "Time from randomization to death from any cause",
      "timeFrame": "Up to 36 months",
      "population": "Intent-to-treat population",
      "units": "months",
      "paramType": "MEDIAN",
      "dispersionType": "CONFIDENCE_95",
      "measurements": [
        {
          "group": "Drug A",
          "groupId": "OG000",
          "paramValue": "24.5",
          "dispersionLowerLimit": "20.1",
          "dispersionUpperLimit": "28.9"
        }
      ]
    }

    outcomeType values: PRIMARY, SECONDARY, OTHER_PRE_SPECIFIED, POST_HOC

    paramType values: GEOMETRIC_MEAN, GEOMETRIC_LEAST_SQUARES_MEAN, LEAST_SQUARES_MEAN, LOG_MEAN, MEAN, MEDIAN, NUMBER, COUNT_OF_PARTICIPANTS, COUNT_OF_UNITS

    dispersionType values: NA, STANDARD_DEVIATION, STANDARD_ERROR, INTER_QUARTILE_RANGE, FULL_RANGE, CONFIDENCE_80, CONFIDENCE_90, CONFIDENCE_95, CONFIDENCE_975, CONFIDENCE_99, CONFIDENCE_OTHER, GEOMETRIC_COEFFICIENT

    Participant flow, adverse events and serious adverse events

    Beta: these three may still be renamed or reshaped. Request them on get by ID; search returns 400 for them.

    All three are posted by ClinicalTrials.gov trials only, so a trial without an nctId never carries them. Counts are raw, as posted; nothing is rounded or turned into a percentage. Each count names its group by groupCode, which resolves against the groups of the same object, so each of the three can be requested on its own.

    Participant flow shape

    JSON
    {
      "recruitmentDetails": "...",
      "groups": [{ "code": "FG000", "title": "Placebo", "description": "..." }],
      "periods": [
        {
          "title": "Primary Study Period",
          "milestones": [
            { "title": "STARTED", "counts": [{ "groupCode": "FG000", "count": 200 }] },
            { "title": "COMPLETED", "counts": [{ "groupCode": "FG000", "count": 174 }] }
          ],
          "withdrawals": [
            {
              "reason": "Adverse Event",
              "category": "adverse_event",
              "counts": [{ "groupCode": "FG000", "count": 9 }]
            }
          ]
        }
      ]
    }

    unitsAnalyzed is set when the counts count something other than participants, such as eyes. reason is the withdrawal reason as posted, and category maps it to one of: adverse_event, death, lost_to_follow_up, withdrawal_by_subject, physician_decision, protocol_deviation, pregnancy, lack_of_efficacy, other.

    Adverse events shape

    JSON
    {
      "timeFrame": "Up to 72 weeks",
      "frequencyThreshold": "5",
      "groups": [{ "code": "EG000", "title": "Placebo" }],
      "totals": [
        {
          "eventType": "deaths",
          "classification": "Total, all-cause mortality",
          "counts": [{ "groupCode": "EG000", "subjectsAffected": 1, "subjectsAtRisk": 200 }]
        }
      ],
      "otherEvents": [
        {
          "term": "Nausea",
          "organSystem": "Gastrointestinal disorders",
          "vocabulary": "MedDRA (24.0)",
          "assessment": "Systematic Assessment",
          "counts": [{ "groupCode": "EG000", "subjectsAffected": 21, "subjectsAtRisk": 200, "events": 30 }]
        }
      ]
    }

    totals has one entry per eventType: deaths, serious and other. subjectsAffected counts participants with at least one such event. On a term, events counts how often the event occurred, so one participant can add several; it is optional for sponsors and often null. otherEvents lists the other (non-serious) terms; registries ask only for terms above frequencyThreshold percent in some group, and a term no participant had is left out.

    Serious adverse events shape

    JSON
    {
      "timeFrame": "Up to 72 weeks",
      "groups": [{ "code": "EG000", "title": "Placebo", "subjectsAtRisk": 200 }],
      "events": [
        {
          "term": "Cholelithiasis",
          "organSystem": "Hepatobiliary disorders",
          "vocabulary": "MedDRA (24.0)",
          "assessment": "Systematic Assessment",
          "counts": [{ "groupCode": "EG000", "subjectsAffected": 2, "subjectsAtRisk": 200 }]
        }
      ]
    }

    events lists every serious term, with no frequency threshold. It is empty when the trial posted adverse events but no serious ones.


    Filter Values

    Phase

    ValueDescription
    EARLY_PHASE1Early Phase 1
    PHASE1Phase 1
    PHASE1/PHASE2Phase 1/Phase 2
    PHASE2Phase 2
    PHASE2/PHASE3Phase 2/Phase 3
    PHASE3Phase 3
    PHASE4Phase 4
    NANot applicable

    Overall Status

    ValueDescription
    RECRUITINGCurrently recruiting participants
    NOT_YET_RECRUITINGNot yet open for recruitment
    ENROLLING_BY_INVITATIONEnrolling by invitation only
    ACTIVE_NOT_RECRUITINGOngoing but no longer recruiting
    SUSPENDEDTemporarily halted
    TERMINATEDStopped early
    COMPLETEDStudy completed
    WITHDRAWNWithdrawn before enrollment
    UNKNOWNStatus unknown
    WITHHELDStatus withheld
    AVAILABLEAvailable for expanded access
    NO_LONGER_AVAILABLENo longer available for expanded access
    TEMPORARILY_NOT_AVAILABLETemporarily not available
    APPROVED_FOR_MARKETINGApproved for marketing

    Study Type

    ValueDescription
    INTERVENTIONALTests a specific intervention
    OBSERVATIONALObserves outcomes without intervention
    EXPANDED_ACCESSProvides access outside of clinical trials

    Sponsor Type

    ValueDescription
    NIHNational Institutes of Health
    FEDOther U.S. federal agency
    INDUSTRYIndustry sponsor
    OTHEROther
    OTHER_GOVOther government
    INDIVIndividual
    NETWORKNetwork

    Intervention Type

    ValueDescription
    DRUGDrug
    DEVICEDevice
    BIOLOGICALBiological / Vaccine
    COMBINATION_PRODUCTCombination product
    PROCEDUREProcedure / Surgery
    RADIATIONRadiation
    DIETARY_SUPPLEMENTDietary supplement
    GENETICGenetic
    BEHAVIORALBehavioral
    DIAGNOSTIC_TESTDiagnostic test
    OTHEROther

    See Also

    • BiomedCore — Biomedical literature records
    • DrugCore — Drug and molecule records
    • RegulatoryCore — FDA & EMA drug authorizations
    • GeneCore — Gene records
    • API Workflows — See TrialCore in action: competitive landscapes, pipeline tracking, protocol benchmarking, stopped trials
    • Overview — Errors and rate limits
    • Quickstart — Getting started with examples