Skip to main content
POST
/
api
/
clinicaltrials
/
studies
/
search
/clinicaltrials/studies/search
curl --request POST \
  --url https://api.anysite.io/api/clinicaltrials/studies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "term": "covid vaccine",
  "condition": "diabetes",
  "intervention": "metformin",
  "location": "Boston",
  "title": "KEYNOTE",
  "sponsor": "Pfizer",
  "outcome": "overall survival",
  "overall_status": [],
  "phase": [],
  "study_type": [],
  "funder_type": [],
  "nct_ids": [
    "NCT00841061",
    "NCT00935818"
  ],
  "geo_latitude": 0,
  "geo_longitude": 0,
  "geo_distance_miles": 50,
  "advanced": "AREA[Phase]PHASE3",
  "sort": "@relevance",
  "order": "desc"
}
'
[
  {
    "id": "<string>",
    "@type": "@clinicaltrials_study",
    "org_study_id": "<string>",
    "secondary_ids": [],
    "brief_title": "<string>",
    "official_title": "<string>",
    "acronym": "<string>",
    "organization": "<string>",
    "organization_class": "<string>",
    "overall_status": "<string>",
    "last_known_status": "<string>",
    "status_verified_date": "<string>",
    "why_stopped": "<string>",
    "start_date": "<string>",
    "primary_completion_date": "<string>",
    "completion_date": "<string>",
    "study_first_post_date": "<string>",
    "last_update_post_date": "<string>",
    "results_first_post_date": "<string>",
    "has_expanded_access": true,
    "lead_sponsor": {
      "name": "<string>",
      "@type": "@clinicaltrials_sponsor",
      "sponsor_class": "<string>"
    },
    "collaborators": [],
    "responsible_party_type": "<string>",
    "responsible_party_name": "<string>",
    "responsible_party_title": "<string>",
    "responsible_party_affiliation": "<string>",
    "oversight_has_dmc": true,
    "is_fda_regulated_drug": true,
    "is_fda_regulated_device": true,
    "is_us_export": true,
    "brief_summary": "<string>",
    "detailed_description": "<string>",
    "conditions": [],
    "keywords": [],
    "study_type": "<string>",
    "is_patient_registry": true,
    "phases": [],
    "allocation": "<string>",
    "intervention_model": "<string>",
    "intervention_model_description": "<string>",
    "primary_purpose": "<string>",
    "masking": "<string>",
    "observational_model": "<string>",
    "time_perspective": "<string>",
    "bio_spec_retention": "<string>",
    "bio_spec_description": "<string>",
    "enrollment_count": 123,
    "enrollment_type": "<string>",
    "arm_groups": [],
    "interventions": [],
    "primary_outcomes": [],
    "secondary_outcomes": [],
    "eligibility_criteria": "<string>",
    "healthy_volunteers": true,
    "sex": "<string>",
    "is_gender_based": true,
    "gender_description": "<string>",
    "minimum_age": "<string>",
    "maximum_age": "<string>",
    "std_ages": [],
    "study_population": "<string>",
    "sampling_method": "<string>",
    "central_contacts": [],
    "overall_officials": [],
    "locations": [],
    "references": [],
    "condition_meshes": [],
    "intervention_meshes": [],
    "ipd_sharing": "<string>",
    "ipd_sharing_description": "<string>",
    "ipd_sharing_info_types": [],
    "ipd_sharing_time_frame": "<string>",
    "ipd_sharing_access_criteria": "<string>",
    "ipd_sharing_url": "<string>",
    "documents": [],
    "has_results": false,
    "results_summary": {
      "@type": "@clinicaltrials_results_summary",
      "recruitment_details": "<string>",
      "pre_assignment_details": "<string>",
      "population_description": "<string>",
      "outcome_measure_titles": [],
      "adverse_event_frequency_threshold": "<string>",
      "adverse_event_groups": [],
      "point_of_contact": {
        "@type": "@clinicaltrials_contact",
        "name": "<string>",
        "role": "<string>",
        "phone": "<string>",
        "email": "<string>",
        "affiliation": "<string>"
      }
    },
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of studies to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
term
string | null

Free-text query across all study fields

Example:

"covid vaccine"

condition
string | null

Condition or disease query

Example:

"diabetes"

intervention
string | null

Intervention or treatment query

Example:

"metformin"

location
string | null

Study location query (city, state, country)

Example:

"Boston"

title
string | null

Query matched against study titles and acronym

Example:

"KEYNOTE"

sponsor
string | null

Sponsor or collaborator query

Example:

"Pfizer"

outcome
string | null

Outcome measure query

Example:

"overall survival"

overall_status
enum<string>[] | null

Restrict to studies with one of these recruitment statuses

Available options:
RECRUITING,
NOT_YET_RECRUITING,
ACTIVE_NOT_RECRUITING,
ENROLLING_BY_INVITATION,
COMPLETED,
SUSPENDED,
TERMINATED,
WITHDRAWN,
AVAILABLE,
NO_LONGER_AVAILABLE,
TEMPORARILY_NOT_AVAILABLE,
APPROVED_FOR_MARKETING,
WITHHELD,
UNKNOWN
phase
enum<string>[] | null

Restrict to studies in one of these trial phases

Available options:
0,
1,
2,
3,
4
study_type
enum<string>[] | null

Restrict to one of these study types

Available options:
int,
obs,
exp
results
enum<string> | null

Restrict to studies with or without posted results

Available options:
with,
without
sex
enum<string> | null

Restrict to studies accepting this sex

Available options:
m,
f
funder_type
enum<string>[] | null

Restrict to studies with one of these funder types

Available options:
nih,
fed,
industry,
other_gov,
indiv,
network,
other,
unknown
nct_ids
string[] | null

Restrict to these specific NCT ids

Example:
["NCT00841061", "NCT00935818"]
geo_latitude
number | null

Latitude for geographic radius filter (requires geo_longitude)

Required range: -90 <= x <= 90
geo_longitude
number | null

Longitude for geographic radius filter (requires geo_latitude)

Required range: -180 <= x <= 180
geo_distance_miles
number | null
default:50

Search radius in miles around the geo point

Required range: x > 0
advanced
string | null

Advanced Essie expression for fine-grained filtering

Example:

"AREA[Phase]PHASE3"

sort
enum<string>
default:@relevance

Field to sort results by

Available options:
@relevance,
LastUpdatePostDate,
StudyFirstPostDate,
EnrollmentCount,
StartDate,
CompletionDate,
PrimaryCompletionDate,
NumArmGroups
order
enum<string>
default:desc

Sort direction (ignored for relevance sort)

Available options:
asc,
desc

Response

Successful Response

id
string
required
@type
string
default:@clinicaltrials_study
org_study_id
string | null
secondary_ids
ClinicaltrialsSecondaryId · object[]
brief_title
string | null
official_title
string | null
acronym
string | null
organization
string | null
organization_class
string | null
overall_status
string | null
last_known_status
string | null
status_verified_date
string | null
why_stopped
string | null
start_date
string | null
primary_completion_date
string | null
completion_date
string | null
study_first_post_date
string | null
last_update_post_date
string | null
results_first_post_date
string | null
has_expanded_access
boolean | null
lead_sponsor
ClinicaltrialsSponsor · object
collaborators
ClinicaltrialsSponsor · object[]
responsible_party_type
string | null
responsible_party_name
string | null
responsible_party_title
string | null
responsible_party_affiliation
string | null
oversight_has_dmc
boolean | null
is_fda_regulated_drug
boolean | null
is_fda_regulated_device
boolean | null
is_us_export
boolean | null
brief_summary
string | null
detailed_description
string | null
conditions
string[]
keywords
string[]
study_type
string | null
is_patient_registry
boolean | null
phases
string[]
allocation
string | null
intervention_model
string | null
intervention_model_description
string | null
primary_purpose
string | null
masking
string | null
observational_model
string | null
time_perspective
string | null
bio_spec_retention
string | null
bio_spec_description
string | null
enrollment_count
integer | null
enrollment_type
string | null
arm_groups
ClinicaltrialsArmGroup · object[]
interventions
ClinicaltrialsIntervention · object[]
primary_outcomes
ClinicaltrialsOutcome · object[]
secondary_outcomes
ClinicaltrialsOutcome · object[]
eligibility_criteria
string | null
healthy_volunteers
boolean | null
sex
string | null
is_gender_based
boolean | null
gender_description
string | null
minimum_age
string | null
maximum_age
string | null
std_ages
string[]
study_population
string | null
sampling_method
string | null
central_contacts
ClinicaltrialsContact · object[]
overall_officials
ClinicaltrialsContact · object[]
locations
ClinicaltrialsLocation · object[]
references
ClinicaltrialsReference · object[]
condition_meshes
ClinicaltrialsMeshTerm · object[]
intervention_meshes
ClinicaltrialsMeshTerm · object[]
ipd_sharing
string | null
ipd_sharing_description
string | null
ipd_sharing_info_types
string[]
ipd_sharing_time_frame
string | null
ipd_sharing_access_criteria
string | null
ipd_sharing_url
string | null
documents
ClinicaltrialsDocument · object[]
has_results
boolean
default:false
results_summary
ClinicaltrialsResultsSummary · object
web_url
string
default:""