Life sciences provider · 2 capabilities
Clinical Trials API for AI agents and assistants
Full ClinicalTrials.gov study registry records by NCT id or first-posted date range, with status, phases, enrollment, interventions, outcomes, eligibility, sponsors and sites. Available to your AI agents via Firecrawl Alexandria.
Try Clinical Trials with
Firecrawl Alexandria
Choose an example or ask your own question.
Capabilities
Clinical Trials API capabilities via Firecrawl Alexandria
2 capabilities your agent can call with one Firecrawl API key. Open one to try it below.
- Clinical trial by NCT idrecords: one per id found; notFound: each id with no record and why. Only records found are billed.1 credit per record
- Clinical trials first posted in a date rangerecords: this page's records, each as the get capability returns it; nextCursor: pass it back for the next page, null after the last; total: matches in the whole range, for date and part ranges. Only records returned are billed; an empty page is free.1 credit per record
Playground
Try the Clinical Trials API via Firecrawl Alexandria
Pick a capability, fill in its inputs and run it, or copy the JavaScript, Python, cURL or CLI code.
const result = await firecrawl.scrape({
alexandria: {
provider: "firecrawl-clinical-trials",
capability: "trials/get",
options: {
maxChars: 40000,
offset: 0,
},
},
});This is a sample shape. Press Run to see live data from Clinical Trials.
| dataset | snapshotId | id | docId | sourceUrl | title | docType | publishedAt | fields | markdown | text | license |
|---|---|---|---|---|---|---|---|---|---|---|---|
Connect
Use the Clinical Trials API in your agent via Firecrawl Alexandria
Connect Firecrawl once and your agent can call Clinical Trials and every other provider in Alexandria.
01
Connect your agent to Firecrawl Alexandria
Add Firecrawl to Claude, ChatGPT, Cursor or your own agent, signed in on a team with Alexandria enabled. One API key from that team reaches Clinical Trials and every other provider in Alexandria.
02
Ask in plain language
Tell your agent what you need from Clinical Trials. Alexandria finds the capability that fits, and your agent runs it.
Clinical trial by NCT id1 / record
Clinical trials first posted in a date range1 / record
One Firecrawl billFirecrawl credits03
Pay per use
Each Clinical Trials call costs Firecrawl credits, all on one Firecrawl bill, so you pay only for what your agent uses.
Skills
Firecrawl skills using Clinical Trials
Drug shortage impact assessmentUse when a hospital pharmacy director or supply chain lead learns a drug is short and needs to plan. Reads the FDA shortage entry, finds alternative labelers and presentations, checks recalls at the affected manufacturer, compares the EU shortage picture and lists clinical trials that depend on the drug.
For one generic drug. The FDA entry alone does not say how long it will last or what to switch to; recalls, other labelers and the EU picture do.
1. The shortage itself
Search
Drug shortages with generic_name. Keep status, affected presentations, the company names, therapeutic category and posting and update dates.
2. Why, and what else exists
Search
Drug recalls with each company from step 1 as recalling_firm over the last 18 months: a quality recall often explains a shortage and its likely length.
Search
NDC directory with the same generic_name: list every other labeler, dosage form, route and package that could substitute.
Check the label of the leading substitute with
Drug labels for dosing or indication differences.
3. Is it global
Search
EMA shortages with the INN: a parallel EU shortage points to an upstream active-ingredient problem rather than one plant.
4. Who else depends on it
Search
Trial search with the drug as intervention and status recruiting: trials at your sites may need protocol deviations.
Write the assessment
Status: what is short, since when, which presentations, likely cause.
Substitutes: table of labeler, form, NDC and any label difference.
Global signal: EU status and what it implies for duration.
Actions: conservation, substitution and trial-team notices, most urgent first.
Sources: cite each record id, NDC and NCT number. Say what could not be found.
Why Alexandria
Why use Firecrawl Alexandria
What you get when your agent calls Clinical Trials through Alexandria instead of a one-off integration.
- 01
One key for every provider
- No separate Clinical Trials account, contract or API key. Calls are billed in Firecrawl credits.
- The same key reaches Alexandria's data providers plus Firecrawl's web search and scraping.
- 02
Built for agents
- Every capability has documented inputs and outputs your agent can read before it calls.
- Searching Alexandria for the capability that fits is free, through MCP, the CLI or the API.
- 03
Measured in public
- Quality, speed and cost benchmarks come from real agent calls across every Alexandria user.
- Category benchmarks compare providers side by side, so you can see which one works best.
- 04
Secure by default
- Firecrawl is SOC 2 Type II compliant, and the annual renewal audit is in progress.
Benchmarks
Clinical Trials API benchmarks via Firecrawl Alexandria
Quality, speed and cost, last 24 hours, across every agent call to Clinical Trials through Alexandria.
Fewer than 20 calls in the last 24 hours, so there is not enough to report yet.
FAQ
Clinical Trials API via Firecrawl Alexandria FAQs
- What is Firecrawl Alexandria?
- Firecrawl Alexandria is Firecrawl's library of data providers for AI agents, Clinical Trials among them. Each provider returns structured data through documented capabilities, and your agent reaches all of them, along with Firecrawl's web search and scraping, from Claude, ChatGPT, Cursor, the MCP server, the CLI or the API. Alexandria needs a Firecrawl account on a team with Alexandria enabled, or an API key from one; keyless connections don't include it.
- How do I use the Clinical Trials API with Firecrawl Alexandria?
- Connect Firecrawl to Claude, ChatGPT, Cursor or another AI tool, signed in on a team with Alexandria enabled, and ask for what you need: your agent searches Alexandria, finds Clinical Trials and calls it. From your own code, search Alexandria for the Clinical Trials capability you need with the Firecrawl API, SDKs or CLI, then call it with your API key. Either way you don't write any Clinical Trials integration code.
- Do I need a Clinical Trials account or API key?
- No. Calls to Clinical Trials run through Alexandria and are billed in Firecrawl credits, so you don't need a separate Clinical Trials account, contract or API key.
- How much does the Clinical Trials API cost through Alexandria?
- Each call costs 1 Firecrawl credit per billed unit, so the total depends on how much data it returns. The capabilities list on this page shows the price of each one, and finding the right capability is free.
- Can I combine Clinical Trials with other data providers?
- Yes. Your agent can call Clinical Trials alongside the live web and any other provider in Alexandria, with the same Firecrawl account.
Related
Related providers in Alexandria
Other Life sciences providers, on the same Firecrawl API key.