Skip to main content

Documentation Index

Fetch the complete documentation index at: https://lava.so/docs/llms.txt

Use this file to discover all available pages before exploring further.

U.S. clinical trial registry API providing study protocols, recruitment status, results, and eligibility criteria for clinical research worldwide. Best for medical research workflows, tracking drug development pipelines, and finding ongoing studies for specific conditions. The authoritative registry for clinical trials — unlike OpenFDA (post-market data), ClinicalTrials.gov covers the research phase before drugs reach market. Lava slims study responses by default — drops derivedSection / documentSection / referencesModule, caps locations[] to 3, and truncates eligibility criteria to a 500-char summary (study-level centralContacts and overallOfficials are preserved); pass filter.mode=“full” for the raw response, or filter._lava_verbose / _lava_keep_locations / _lava_keep_results = “true” to expand specific groups. 2 example endpoints available through Lava’s AI Gateway. See the ClinicalTrials.gov API docs for full documentation.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://clinicaltrials.gov/api/v2 is supported. Clinical trial registry API. Construct URL as https://clinicaltrials.gov/api/v2/{endpoint}. Common endpoints: /studies?query.cond=, /studies/, /stats/size. The endpoints below are curated examples.

Endpoints

Search studies by condition, intervention, location, or other query params

GET https://clinicaltrials.gov/api/v2/studies?query.cond=diabetes&pageSize=3 — Free
const data = await lava.gateway('https://clinicaltrials.gov/api/v2/studies?query.cond=diabetes&pageSize=3', { method: 'GET' });

Get study by NCT ID

GET https://clinicaltrials.gov/api/v2/studies/NCT04280705 — Free
const data = await lava.gateway('https://clinicaltrials.gov/api/v2/studies/NCT04280705', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests