# FDA · Orange book

Get health and medical data with FDA · Orange book from Alexandria through one Spiral API key. Check generic equivalence ratings, patent expiries, patent use codes and exclusivities for a drug, e.g. to estimate generic entry. Search by ingredient or trade name, or pass application_number (NDA020702) for every product of one application. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Health
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `fda-gov/records/orange_book`
- Page: https://spiral.ai/tools/alexandria/fda-gov/records/orange_book

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `skip` | number | 0 to 25000 | 0 | skip |
| `limit` | number | 1 to 100 | 25 | Products per page, ordered by application then product number. |
| `ingredient` | text |  | — | Active ingredient words, e.g. tirzepatide or atorvastatin calcium; matches ingredient names containing them. Pattern: ^[^"\\]+$. |
| `trade_name` | text |  | — | Proprietary name words, e.g. Lipitor. Pattern: ^[^"\\]+$. |
| `application_number` | text |  | — | Orange Book application, e.g. NDA020702, ANDA076477 or 020702; returns every product of that application. No match is not_found. Pattern: ^(NDA\|ANDA\|N\|A)?[0-9]{6}$. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "fda-gov/records/orange_book",
    "input": {
      "application_number": "<application_number>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=fda-gov%2Frecords%2Forange_book

## Common questions

### FDA · Orange book

**How much does FDA · Orange book cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use FDA · Orange book through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "fda-gov/records/orange_book"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use FDA · Orange book?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use FDA · Orange book?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

