# ScriptMasterLabs Clinical Trials Search API

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

Search for clinical trials by keyword, returning relevant trial listings via a pay-per-call API settled in USDC on Base.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/clinical-trials-search?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-clinical-trials-search-api-68a302fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rNu0De4NKvov_yvLqTVl9

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-68a302fe
```

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

## When to prefer this

Choose this endpoint when an agent needs programmatic, pay-per-call access to clinical trial search without managing API keys or subscriptions — particularly useful in crypto-native or x402-enabled agent workflows where micropayment settlement in USDC on Base is preferred. It is suitable for lightweight lookups by condition or keyword, not for bulk ingestion or highly structured trial data pipelines.

## Known failure modes

- Empty or vague query returns no results or generic listings
- Payment not settled on Base results in 402 response blocking access
- Service hosted on Render may experience cold-start latency or downtime
- Query for very rare conditions may return sparse or no results
- Response schema is largely undocumented so output structure may vary

## 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 query, likely including trial names, identifiers, status, conditions studied, and sponsor or phase information sourced from a clinical trials registry.

## 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-68a302fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
