FDA · Orange book
fda-gov/records/orange_bookGet 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.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- 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 | 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}$. |
Same request in code
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>"
}
}'Frequently asked questions
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.