{"uid":"cap_HB5CVL0IssTERjBWojZ19","slug":"clinicaltrials-gov-study-search-40f8cf99","name":"ClinicalTrials.gov Study Search","description":"ClinicalTrials.gov study search (official v2 API) by condition, intervention/drug, sponsor, location, keyword, recruitment status and phase. Useful for trial finding, pipeline and competitive research. Returns total count, NCT IDs, titles, status, phases, conditions, interventions, sponsor, enrollment, key dates, has-results flag and study links, with paging token, source URL and retrievedAt. Errors: 400 invalid input.","url":"https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/clinical-trials/search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"q":{"type":"string","description":"any-field keywords"},"sort":{"enum":["relevance","updated","start"],"type":"string"},"limit":{"type":"integer","maximum":50,"minimum":1},"phase":{"type":"string","description":"comma-separated: early1, 1, 2, 3, 4, na"},"status":{"type":"string","description":"comma-separated: RECRUITING, NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED, TERMINATED, ..."},"sponsor":{"type":"string"},"location":{"type":"string","description":"city, state or country"},"condition":{"type":"string"},"page_token":{"type":"string","description":"nextPageToken from a previous call"},"intervention":{"type":"string","description":"drug, device or procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"results":[{"url":"https://clinicaltrials.gov/study/NCT04095195","nctId":"NCT04095195","title":"Registry of Subjects at Risk of Pancreatic Cancer","phases":[],"status":"RECRUITING","sponsor":"Associazione Italiana per lo Studio del Pancreas"}],"totalCount":484}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ydu--6BX4meSp-xH7n1Bv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches ClinicalTrials.gov (official v2 API) for clinical trials by condition, drug, sponsor, location, phase, and recruitment status, returning paginated trial metadata.","exampleAgentPrompt":"Find me recruiting phase 3 clinical trials studying pembrolizumab for non-small cell lung cancer in the United States — show up to 20 results sorted by relevance.","exampleUseCases":[{"title":"Pipeline research for a drug candidate","prompt":"Search ClinicalTrials.gov for all active trials studying semaglutide as an intervention, any phase, any status, and give me the trial titles, phases, sponsors, and enrollment numbers."},{"title":"Competitive landscape for a disease area","prompt":"Find all phase 2 and phase 3 recruiting trials for Alzheimer's disease and list the sponsors, NCT IDs, and estimated enrollment so I can map the competitive landscape."},{"title":"Locating trials for a patient","prompt":"Can you find currently recruiting clinical trials for triple-negative breast cancer that are located in France, and show me the trial titles, status, and links to ClinicalTrials.gov?"}],"resultDescription":"Returns a JSON object with a totalCount of matching trials, a results array containing per-trial metadata (NCT ID, title, status, phases, conditions, interventions, sponsor, enrollment, key dates, has-results flag, and ClinicalTrials.gov study URL), a nextPageToken for pagination, the source URL, and a retrievedAt timestamp.","failureModes":["400 Bad Request if query parameters are invalid (e.g. unrecognized phase or status values)","Empty results array if no trials match the search criteria","Pagination token expiry if nextPageToken from a previous call is stale","Rate limiting or timeout if the upstream ClinicalTrials.gov v2 API is unavailable"],"whenToPreferThis":"Use this endpoint when you need to search across many clinical trials by flexible criteria (condition, drug, sponsor, location, phase, status) and retrieve structured metadata in bulk with pagination. Prefer this over the sibling NCT-ID lookup endpoint when you don't already know specific NCT IDs and need discovery or pipeline/competitive research at scale. It wraps the official ClinicalTrials.gov v2 API with a clean interface and consistent response format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:42:09.794Z","isFirstParty":false,"canonicalSlug":"clinicaltrials-gov-study-search-40f8cf99"}