Skip to main content
POST
Search

Request contract

  • Method and path: POST /apis/v1/clinicaltrials-gov/clinical-trials/search
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
advanced_filter
string

Essie filter expression applied after the query (filter.advanced), e.g. AREA[StartDateType]ESTIMATED.

agg_filters
string

Facet filters as the site encodes them (aggFilters), e.g. "phase:3,status:rec". Pattern: ^[a-zA-Z]+:[a-zA-Z0-9_ ]+(,[a-zA-Z]+:[a-zA-Z0-9_ ]+)*$.

condition
string

Condition or disease (query.cond), e.g. "Breast Cancer". Essie syntax allowed.

intervention
string

Intervention or treatment (query.intr), e.g. "Pembrolizumab".

location
string

Location terms: city, state, country or facility (query.locn), e.g. "Boston".

near
object

Only studies with a site within the radius of the coordinate (filter.geo=distance(lat,lon,radius)).

page_size
number
default:10

Studies per page (the API accepts up to 1000; capped at 100 here).

Provider reference: minimum 1; maximum 100; default 10.

page_token
string

next_page_token from the previous page. Send the same query parameters again. Pattern: ^[A-Za-z0-9_-]+$.

sort
string

Sort by a field piece with optional direction, e.g. "LastUpdatePostDate:desc", or "@relevance" (default when a query is given). Pattern: ^(@relevance|[A-Za-z][A-Za-z0-9]*(:(asc|desc))?)$.

sponsor
string

Sponsor or collaborator name (query.spons), e.g. "Merck".

status
string[]

Overall status filter (filter.overallStatus); any of the listed values matches.

term
string

Other terms searched across the record (query.term). Accepts Essie expressions such as AREA[StartDate]RANGE[2025-01-01,MAX].

title
string

Words in the brief or official title, or acronym (query.titles).

Response

Search the registry (GET /api/v2/studies). Filter by condition, intervention, sponsor, location, title, free-text Essie expression, overall status, distance from a coordinate or an advanced Essie filter. Returns one page of study summaries with raw date structs (date + ACTUAL/ESTIMATED type) and a page token for the next page. Repeat every query parameter with page_token to continue.

The response contains the tool result directly.

The provider identifies studies as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.