# Animica Clinical Trials Search

> Animica Clinical Trials Search is a paid API for AI agents from animica.dev, paid per call via x402, $0.002153/call, status unknown (last checked 2026-09-13).

Search for clinical trials by location, condition, phase, sponsor, intervention, or status within a given radius

## Facts

- Endpoint: POST https://animica.dev/x402/health/trials/search
- Price: $0.002153/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-clinical-trials-search-fea72ee0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uiIw1SQR4IZUOZ1DMHJEA

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 animica-clinical-trials-search-fea72ee0 -d '<json body>'
```

Example prompt: Can you find RECRUITING Phase 2 clinical trials for breast cancer within 100 km of San Francisco (lat 37.7749, lon -122.4194)?

## When to prefer this

Choose this endpoint when you need geospatially-filtered clinical trial discovery with support for structured filters like phase, status, sponsor, and condition in a single pay-per-call API — ideal for agents operating without a ClinicalTrials.gov API key or needing a simple, cost-transparent, x402-compatible interface.

## Known failure modes

- Invalid or out-of-range lat/lon coordinates return an error or empty results
- Unknown phase or status enum values may cause filtering to fail or return no results
- Very large radius values may time out or return too many results
- Payment failure (insufficient USDC balance) blocks the call before execution
- Missing required fields such as query or condition with no fallback may return empty result sets

## How this service works

Animica Python Cloud: deploy a Python function to animica.dev, get a public endpoint, and earn ANM every time someone runs it. Free AI (OpenAI-compatible, no key), free scheduled Workers, and an 80/20 developer split.

## Output

A JSON response containing a ranked list of matching clinical trials, including trial identifiers, titles, condition, phase, status, sponsor, intervention details, and location information for trials matching the given search criteria.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number"
  },
  "lon": {
   "type": "number"
  },
  "phase": {
   "type": "string",
   "description": "PHASE1 | PHASE2 | PHASE3 | PHASE4 | NA"
  },
  "query": {
   "type": "string"
  },
  "status": {
   "type": "string",
   "description": "RECRUITING | COMPLETED | ..."
  },
  "sponsor": {
   "type": "string"
  },
  "condition": {
   "type": "string"
  },
  "radius_km": {
   "type": "number"
  },
  "intervention": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

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