ParseForge Scrapers

FDA Orange Book Scraper

parseforge/fda-orange-book-scraper

AutomationOther

Scrapes FDA Orange Book drug product records by openFDA search expression. Returns each product as a flat row with application number, patent, exclusivity, and marketing status.

Run this scraper See the API call
Total users
2
Monthly active
1
Total runs
95
Bookmarked
0
Rating
Not rated yet
Last modified
12 days ago

Overview

ParseForge

FDA Orange Book Scraper

Scrape FDA Orange Book drug product data by name, ingredient, or sponsor, up to a million records per run. Every row includes patent and exclusivity details, application numbers, and marketing status. No API key or login. Export to CSV, JSON, Excel, or XML.

The FDA Orange Book is the authoritative list of approved drug products with therapeutic equivalence evaluations, but its web interface is clunky and its official API requires registration and rate limits. This Actor queries the openFDA Orange Book endpoint directly, so you can pull drug products by brand name, active ingredient, or sponsor and get clean, flat rows in minutes.

Who uses it What they scrape FDA Orange Book for
Pharmaceutical market analysts Track which drug products a sponsor has approved and when their patents expire
Generic drug manufacturers Find reference listed drugs and their exclusivity periods to plan ANDA filings
Healthcare data engineers Build a clean, queryable dataset of approved drugs for internal applications
Patent attorneys Monitor Orange Book patent listings for litigation and licensing opportunities
Academic researchers Study drug approval trends and therapeutic equivalence across categories

What it does

This Actor collects FDA Orange Book drug product records by openFDA search expression and returns each product as a flat row with application number, patent, exclusivity, and marketing status.

  • ๐Ÿ” openFDA search expressions: filter by sponsor_name, products.brand_name, active_ingredients.name, and more
  • ๐Ÿ“Š Flat row output: each drug product becomes one row with application number, patent, exclusivity, and marketing status
  • โšก Up to 1,000,000 records per run: pull the entire Orange Book or a focused subset
  • ๐Ÿ“ Multiple export formats: CSV, JSON, Excel, and XML for downstream analysis

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with FDA Orange Book data

๐Ÿ“ˆ Track patent expirations.

A generic manufacturer runs a search for a specific active ingredient, collects all Orange Book records, and identifies which patents expire soon to plan their ANDA submission.

๐Ÿ”Ž Monitor competitor pipelines.

A market analyst scrapes all products for a sponsor like Pfizer, then filters by marketing status to see which drugs are approved, discontinued, or pending.

๐Ÿงช Build a drug reference database.

A healthcare data engineer runs the Actor with no search filter and maxItems set to 1,000,000 to create a complete, queryable dataset of all FDA-approved drugs.

โš–๏ธ Support patent litigation.

A patent attorney searches for a brand name, extracts the patent and exclusivity details, and uses the data to assess infringement or licensing opportunities.

Why choose this scraper

What you get
No API key or registration Queries the public openFDA endpoint directly, so you start scraping in seconds
Patent and exclusivity data Every record includes patent numbers, expiry dates, and exclusivity codes
Flexible search Filter by sponsor, brand name, active ingredient, application number, and more
Scalable Collect up to a million records per run for full market coverage

How it compares

No other Store actor targets FDA Orange Book the same way, so the honest comparison is with the alternatives teams actually weigh.

FDA Orange Book Scraper Build it in-house By hand
Setup Run it now, zero config Days of engineering None, but hours per pull
When FDA Orange Book changes Maintained for you You fix it You re-learn the page
Proxies, retries, anti-bot Built in Your problem Browser only
Output Fixed JSON schema, CSV/Excel export Whatever you build Copy-paste
Cost Pay per result Engineering time Analyst hours

Configure the run

Drive the Actor with an optional openFDA search expression (e.g. sponsor_name:PFIZER or products.brand_name:LIPITOR) and set a maximum number of drug products to collect per run. The Input tab lists every parameter.

A first run with the defaults:

{
 "maxItems": 10
}

A larger pull:

{
 "maxItems": 200
}

Pricing

Pay-per-result: $0.021 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $2.10
1,000 results $21.00
10,000 results $210.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the FDA Orange Book Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to FDA Orange Book through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/fda-orange-book-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check your search expression for typos or invalid field names. Use the openFDA query syntax exactly, e.g. sponsor_name:PFIZER. If the search is correct, the dataset may be empty for that query; try a broader search or leave the field empty to collect all records.

Why did the run stop before reaching maxItems?

The Actor stops when it has collected maxItems records or when there are no more records matching your search. If you expected more results, verify your search expression and consider increasing maxItems.

Why is the run taking a long time?

Large maxItems values or broad searches can take longer because the Actor must paginate through many records. Reduce maxItems or narrow your search to speed up the run.

Why are some fields empty in the output?

Not all Orange Book records have patent or exclusivity data. Empty fields mean the FDA did not provide that information for the specific drug product.

Why did I get an error about the search expression?

The openFDA endpoint may reject malformed search expressions. Ensure you use correct field names and operators. Refer to the openFDA documentation for valid syntax.

FAQ

Question Answer
What is the FDA Orange Book? The Orange Book is the FDA's official list of approved drug products with therapeutic equivalence evaluations. It includes patent and exclusivity information for each product.
Do I need an API key to use this Actor? No. The Actor queries the public openFDA Orange Book endpoint, which does not require registration or an API key.
What search expressions can I use? You can use any valid openFDA search expression, such as sponsor_name:PFIZER, products.brand_name:LIPITOR, or active_ingredients.name:atorvastatin. The search field is optional; leave it empty to collect all records.
How many records can I collect per run? You can set maxItems from 1 to 1,000,000. The default is 10. The Actor will stop after collecting that many drug products.
What data does each record include? Each record includes application number, sponsor name, product details (brand name, active ingredients, dosage form, route), marketing status, and patent and exclusivity information.
Can I export the data to Excel? Yes. The Actor supports CSV, JSON, Excel, and XML export formats.
Is the data up to date? The Actor pulls directly from the openFDA Orange Book endpoint, which is updated regularly by the FDA. The data reflects the latest published Orange Book.
Can I filter by marketing status? Yes, you can include marketing_status in your search expression, for example marketing_status:Prescription or marketing_status:Discontinued.
What is the difference between this Actor and the FDA's official API? The official FDA API requires registration and has rate limits. This Actor uses the openFDA endpoint, which is public and does not require a key, and handles pagination automatically.
Can I schedule this Actor to run automatically? Yes, you can schedule runs on Apify to collect Orange Book data at regular intervals, such as daily or weekly.

Related actors

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by U.S. Food and Drug Administration. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

Input

FieldTypeWhat it doesDefault
maxItems integer How many drug products to collect per run. 10
search string Optional openFDA search expression (e.g. sponsor_name:PFIZER, products.brand_name:LIPITOR). not set

Pricing

from $19.00 per 1,000 results

Charged forWhat it isPrice each
result Single result in the default dataset. $0.019 to $0.021

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

API

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~fda-orange-book-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "maxItems": 3,
    "search": ""
  }'

Examples

Input that runs as-is.

input.json
{
  "maxItems": 3,
  "search": ""
}

Reviews

No reviews yet. Be the first.

Issues

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Related scrapers

Run FDA Orange Book Scraper on Apify All scrapers