Match a patient profile
The primary endpoint. Queries ClinicalTrials.gov live and returns every open frontier option — interventional trials and expanded-access programs — with a per-criterion match state. Only `condition` is required; every profile field you omit simply produces fewer checks. States from free-text criteria are signposts (mentioned/unknown), never verdicts — only the site decides eligibility.
curl -s https://trial0.com/api/v1/match \
-H 'authorization: Bearer fc_test_sandbox' \
-H 'content-type: application/json' \
-d '{
"condition": "glioblastoma",
"stage": "Recurrent",
"biomarkers": ["MGMT methylated", "IDH wild-type"],
"age": 54,
"location": {"lat": 42.3601, "lng": -71.0589, "radius_miles": 200},
"limit": 5
}'{
"total_found": 87,
"options": [
{
"nct_id": "NCT0XXXXXXX",
"title": "A Phase 2 Study of ... in Recurrent Glioblastoma",
"study_type": "interventional",
"overall_status": "RECRUITING",
"phases": ["PHASE2"],
"criteria_checks": [
{ "criterion": "Study open to new participants", "state": "matched",
"evidence": "Registry overall status: RECRUITING" },
{ "criterion": "Age within published bounds", "state": "matched",
"evidence": "Published bounds: 18 Years – none; patient age 54." },
{ "criterion": "Biomarker: MGMT methylated", "state": "mentioned_inclusion",
"evidence": "This biomarker appears in the published inclusion criteria text. A promising signpost — the site must confirm it applies." }
],
"unknown_count": 1,
"sites": [
{ "facility": "Massachusetts General Hospital", "city": "Boston",
"registry_status": "RECRUITING", "distance_miles": 0.8 }
],
"registry_url": "https://clinicaltrials.gov/study/NCT0XXXXXXX"
}
],
"verified_fields_included": false,
"verified_site_counts": { "NCT0XXXXXXX": 2 },
"source": {
"registry": "ClinicalTrials.gov",
"query_url": "https://clinicaltrials.gov/api/v2/studies?query.cond=...",
"retrieved_at": "2026-08-24T12:00:00.000Z"
},
"disclaimer": "Trial0 is a navigation service, not a medical provider. ..."
}