ClinicalTrials.gov Scraper avatar

ClinicalTrials.gov Scraper

Pricing

from $8.00 / 1,000 results

Go to Apify Store
ClinicalTrials.gov Scraper

ClinicalTrials.gov Scraper

Scrapes clinical trial records from ClinicalTrials.gov by search query or direct URL. Returns each trial as a flat row with status, phase, enrollment, eligibility, contacts, locations, and posted dates.

Pricing

from $8.00 / 1,000 results

Rating

5.0

(1)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

3

Bookmarked

40

Total users

2

Monthly active users

2 days ago

Last modified

Share

ParseForge

ClinicalTrials.gov Scraper

Scrape clinical trials from ClinicalTrials.gov by condition, intervention, location, phase, sponsor, or date, up to a million per run. Every trial comes with its status, eligibility, contacts, locations, and posted results. No API key or registration. Export to CSV, JSON, Excel, or XML.

ClinicalTrials.gov's official API needs a registered account, a token, and rate limits that throttle large exports. This reads the public study registry directly, filtered by condition, drug, phase, sponsor, location, or date, and returns each match in one fixed schema.

Who uses itWhat they scrape ClinicalTrials.gov for
Market researchersWhich trials are recruiting for a given condition this quarter
Pharma competitive intelligence teamsWhat sponsors are running Phase 3 trials in a therapeutic area
Clinical operations teamsWhich sites are active for a protocol and their contact details
Patient advocacy groupsWhich recruiting trials match a disease and location for their community
Data journalistsHow many trials were posted or updated in a date range for a story

What it does

This Actor collects clinical trial records from ClinicalTrials.gov by search query or direct URL, and returns each trial as a flat row.

  • ๐Ÿ” Search or URL: start from a ClinicalTrials.gov search URL, an API endpoint, or build a query from condition, intervention, location, and other filters.
  • ๐Ÿ“Š Structured rows: each trial returns as one flat record with status, phase, enrollment, eligibility, contacts, locations, and posted dates.
  • ๐Ÿ—“๏ธ Date filters: restrict by study start, primary completion, study completion, first posted, results first posted, or last update posted.
  • ๐Ÿฅ Eligibility filters: filter by sex, age groups, age range, and whether healthy volunteers are accepted.
  • ๐Ÿ’Š Study filters: filter by phase, study type, results availability, document types, funder type, and FDAAA violation flag.
  • ๐Ÿ“„ Export ready: download as CSV, JSON, Excel, or XML for analysis or upload to your own database.

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

What you can do with ClinicalTrials.gov data

๐Ÿ“ˆ Track recruiting trials for a condition.

A market researcher sets condition to 'diabetes' and study status to 'Recruiting and not yet recruiting studies' to get a weekly list of new trials and their sites.

๐Ÿ’Š Monitor competitor pipelines.

A pharma analyst filters by lead sponsor and phase to see every Phase 3 trial a competitor has posted or updated in the last month.

๐Ÿฅ Find trial sites and contacts.

A clinical operations team searches by facility name or location to get site addresses and contact emails for a specific protocol.

๐Ÿ“Š Audit FDAAA compliance.

A compliance officer sets the FDAAA violation flag to true to list all studies flagged for results submission violations.

๐Ÿ“ฐ Build a news dataset.

A journalist filters by first posted date range to count how many trials were registered for a disease in a given year.

Why choose this scraper

What you get
No API keyNo registration or token, run the Actor
Up to 1M trialsPaid users can pull up to a million records per run
All trial fieldsStatus, phase, enrollment, eligibility, contacts, locations, and posted dates
Flexible filtersCondition, intervention, location, sponsor, phase, study type, dates, and more
Export formatsCSV, JSON, Excel, or XML

How it compares

This Actor focuses on ClinicalTrials.gov study records with deep filters and high-volume export, while the competitors below add FDA data or AI enrichment.

FeatureParseForgeClinical Trials & FDA Pipeline Intelligence ScraperHealthcare IntelClinicalTrials.gov Scraper - Trials Data, No API Key
ClinicalTrials.gov study recordsYesYesYesYes
FDA drug approvals, devices, adverse eventsNot listedYesYesNot listed
AI-powered intelligence or newsNot listedNot listedYesNot listed
No API key requiredYesNot listedNot listedYes
Up to 1,000,000 records per runYesNot listedNot listedNot listed
Export to CSV, JSON, Excel, XMLYesNot listedNot listedYes

Configure the run

Drive the Actor from a ClinicalTrials.gov search URL or build a query from condition, intervention, location, sponsor, and other filters. Filters run as each trial is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"startUrl": "https://clinicaltrials.gov/search",
"maxItems": 10
}

A larger pull:

{
"startUrl": "https://clinicaltrials.gov/search",
"maxItems": 200
}

Pricing

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

Results collectedApproximate cost
100 results$16.00
1,000 results$160.00
10,000 results$1600.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 ClinicalTrials.gov 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 ClinicalTrials.gov 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/clinicaltrials-scraper"

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

Troubleshooting

Why am I getting no results?

Check that your filters are not too restrictive. Try removing some filters or broadening the condition or intervention terms. Also verify that the startUrl, if used, is a valid ClinicalTrials.gov search URL.

Why did the run stop at 100 items?

Free users are limited to 100 items per run. Upgrade to a paid plan to increase maxItems up to 1,000,000.

Why are my date filters not working?

Date fields expect YYYY-MM-DD format. Make sure you entered both From and To dates correctly and that the From date is before the To date.

Why are some fields empty in the output?

Not all trials have every field populated. For example, results first posted date is only present for trials with posted results. Empty fields are normal.

Can I use a URL from the ClinicalTrials.gov website?

Yes, paste any search URL from clinicaltrials.gov/search into startUrl. The Actor will parse the query parameters and ignore other filters.

FAQ

QuestionAnswer
Do I need a ClinicalTrials.gov API key?No. This Actor reads the public study registry directly, so no registration or token is required.
Can I scrape all trials for a condition?Yes. Set the condition field and any other filters, then set maxItems to the number you need. Paid users can pull up to 1,000,000 records.
What filters are available?You can filter by condition, intervention, location, study status, sex, age, phase, study type, results availability, document types, funder type, sponsor, dates, and more.
Can I use a search URL from ClinicalTrials.gov?Yes. Paste any ClinicalTrials.gov search URL or API endpoint into the startUrl field, and all other filters are ignored.
What export formats are supported?CSV, JSON, Excel, and XML.
Does it return posted results?Yes. Each record includes whether results are posted and the results first posted date when available.
Can I filter by sponsor?Yes. Use the leadSponsor field for the lead sponsor or sponsorOrCollaborator for any sponsor or collaborator.
Can I filter by study phase?Yes. Select one or more phases from Early Phase 1 through Phase 4, or Not applicable.
Does it include contact information?Yes. Each trial includes central and facility contacts with names, phone numbers, and emails when available.
Can I filter by location?Yes. Use the location field to search by address, city, state, zip code, or country.
Is there a limit for free users?Free users are limited to 100 items per run. Paid users can set maxItems up to 1,000,000.
Can I sort results?Yes. Sort by relevance or newest first.

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. National Library of Medicine. 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.