# ScriptMasterLabs Clinical Trials Search API

> ScriptMasterLabs Clinical Trials Search API is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Search and retrieve clinical trial data by keyword via a pay-per-call x402 micropayment endpoint

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/clinical-trials-search
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-clinical-trials-search-api-f6bce0a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IzSw1bHgecrbHWClM5d_-

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 scriptmasterlabs-clinical-trials-search-api-f6bce0a2
```

Example prompt: Search for clinical trials related to diabetes and show me what studies are currently available.

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to clinical trial search data settled via x402 USDC micropayments on Base, especially in agentic workflows where you want to query federal clinical trial databases without managing API keys or subscriptions. It is well-suited for healthcare research agents, compliance tools, or pharmaceutical intelligence pipelines that need lightweight, on-demand trial lookup.

## Known failure modes

- Missing or empty 'q' query parameter returns no results or an error
- Payment not settled in USDC on Base results in 402 Payment Required response
- Network timeout from upstream federal database causes delayed or failed response
- Overly broad or misspelled query terms return irrelevant or zero results
- Rate limiting or per-call payment failure blocks repeated rapid requests

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a list of clinical trial records matching the search keyword, likely including trial IDs, titles, conditions studied, sponsor names, status, and study descriptions sourced from federal clinical trial databases.

## Request schema (JSON Schema)

```json
{
 "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": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "example": "diabetes"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-clinical-trials-search-api-f6bce0a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
