Api Endpoint

trials-search

Search ClinicalTrials.gov by indication, company, molecule or free text and get a ranked list of normalized trial records with total count and on-page facet summary. Optional phase, status, study-type and country filters. A cheap first step before /trials/study or /trials/pipeline.

Open interactive test console

Offering

Provider
payai.agentstools.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Health And Medicine
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://payai.agentstools.dev/trials/search
MIME type
application/json
First seen
2026-10-16T02:01:07.550Z
Last seen
Tags
clinical-trials, clinicaltrials-gov, Search, indication, sponsor, drug, molecule, pharma, biotech, pipeline, Discovery

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.015 USDC
Atomic price: 15000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.015 USDC
Atomic price: 15000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "15000",
    "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "15000",
    "payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
  }
]

Observed health

Status
Healthy
Latest latency
376 ms
Average latency
904 ms
HTTP status
402
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "cond": {
          "type": "string",
          "description": "Condition, indication or disease"
        },
        "intr": {
          "type": "string",
          "description": "Intervention, drug or molecule name"
        },
        "spons": {
          "type": "string",
          "description": "Sponsor or collaborator name"
        },
        "lead": {
          "type": "string",
          "description": "Lead sponsor name"
        },
        "term": {
          "type": "string",
          "description": "Free-text other terms"
        },
        "titles": {
          "type": "string",
          "description": "Title or acronym terms"
        },
        "country": {
          "type": "string",
          "description": "Country to narrow trial sites"
        },
        "phase": {
          "type": "string",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4"
          ],
          "description": "Trial phase to filter by, where 0 is Early Phase 1"
        },
        "status": {
          "type": "string",
          "enum": [
            "recruiting",
            "not_yet_recruiting",
            "active_not_recruiting",
            "completed",
            "terminated",
            "withdrawn",
            "suspended"
          ],
          "description": "Overall recruitment status to filter by"
        },
        "study_type": {
          "type": "string",
          "enum": [
            "int",
            "obs",
            "exp"
          ],
          "description": "Study type: int interventional, obs observational, exp expanded access"
        },
        "page_size": {
          "type": "integer",
          "minimum": 1,
          "maximum": 50,
          "description": "Max records to return, default 10"
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [],
          "properties": {
            "cond": {
              "type": "string",
              "description": "Condition, indication or disease"
            },
            "intr": {
              "type": "string",
              "description": "Intervention, drug or molecule name"
            },
            "lead": {
              "type": "string",
              "description": "Lead sponsor name"
            },
            "term": {
              "type": "string",
              "description": "Free-text other terms"
            },
            "phase": {
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ],
              "type": "string",
              "description": "Trial phase to filter by, where 0 is Early Phase 1"
            },
            "spons": {
              "type": "string",
              "description": "Sponsor or collaborator name"
            },
            "status": {
              "enum": [
                "recruiting",
                "not_yet_recruiting",
                "active_not_recruiting",
                "completed",
                "terminated",
                "withdrawn",
                "suspended"
              ],
              "type": "string",
              "description": "Overall recruitment status to filter by"
            },
            "titles": {
              "type": "string",
              "description": "Title or acronym terms"
            },
            "country": {
              "type": "string",
              "description": "Country to narrow trial sites"
            },
            "page_size": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "description": "Max records to return, default 10"
            },
            "study_type": {
              "enum": [
                "int",
                "obs",
                "exp"
              ],
              "type": "string",
              "description": "Study type: int interventional, obs observational, exp expanded access"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}