# Animica Literature Search — PubMed Academic Search API

> Animica Literature Search — PubMed Academic Search API is a paid API for AI agents from animica.dev, paid per call via x402, $0.002153/call, status unknown (last checked 2026-09-14).

Searches PubMed biomedical literature using query terms with optional filters for date range, result limit, and publication types.

## Facts

- Endpoint: POST https://animica.dev/x402/health/literature/search
- Price: $0.002153/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-literature-search-pubmed-academic-search-api-e96c0a11
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RHJbyVrW-vcVLSx9Ss3h_

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-literature-search-pubmed-academic-search-api-e96c0a11 -d '<json body>'
```

Example prompt: Search PubMed for up to 20 randomized controlled trials on metformin and type 2 diabetes published between 2018 and 2024.

## When to prefer this

Choose this endpoint when you need structured access to PubMed biomedical literature without managing an NCBI API key, especially when filtering by publication type (e.g. RCTs, meta-analyses) or date range. It is ideal for AI agents performing evidence-based medical Q&A, literature reviews, or research summarization that need vetted peer-reviewed sources rather than general web search results.

## Known failure modes

- Empty results if query terms are too narrow or misspelled
- PubMed rate limiting or unavailability causing errors
- Invalid publication_type values returning no matches or errors
- limit out of range (must be 1–50) causing validation failure
- Payment failure if USDC balance is insufficient for the $0.005 per-call fee

## 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 array of ranked PubMed article records matching the query, including metadata such as titles, authors, publication types, dates, and abstracts (up to the specified limit), filtered by year range and publication type as requested.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number",
   "description": "1-50 (default 10)"
  },
  "query": {
   "type": "string",
   "description": "PubMed query terms"
  },
  "to_year": {
   "type": "number"
  },
  "from_year": {
   "type": "number"
  },
  "publication_types": {
   "type": "array",
   "description": "e.g. [\"Randomized Controlled Trial\",\"Meta-Analysis\"]"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/animica-literature-search-pubmed-academic-search-api-e96c0a11/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)
