Clinical Trials Search clinical trial records API
Get Clinical Trials Search clinical trial data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Treg, pass parameters such as included_sources, max_num_results, max_price, and retrieve structured data including content, identifier, title, returned data type field, and returned length field to search interfaces and source review, and integration reference.
- Selected price
- $0.005 / resultPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 1Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
Clinical Trials Search clinical trial records API
Prepare your request, then continue with your agent.
Selected price
$0.005 / result
Reference price per result. The final charge is based on actual reported usage.
- Provider
- Pricing
On this page
Overview
Clinical Trials Search clinical trial records API
Search for clinical trial records with the Clinical trials API. Provide query in body, max_num_results in body, search_type in body, max_price in body, response_length in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: body |
| Selected implementation | treg · Search clinical trial records |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Search interfaces and source review: Keep returned sources and query context together.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
results[].content |
Content |
results[].id |
Identifier |
results[].title |
Title |
results[].data_type |
Returned data type field |
results[].length |
Returned length field |
results[].metadata |
Returned metadata field |
results[].price |
Returned price field |
results[].publication_date |
Returned publication date field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/treg/call/valyu.health.trials.search' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"included_sources": [
"valyu/valyu-clinical-trials"
],
"max_num_results": 1,
"max_price": 5,
"query": "semaglutide type 2 diabetes clinical trial",
"response_length": "short",
"search_type": "proprietary"
}'
Request and Response Examples
The response is a historical third-party reference and can differ from the current provider response. The request is an independent calling template.
Published Clinical Trials Search clinical trial records API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
tregCurrent Clinical Trials Search clinical trial records API · POST · View API reference | $0.005 / result | 1 | 100.00%successP501.08s |
- Unit price
- $0.005
Reference price per result. The final charge is based on actual reported usage.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/treg/call/valyu.health.trials.search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
included_sources | JSON request bodybody | array | Yes | Required TREG source constraint; send this exact value. enum: ["valyu/valyu-clinical-trials"] · minItems: 1 · maxItems: 1 Nested fields and variants
|
max_num_results | JSON request bodybody | integer | Yes | minimum: 1 · maximum: 10 |
max_price | JSON request bodybody | number | Yes | Required TREG source constraint; send this exact value. enum: 5 |
query | JSON request bodybody | string | Yes | |
response_length | JSON request bodybody | string | Yes | Required TREG source constraint; send this exact value. enum: "short" |
search_type | JSON request bodybody | string | Yes | Required TREG source constraint; send this exact value. enum: "proprietary" |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
errorstringquerystringresultsobject[]contentstringdata_typestringidstringlengthintegermetadataobjectpricenumberpublication_datestringrelevance_scorenumbersourcestringtitlestringurlstring
results_by_sourceobjectproprietaryintegerwebinteger
successbooleantotal_charactersintegertotal_deduction_dollarsnumbertx_idstring
Usage billing
Reference price per result. The final charge is based on actual reported usage.
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Third-party reference · Testnet 2026-11-04: success
Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Find clinical study protocols and outcomes. Usage limits: Restricted clinical-trial source, short responses, 1-10 results. Billed from total_deduction_dollars; trial records are not efficacy or safety certification. Draft retail price: at cost from the upstream USD meter; no markup. Only the documented data sources are allowed. Request contract: include all six declared body fields. Send search_type=proprietary, response_length=short, and the exact max_price and included_sources shown in the example; these are constrained source settings.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/treg/call/valyu.health.trials.search' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "included_sources": [ "valyu/valyu-clinical-trials" ], "max_num_results": 1, "max_price": 5, "query": "semaglutide type 2 diabetes clinical trial", "response_length": "short", "search_type": "proprietary" }'Check the response
Third-party response reference · Documented HTTP 200
Third-party response reference{ "error": "", "query": "semaglutide type 2 diabetes clinical trial", "results": [ { "content": "{\n \"nct_id\": \"NCT07563699\",\n \"brief_title\": \"Safety, Tolerability and Efficacy of Semaglutide Depot in Subjects With Type-2 Diabetes Mellitus\",\n \"official_title\": \"A Prospective, Multicenter, Open Label, Dose Escalation Phase I/IIa Study to Assess the Safety, Tolerability and Efficacy of Semaglutide Depot in Subjects With Type-2 Diabetes Mellitus\",\n \"acronym\": \"N/A\",\n \"overall_status\": \"RECRUITING\",\n \"why_stopped\": \"N/A\",\n \"start_date\": \"2026-08-09\",\n \"start_date_type\": \"ACTUAL\",\n \"completion_date\": \"2028-05\",\n \"completion_date_type\": \"ESTIMATED\",\n \"study_completion_date\": \"2028-06\",\n \"study_completion_date_type\": \"ESTIMATED\",\n \"study_first_posted\": \"2026-05-04\",\n \"last_update_posted\": \"2026-08-20\",\n \"results_first_posted\": \"N/A\",\n \"study_type\": \"INTERVENTIONAL\",\n \"phases\": \"PHASE1, PHASE2\",\n \"allocation\": \"NON_RANDOMIZED\",\n \"intervention_model\": \"SEQUENTIAL\",\n \"masking\": \"NONE\",\n \"primary_purpose\": \"TREATMENT\",\n \"enrollment_count\": 24,\n \"enrollment_type\": \"ESTIMATED\",\n \"brief_summary\": \"Semaglutide, a glucagon-like peptide-1 (GLP-1) receptor agonist, is an approved and well-established therapy for type 2 diabetes mellitus (T2DM), providing both robust glycemic control and weight reduction. Semaglutide Depot, is a long-acting formulation of semaglutide, designed for once every four weeks administration, intended to reduce treatment burden, and improve adherence supporting sustained glycemic control over time.\\n\\nThis Phase I/Ila dose escalation study design to evaluate the safety, tolerability, pharmacokinetics and efficacy of Semaglutide Depot in adults with T2DM.\",\n \"detailed_description\": \"Study Title:\\n\\nA Prospective, Multicenter, Open-Label, Dose Escalation Phase I/Ila Study to Assess the Safety, Tolerability, and Efficacy of Semaglutide Depot in Subjects with Type 2 Diabetes Mellitus\\n\\nBackground:\\n\\nType 2 diabetes mellitus (T2DM) is a chronic condition in which the body cannot properly use insulin, leading to elevated blood glucose levels. It is often associated with overweight or obesity and can lead to serious complications if not well controlled.\\n\\nSemaglutide, is a GLP 1 receptor agonist, that helps lower blood glucose by increasing insulin secretion, reducing glucagon (a hormone that raises blood glucose), slowing gastric emptying, and reducing appetite. In addition to improving glycemic control, it also supports weight loss and has demonstrated cardiovascular benefits. Semaglutide is already approved in several formulations (examples: Ozempic® for type 2 diabetes and Wegovy® for weight management), but these require once-weekly injections.\\n\\nSemaglutide Depot (SG Depot) is a new, long-acting formulation developed by Mapi Pharma Ltd. It is designed to be injected once every 4 weeks (once monthly), which may make treatment easier and improve adherence for people with diabetes.\\n\\nStudy Design:\\n\\n* Type: Phase I/Ila, open label, dose escalation study, prospective study\\n* Sponsor: Mapi Pharma Ltd., Ness Ziona, Israel\\n* Sites: Tel Aviv, Israel\\n* Participants: Up to 24 adults with type 2 diabetes\\n* Groups: Participants will be divided into 4 sequential dose cohorts: 2 mg, 4 mg, 6 mg and 8 mg\\n* Dose escalation: will be allowed only after review of safety data\",\n \"conditions\": \"Diabete Type 2\",\n \"keywords\": \"Diabetes, Semaglutide Depot, Long-acting semaglutide, SG Depot, semaglutide LAI\",\n \"eligibility_criteria\": \"Inclusion Criteria:\\n\\n1. Adults aged 18-64 years with T2DM, BMI 25-35 kg/m2\\n2. On stable Semaglutide 1 mg weekly and for at least 3 months\\n3. HbA1c \\\\<8%, eGFR≥60 ml/minute\\n4. For women: either non-childbearing potential or agreement to use acceptable contraception\\n\\nExclusion Criteria:\\n\\n1. Participation in another investigational drug clinical study within 3 months\\n2. History of cardiovascular or cerebrovascular disease\\n3. Neuropathy or retinopathy or macular edema necessitating medical treatment\\n4. Type 1 diabetes\\n5. Unstable weight (\\\\> 5% change in the last 3 months)\\n6. Current use of insulin and /or sulfonylureas and/or glinides\\n7. Known contraindications to Semaglutide (per FDA-approved Semaglutide label)\\n8. Recent immunosuppressive therapy (within 90 days) or chemotherapy for malignancy within 5 years\\n9. Moderate or severe hepatic impairment, (ALT or AST\\\\> 2 x upper limit of normal (ULN)\\n10. Severe hypertriglyceridemia (triglycerides \\\\>500 mg/dl)\\n11. Pregnant or breast feeding\\n12. Any condition that may increase risk or interfere with study participation (per Investigator judgement)\",\n \"gender\": \"ALL\",\n \"min_age\": \"18 Years\",\n \"max_age\": \"64 Years\",\n \"healthy_volunteers\": false,\n \"interventions\": [\n {\n \"type\": \"DRUG\",\n \"name\": \"SG Depot 2 mg\",\n \"description\": \"2 mg administered subcutaneously (s.c., under the skin) once every 4 weeks\",\n \"arm_group_labels\": \"\"\n },\n {\n \"type\": \"DRUG\",\n \"name\": \"SG Depot 4 mg\",\n \"description\": \"4 mg administered subcutaneously (s.c., under the skin) once every 4 weeks\",\n \"arm_group_labels\": \"\"\n },\n {\n \"type\": \"DRUG\",\n \"name\": \"SG Depot 6 mg\",\n \"description\": \"6 mg administered subcutaneously (s.c., under the skin) once every 4 weeks\",\n \"arm_group_labels\": \"\"\n },\n {\n \"type\": \"DRUG\",\n \"name\": \"SG Depot 8 mg\",\n \"description\": \"8 mg administered subcutaneously (s.c., under the skin) once every 4 weeks\",\n \"arm_group_labels\": \"\"\n }\n ],\n \"primary_outcomes\": [\n {\n \"measure\": \"The rate of treatment-associated adverse events (AEs)\",\n \"time_frame\": \"Through study completion, up to 28 weeks for each subject\",\n \"description\": \"N/A\"\n },\n {\n \"measure\": \"Plasma concentration of semaglutide\",\n \"time_frame\": \"Through study completion, up to 28 weeks for each subject\",\n \"description\": \"N/A\"\n }\n ],\n \"secondary_outcomes\": [\n {\n \"measure\": \"Change in HbA1c\",\n \"time_frame\": \"Baseline (week 0), week 12\",\n \"description\": \"N/A\"\n },\n {\n \"measure\": \"Change in fasting plasma glucose from baseline\",\n \"time_frame\": \"Baseline (week 0), week 12\",\n \"description\": \"N/A\"\n },\n {\n \"measure\": \"Change in body weight from baseline\",\n \"time_frame\": \"Baseline (week 0), week 12\",\n \"description\": \"N/A\"\n },\n {\n \"measure\": \"The maximal tolerated dose (MTD) of SG Depot\",\n \"time_frame\": \"Through study completion, up to 28 weeks for each subject\",\n \"description\": \"N/A\"\n }\n ],\n \"other_outcomes\": [],\n \"lead_sponsor\": \"Mapi Pharma Ltd.\",\n \"lead_sponsor_class\": \"INDUSTRY\",\n \"collaborators\": [],\n \"has_dmc\": \"N/A\",\n \"is_fda_regulated_drug\": false,\n \"is_fda_regulated_device\": false,\n \"locations\": [\n {\n \"facility\": \"Mapi pharma Investigational Site ISR001\",\n \"city\": \"Tel Aviv\",\n \"state\": \"N/A\",\n \"country\": \"Israel\",\n \"zip\": \"6423906\",\n \"status\": \"RECRUITING\",\n \"contacts\": []\n }\n ],\n \"central_contacts\": [\n {\n \"name\": \"Roy Eldor, Professor\",\n \"role\": \"CONTACT\",\n \"phone\": \"972-36974243\",\n \"email\": \"roye@tlvmc.gov.il\"\n }\n ],\n \"overall_officials\": [],\n \"references\": [],\n \"ipd_sharing\": \"NO\",\n \"ipd_description\": \"N/A\",\n \"has_results\": false,\n \"participant_flow\": {},\n \"baseline_characteristics\": [],\n \"outcome_results\": [],\n \"adverse_events\": [],\n \"study_limitations\": \"N/A\",\n \"point_of_contact\": {}\n}", "data_type": "structured", "id": "NCT07563699", "length": 7408, "metadata": {}, "price": 0.005, "publication_date": "2026-05-04", "relevance_score": 0.97, "source": "valyu/valyu-clinical-trials", "title": "A Prospective, Multicenter, Open Label, Dose Escalation Phase I/IIa Study to Assess the Safety, Tolerability and Efficacy of Semaglutide Depot in Subjects With Type-2 Diabetes Mellitus", "url": "https://clinicaltrials.gov/study/NCT07563699" } ], "results_by_source": { "proprietary": 1, "web": 0 }, "success": true, "total_characters": 7408, "total_deduction_dollars": 0.005, "tx_id": "tx_ccf434de-9ac8-4046-88d9-bd4f747eaa2b" }