# Macaroon Network Clinical Trials Search

> Macaroon Network Clinical Trials Search is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Searches live ClinicalTrials.gov records returning status, phase, conditions, interventions, sponsor, eligibility summaries, and locations via NLM's public API v2

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/clinical-trials-search-v1
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-clinical-trials-search-53c29a80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5N1a0Yv5GUnvlYEfZIa_u

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 macaroon-network-clinical-trials-search-53c29a80 -d '<json body>'
```

Example prompt: Can you search ClinicalTrials.gov for currently recruiting phase 2 or phase 3 trials for non-small cell lung cancer and show me their status, lead sponsor, and eligibility details?

## When to prefer this

Choose this endpoint when you need live, structured clinical trial metadata from ClinicalTrials.gov without building your own NLM API integration. It is ideal for agents that need to surface trial status, phase, eligibility summaries, and locations in a single call. Prefer it over manual ClinicalTrials.gov browsing for programmatic discovery, patient pre-screening workflows, drug pipeline research, or rare disease investigation. Do not use it if you need full eligibility text, complete trial descriptions, or investigator recruitment contacts — those fields are intentionally excluded.

## Known failure modes

- No trials found matching the search query — returns empty result set
- ClinicalTrials.gov API v2 upstream unavailability causes timeout or error
- Overly broad queries may return truncated result sets limited by snapshot bounds
- Search terms with unusual spelling or non-standard condition names may yield no results
- Payment of 0.003 USDC not processed — request rejected before search executes

## How this service works

Search live clinical trial records from ClinicalTrials.gov: status, phase, conditions, interventions, lead sponsor, eligibility (sex, age range, a short truncated criteria excerpt), and locations. The only source used is the U.S. National Library of Medicine's public ClinicalTrials.gov API v2, available at no charge. Full eligibility-criteria text, full descriptions, and investigator/recruitment contact details are never returned -- only source-linked, truncated summary metadata.

## Output

A structured list of matching clinical trial records sourced from ClinicalTrials.gov, each containing: trial ID and source link, current status (e.g. Recruiting, Completed), phase, conditions studied, interventions tested, lead sponsor, sex and age eligibility criteria, a truncated eligibility criteria excerpt, and geographic locations. Full eligibility text, full descriptions, and investigator contact details are not returned.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-clinical-trials-search-53c29a80/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
