# MedAPI Clinical Trials Search

> MedAPI Clinical Trials Search is a paid API for AI agents from madapi.tempochan.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Searches clinical trials by query and returns matching trial records with an AI-powered landscape analysis

## Facts

- Endpoint: POST https://madapi.tempochan.xyz/api/clinical-trials
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medapi-clinical-trials-search-5d979eef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WS_JgSYn4gvt3zjyHfYvl

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability medapi-clinical-trials-search-5d979eef -d '<json body>'
```

Example prompt: Can you search clinical trials for 'metformin type 2 diabetes' and give me an AI summary of the current research landscape?

## When to prefer this

Use this endpoint when you need to discover, summarize, or analyze clinical trials related to a specific drug, disease, or medical condition, especially when you want an AI-generated landscape overview alongside raw trial records. Prefer this over general web search when structured clinical trial data and analysis is needed.

## Known failure modes

- Empty or vague query returns no results or irrelevant trials
- Query for an obscure condition may return zero trials
- Payment failure (402) if USDC balance is insufficient
- Service timeout if external clinical trials database is slow
- success:false returned for malformed or missing query parameter

## How this service works

Drug data, adverse events, clinical trials, PubMed. AI-powered medical analysis. 17 endpoints. x402 on Base.

## Output

Returns a list of matching clinical trial records with a total count and an LLM-generated analysis summarizing the clinical trial landscape for the queried condition or drug.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "query"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "total": {
     "type": "integer"
    },
    "trials": {
     "type": "array",
     "items": {
      "type": "object"
     }
    }
   }
  },
  "success": {
   "type": "boolean"
  },
  "analysis": {
   "type": "object",
   "description": "LLM trial landscape analysis"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/medapi-clinical-trials-search-5d979eef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from madapi.tempochan.xyz](https://www.zero.xyz/host/madapi.tempochan.xyz/llms.txt)
