{"uid":"cap_LW0fRr7p-1qFgi9z-JM6r","slug":"trialbase-db-clinical-trials-search-api-e1886820","name":"TrialBase DB Clinical Trials Search API","description":"Search normalized clinical trials by registry, condition, intervention, sponsor, country, status, phase, study type, or free text.","url":"https://api.trialbase-db.org/v1/trials","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","maxLength":160},"count":{"type":"boolean","description":"Include the total matching-record count."},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"phase":{"type":"string","maxLength":20},"cursor":{"type":"string","description":"Opaque keyset cursor from a previous response."},"status":{"type":"string","maxLength":40},"country":{"type":"string","maxLength":80},"sponsor":{"type":"string","maxLength":160},"registry":{"type":"string","maxLength":40},"condition":{"type":"string","maxLength":160},"study_type":{"type":"string","maxLength":20},"intervention":{"type":"string","maxLength":160}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","has_more","next_cursor"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","minimum":1},"_provenance":{"type":"object","additionalProperties":true}},"additionalProperties":true}},"total":{"type":"integer","minimum":0},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pw0BtmZY3EYXh2gmqZCNY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_3dt8lPYWBvlUe3FBb-2cL","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search a normalized database of clinical trials by registry, condition, intervention, sponsor, country, status, phase, study type, or free text.","exampleAgentPrompt":"Can you search the TrialBase clinical trials database for Phase 3 trials on Type 2 Diabetes testing semaglutide, sponsored by Novo Nordisk, currently recruiting in the United States? Give me up to 20 results with total count.","exampleUseCases":null,"resultDescription":"A paginated list of normalized clinical trial records, each with a unique trial ID and provenance metadata. The response includes a has_more flag, an opaque next_cursor for keyset pagination, and optionally a total matching-record count.","failureModes":["Invalid or unsupported query parameter returns a 400 Bad Request","No trials match the specified filters — returns an empty data array with has_more: false","Expired or malformed cursor returns a pagination error","Payment not received or insufficient — 402 Payment Required","Rate limiting or quota exceeded — 429 Too Many Requests"],"whenToPreferThis":"Use this endpoint when you need to search, filter, or browse clinical trial records across multiple registries in a normalized format. It is especially useful when combining multiple filter dimensions (condition + phase + country + status) or when performing free-text search across trial metadata. Prefer this over registry-specific APIs when you need cross-registry normalization or keyset-paginated bulk retrieval.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:04.191Z","isFirstParty":false}