Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Queries ClinicalTrials.gov via its APIv2 to search, retrieve, and count trials by condition, drug, status, phase, or sponsor.
Use this skill ↓14% 32%+18 ptsof test cases passed
Passed 7 of 22 test cases with the skill, and 3 of 22 without it.
3 of 3 safety checks passed
Not used yet
uv: Read the uv skill and follow its Setup instructions to ensure
uv is installed and on PATH.Access worldwide clinical trial data from ClinicalTrials.gov via the REST API
v2. The CLI script at scripts/clinical_trials_api.py wraps the API with
dedicated flags for common filters (phase, age group, status, intervention,
sponsor, etc.) so you rarely need to construct raw queries.
--fields — trial JSON records can be very large; restrict
to the data points you need.--count-total first — check result volume before fetching all
records.--limit with --page-token to
iterate.Trial JSON records can be very large. Always use the --fields parameter to
restrict the response to only the data points you need. After writing to file,
read only the fields you need rather than the entire file.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.