{"uid":"cap_GaCqLq5mXPpUQ4ixn3Ri_","slug":"medapi-trial-match-clinical-trial-matching-endpoint-b06fdf06","name":"MedAPI Trial Match — Clinical Trial Matching Endpoint","description":"Drug data, adverse events, clinical trials, PubMed. AI-powered medical analysis. 17 endpoints. x402 on Base.","url":"https://madapi.tempochan.xyz/api/trial-match","method":"POST","headers":{},"bodySchema":{"type":"object","required":["condition"],"properties":{"condition":{"type":"string","description":"condition"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object","properties":{"total":{"type":"integer"},"matched_trials":{"type":"array","items":{"type":"object"}}}},"success":{"type":"boolean"},"analysis":{"type":"object","description":"LLM trial matching assessment"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.35","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OByLwIikqIJNkvaF_VFhk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Matches a medical condition to relevant open clinical trials and returns an AI-powered trial matching assessment","exampleAgentPrompt":"Can you find clinical trials available for stage 3 non-small-cell lung cancer and give me an AI analysis of which ones are the best match?","exampleUseCases":null,"resultDescription":"Returns a list of matched clinical trials for the given condition, total count of matching trials, and an LLM-generated assessment analyzing the relevance and quality of the trial matches.","failureModes":["Missing required 'condition' field returns validation error","Unrecognized or misspelled condition name may return zero results","Downstream ClinicalTrials.gov API unavailability causes lookup failure","LLM analysis component may fail independently while trial list still returns","Payment failure via x402 returns 402 status before query is processed"],"whenToPreferThis":"Choose this endpoint when you need to find active or recruiting clinical trials for a specific medical condition AND want an AI-powered assessment of trial relevance — not just a raw data dump. Ideal for patient-facing assistants, medical researchers, or care navigation tools that need both structured trial data and intelligent matching commentary in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:11.677Z","isFirstParty":false}