# PubMed Search API (Synapse)

> PubMed Search API (Synapse) is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Searches PubMed biomedical literature and returns matching article metadata including PMID, title, journal, and publication date.

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/pubmed-search?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pubmed-search-api-synapse-80f08d7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lDIqbzA31xLvooZW8t46U

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 pubmed-search-api-synapse-80f08d7a
```

Example prompt: Search PubMed for papers on 'type 2 diabetes insulin resistance' and tell me how many results there are and show me the most recent article titles.

## When to prefer this

Choose this endpoint when you need fast, no-account, pay-per-call access to PubMed biomedical literature search at $0.002 per call — ideal for AI agents that need to query medical research programmatically without registering for NCBI API keys or managing credentials.

## Known failure modes

- Empty or vague query returns zero or irrelevant results
- Payment failure via x402 if insufficient USDC balance
- Rate limiting or timeouts if the underlying NCBI PubMed service is slow
- Malformed query string may return unexpected results
- DuckDNS host may be temporarily unavailable or change IP

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

Returns a JSON object containing the total count of matching articles and a list of result objects each with PMID, article title, journal name, and publication date.

## 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": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1149875,
  "query": "diabetes",
  "results": [
   {
    "pmid": "42932781",
    "title": "...",
    "journal": "...",
    "pubdate": "2026"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pubmed-search-api-synapse-80f08d7a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
