ClinicalTrials.gov Scraper: Studies, Results & Updates avatar

ClinicalTrials.gov Scraper: Studies, Results & Updates

Pricing

$2.00 / 1,000 clinical trial studies

Go to Apify Store
ClinicalTrials.gov Scraper: Studies, Results & Updates

ClinicalTrials.gov Scraper: Studies, Results & Updates

Search official ClinicalTrials.gov v2 studies with conditions, interventions, sponsors, locations, recruitment status, results metadata, eligibility, and incremental updates. No API key required.

Pricing

$2.00 / 1,000 clinical trial studies

Rating

0.0

(0)

Developer

Richard Feng

Richard Feng

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 hours ago

Last modified

Share

Search the public ClinicalTrials.gov v2 API and export normalized study records for research monitoring, competitive intelligence, recruiting analysis, and RAG pipelines.

πŸ“– At a glance

FieldDetails
SourceOfficial ClinicalTrials.gov v2 public API
AuthenticationNo API key required
CoverageGlobal clinical study records registered in ClinicalTrials.gov, including country/state/city/facility locations when provided
Best forClinical trials scraper, recruiting trials API, eligibility criteria extraction, pharma pipeline monitoring, CRO intelligence, medical AI and RAG datasets
Pricing$0.002 per saved study

🎯 Features

FeatureDescription
Public v2 APIUses ClinicalTrials.gov v2 directly; no API key is required.
Study searchSearch by keyword, condition, intervention, sponsor, location, status, phase, or NCT ID.
Incremental updatesUse updatedSince to monitor studies whose LastUpdatePostDate changed after a date.
Results metadataCaptures whether participant flow, outcome measures, and adverse events result sections are present.
RAG-ready chunksOptional text chunks from titles, summaries, eligibility, and outcomes.
Full raw recordsSet outputFields to full to include raw protocol, derived, and results sections.

πŸš€ Quick Start

{
"condition": "diabetes",
"status": ["RECRUITING"],
"maxItems": 10
}

πŸ“‹ Input

FieldTypeRequiredDefaultDescription
querystringno-General ClinicalTrials.gov query.term expression.
conditionstringno-Condition or disease search.
interventionstringno-Drug, device, procedure, biologic, or other intervention.
sponsorstringno-Sponsor or collaborator search.
locationstringno-City, state, country, or facility search.
statusstring[]no-Overall status values such as RECRUITING or COMPLETED.
phasestring[]no-Phase values such as PHASE2 or PHASE3.
nctIdsstring[]no-Specific NCT identifiers.
updatedSincestringno-YYYY-MM-DD filter on LastUpdatePostDate.
outputFieldsstringnosummarysummary for normalized output, full for raw sections too.
chunkingstringnoparagraphparagraph or none.
maxItemsintegerno10Maximum saved studies.

Provide at least one search field for production runs. If no search field is provided, the Actor runs a one-item diabetes + RECRUITING sample so one-click platform tests complete successfully. Phase filtering uses the ClinicalTrials.gov v2 advanced query syntax AREA[Phase]....

πŸ“€ Output

Each dataset item is one study.

FieldTypeDescription
nctIdstringClinicalTrials.gov identifier.
titlestringBrief study title.
officialTitlestringOfficial protocol title when available.
statusstringOverall study status.
phasestring[]Study phases.
conditionsstring[]Conditions/diseases.
interventionsobject[]Intervention name, type, description, and arm labels.
sponsorsobjectLead sponsor and collaborators.
locationsobject[]Facility, city, state, country, and location status.
eligibilitystringEligibility criteria text.
outcomesobjectPrimary and secondary outcome modules.
meshTermsobjectDerived condition and intervention MeSH terms.
hasResultsbooleanWhether results data is indicated.
resultsSummaryobjectPresence flags for participant flow, outcomes, and adverse events.
lastUpdatestringLastUpdatePostDate.
urlstringStudy page URL.
fullTextChunksobject[]Optional text chunks for retrieval workflows.

Example Item

{
"itemType": "study",
"nctId": "NCT01884792",
"title": "Example Diabetes Study",
"status": "COMPLETED",
"phase": ["PHASE2"],
"conditions": ["Diabetes Mellitus"],
"lastUpdate": "2026-06-01",
"url": "https://clinicaltrials.gov/study/NCT01884792"
}

🍳 Recipes

Recruiting oncology trials

{
"condition": "lung cancer",
"status": ["RECRUITING"],
"phase": ["PHASE2", "PHASE3"],
"maxItems": 250
}

Use this to build a current recruiting landscape by disease area and phase.

Monitor changed studies

{
"updatedSince": "2026-06-01",
"outputFields": "full",
"maxItems": 500
}

Use this pattern for daily or weekly monitoring. updatedSince filters against ClinicalTrials.gov LastUpdatePostDate.

Pull exact NCT records

{
"nctIds": ["NCT01884792", "NCT04368728"],
"outputFields": "full",
"chunking": "none"
}

Use this when you already have identifiers from another workflow and need stable full records.

πŸ’³ Pricing

This Actor uses pay-per-event pricing: $0.002 per study extracted. A run fetching 1,000 studies costs approximately $2.00.

❓ FAQ

Do I need an API key?

No. ClinicalTrials.gov v2 is public and does not require an API key.

Can I export raw ClinicalTrials.gov sections?

Yes. Set outputFields to full to include protocolSection, derivedSection, and resultsSection in each item.

Why are phase filters implemented as advanced queries?

The current ClinicalTrials.gov v2 API supports phase filtering through advanced area expressions such as AREA[Phase]PHASE2.

ClinicalTrials.gov is a public registry. This Actor uses the official public API, applies conservative request spacing, and stores the data returned by the API. Review ClinicalTrials.gov terms and any downstream regulatory requirements before using exported data for clinical, legal, or compliance decisions.


πŸ€– Use with AI agents

This Actor is callable as a tool by any MCP-capable agent β€” Claude, Cursor, VS Code β€” or by your own code, with no wrapper and nothing extra to deploy.

Connect over MCP

https://mcp.apify.com?tools=autofacts/clinical-trials-scraper

In a client that reads an mcpServers configuration block:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=autofacts/clinical-trials-scraper",
"headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
}
}
}

The agent reads this Actor's parameters and their descriptions straight from the input schema, and the hosted server infers the result field types from the dataset schema β€” so a model knows what to send and what comes back before it ever calls anything.

Or call the API directly

curl -X POST "https://api.apify.com/v2/acts/autofacts~clinical-trials-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"condition": "diabetes", "status": ["RECRUITING"], "outputFields": "summary", "chunking": "paragraph", "maxItems": 1}'

The response body is the dataset records described above.

🧰 Other Actors by autofacts

Apify only auto-recommends Actors in the same category, so here are the ones that actually pair with this scraper:

ActorWhat it's for
SEC EDGAR ScraperCompany filings, full text and XBRL financial facts
USAspending ScraperUS federal awards, contracts and grants
CourtListener ScraperUS court opinions and dockets
Schema Markup Scraper & SEO AuditorJSON-LD, Open Graph and a 0-100 SEO audit of any URL

All of them: apify.com/autofacts