OpenAny
Get API keyAPI Key
APIDataSearch & Research

clinical-trials logo
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
USE THIS API

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
Connect your agent
On this page

Overview

Overview
Clinical Trials Search clinical trial records API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body* object
Fixed value
Required TREG source constraint; send this exact value.
Fixed value
Required TREG source constraint; send this exact value.
Fixed value
Required TREG source constraint; send this exact value.
Fixed value
Required TREG source constraint; send this exact value.
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.

Third-party response reference

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
tregCurrent
Clinical Trials Search clinical trial records API · POST · View API reference
$0.005 / result1
100.00%successP501.08s
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · tregUSD / result
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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
included_sourcesJSON request bodybodyarrayYes

Required TREG source constraint; send this exact value.

enum: ["valyu/valyu-clinical-trials"] · minItems: 1 · maxItems: 1

Nested fields and variants

body.included_sources[] · Array item · string

max_num_resultsJSON request bodybodyintegerYes

minimum: 1 · maximum: 10

max_priceJSON request bodybodynumberYes

Required TREG source constraint; send this exact value.

enum: 5

queryJSON request bodybodystringYes
response_lengthJSON request bodybodystringYes

Required TREG source constraint; send this exact value.

enum: "short"

search_typeJSON request bodybodystringYes

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

Inferred from examples
  • errorstring
  • querystring
  • resultsobject[]
    • contentstring
    • data_typestring
    • idstring
    • lengthinteger
    • metadataobject
    • pricenumber
    • publication_datestring
    • relevance_scorenumber
    • sourcestring
    • titlestring
    • urlstring
  • results_by_sourceobject
    • proprietaryinteger
    • webinteger
  • successboolean
  • total_charactersinteger
  • total_deduction_dollarsnumber
  • tx_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.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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"
    }'
  3. 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"
    }

Common questions

Which inputs identify this request?

Provide query in body (string); max_num_results in body (integer); search_type in body (string); max_price in body (number); response_length in body (string); included_sources in body (array). Keep identifiers and URLs in the formats documented for this implementation.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Clinical Trials Search clinical trial records API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.