# Search FDA registers

Search and read FDA registers records through the Assyro API: FDA's published registers: orphan drug designations and approvals (designation date, indication…

Source: https://www.assyro.com/docs/sources/fda-registers

`GET https://api.assyro.com/v1/sources/fda-registers/search`

> **Note:** Preview: `api.assyro.com` is not serving production data yet. This page follows the API's published description and may change before launch.

Search and read FDA registers records from your own code: FDA's published registers: orphan drug designations and approvals (designation date, indication, sponsor, orphan exclusivity), the Inactive Ingredient Database (maximum potency per unit and daily exposure by route and dosage form), postmarketing requirements and commitments (status and final report due date per application), REMS (elements, products, versions) and the Drug Master File list (holder, type, status). Published by U.S. Food and Drug Administration ([www.fda.gov/drugs/development-approval-process-drugs/drug-approvals-and-databases](https://www.fda.gov/drugs/development-approval-process-drugs/drug-approvals-and-databases)); answered from Assyro's copy, refreshed daily 05:30 UTC.

Licence: public domain (see the [terms](https://www.fda.gov/about-fda/about-website/website-policies)). Each record links to its page at the source.

Example: "When was acalabrutinib designated an orphan drug, and when does its orphan exclusivity end?"

## Search

`GET https://api.assyro.com/v1/sources/fda-registers/search` with any of these query parameters. Repeat a parameter for a list (`?phase=PHASE2&phase=PHASE3`). An unknown parameter is refused by name.

### Search parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `dataset` | string | no | Search one register only. Omit for all five. One of: `orphan-designations`, `inactive-ingredients`, `postmarketing-requirements`, `rems`, `drug-master-files`. |
| `query` | string | no | Words that must all appear in the entry (names, indication, description, subject, holder, identifiers), e.g. "Fabry disease" or "divalproex sodium". |
| `product` | string | no | Product, active ingredient, excipient or DMF subject name, substring match, e.g. "acalabrutinib", "magnesium stearate", "Ozempic". |
| `holder` | string | no | Orphan sponsor, PMR/PMC applicant or DMF holder, substring match, e.g. "Novo Nordisk". |
| `application` | string | no | NDA, BLA or ANDA number (postmarketing-requirements and rems), e.g. "209637" or "NDA 209637". |
| `status` | string | no | FDA's status words, all of which must appear: orphan "designated", "approved", "withdrawn"; PMR/PMC "ongoing", "delayed", "fulfilled", "released"; REMS "current", "released"; DMF "active", "inactive". |
| `route` | string | no | Inactive ingredients: FDA's ROUTE, exact, e.g. "ORAL", "BUCCAL", "INTRAVENOUS". |
| `dosageForm` | string | no | Inactive ingredients: words of FDA's DOSAGE_FORM, all of which must appear, e.g. "tablet" (every tablet form) or "TABLET, FILM COATED". |
| `dmfType` | string | no | Drug master files: FDA's DMF type (II drug substance or product, III packaging, IV excipient, V reference information; I is no longer accepted). One of: `I`, `II`, `III`, `IV`, `V`. |
| `dateFrom` | string | no | Earliest date of the entry's date (orphan designation date, PMR/PMC final report due date, REMS latest version date, DMF submit date): YYYY, YYYY-MM or YYYY-MM-DD. |
| `dateTo` | string | no | Latest date of the entry's date, as dateFrom. |
| `sort` | string | no | relevance (default: exact name matches first, then newest), newest or oldest by the entry's date. One of: `relevance`, `newest`, `oldest`. |
| `limit` | integer | no | Records to return, default 8. total reports every match. |
| `offset` | integer | no | Skip this many results (for paging), default 0. |

Each result is a record; read one in full with [Get a record](https://www.assyro.com/docs/sources/fda-registers/records).

## What a record holds

- `id`, `title`, `url`: the source's identifier, its title and its page at the source, to verify it.
- `authority`, `publishedDate`, `version`: who published it, when, and the edition read.
- `snippet` and `fields`: the matching text and the source's own fields.
- `asOf`: the day Assyro's copy of the source was read.

## Example request

curl:

```bash
curl "https://api.assyro.com/v1/sources/fda-registers/search?dataset=orphan-designations&product=acalabrutinib"
```

Python:

```python
import requests

response = requests.get(
    "https://api.assyro.com/v1/sources/fda-registers/search",
    params={
        "dataset": "orphan-designations",
        "product": "acalabrutinib"
    },
)
response.raise_for_status()
print(response.json())
```

JavaScript:

```javascript
const response = await fetch("https://api.assyro.com/v1/sources/fda-registers/search?dataset=orphan-designations&product=acalabrutinib");
const result = await response.json();
```
