{"uid":"cap_dPJez0lxe5ONYfoZlckp_","slug":"2s-io-72ac7953","name":"2s.io Clinical Trial Search","description":"Search ClinicalTrials.gov — every registered US (and many international) clinical study (~500k trials). Free-text query matches title + condition + intervention; or direct lookup by NCT ID. Optional filters: recruitment status, lead sponsor, phase (PHASE1..PHASE4), country. Each record includes NCT ID, brief + official title, status, phases, study type, conditions list, interventions (with type + name), enrollment count + type, key dates (start / primary completion / completion / first posted / last update), lead sponsor + class (INDUSTRY/NIH/OTHER), hasResults flag, brief summary, and canonical clinicaltrials.gov URL. Public-domain NIH NLM data.","url":"https://2s.io/api/clinical/trial-search","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"nctId":{"type":"string","description":"Direct NCT ID lookup (NCT\\d{8})."},"phase":{"type":"string","description":"PHASE1 | PHASE2 | PHASE3 | PHASE4 | NA | EARLY_PHASE1."},"query":{"type":"string","description":"Free-text query (title/condition/intervention/sponsor)."},"status":{"enum":["RECRUITING","ACTIVE_NOT_RECRUITING","COMPLETED","TERMINATED","WITHDRAWN","NOT_YET_RECRUITING","SUSPENDED"],"type":"string"},"country":{"type":"string","description":"Country name (e.g., \"United States\")."},"sponsor":{"type":"string","description":"Lead sponsor name filter."},"pageSize":{"type":"integer","default":10,"maximum":100,"minimum":1},"pageToken":{"type":"string","description":"Opaque token from prior response (pagination)."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"query":"diabetes","status":"RECRUITING","pageSize":10}}},"response":{"_truncated":true,"_originalSize":15950}},"exampleRequest":{"query":"diabetes","status":"RECRUITING","pageSize":10},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PIWLV_0ANK4xw55Q7gjFj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search ClinicalTrials.gov for registered clinical studies by free-text query, NCT ID, or filters like phase, status, sponsor, and country","exampleAgentPrompt":"Search ClinicalTrials.gov for recruiting Phase 3 trials studying pembrolizumab for non-small cell lung cancer in the United States — show me the top 10 results with their NCT IDs, status, interventions, and brief summaries.","exampleUseCases":null,"resultDescription":"A list of clinical trial records (up to 100 per page), each containing: NCT ID, brief and official title, recruitment status, phases, study type, conditions, interventions (type + name), enrollment count and type, key dates (start, primary completion, completion, first posted, last update), lead sponsor name and class (INDUSTRY/NIH/OTHER), hasResults flag, brief summary, and a canonical clinicaltrials.gov URL. Includes a pagination token for fetching subsequent pages.","failureModes":["Invalid NCT ID format returns an error or empty result","Unknown phase enum value rejected by schema validation","Free-text query with no matches returns empty results list","Invalid status enum value causes a 400-level error","Pagination token from a different query session may return unexpected results","Country name misspelling or non-standard form may return no results"],"whenToPreferThis":"Use this endpoint when you need structured, filterable access to ClinicalTrials.gov data — especially when you need to filter by phase, recruitment status, sponsor, or country in addition to keyword search. Prefer this over scraping clinicaltrials.gov directly because it returns normalized, machine-readable records with all key fields pre-extracted. Ideal for agents that need to match patients to trials, analyze drug pipelines, or summarize trial landscapes for a condition.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:52:48.615Z","isFirstParty":false}