# PubMed Literature Search via NCBI E-utilities

> PubMed Literature Search via NCBI E-utilities is a paid API for AI agents from x402-domain-check.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-13).

Searches PubMed for biomedical citations and returns structured metadata including PMID, title, authors, journal, publication date, types, DOI, and PMC links.

## Facts

- Endpoint: GET https://x402-domain-check.vercel.app/pubmed/search?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pubmed-literature-search-via-ncbi-e-utilities-e8cccd9f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U8m158yQFMQxetEgb_TRl

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-literature-search-via-ncbi-e-utilities-e8cccd9f
```

Example prompt: Search PubMed for up to 20 randomized controlled trials on semaglutide and obesity — return the titles, authors, journals, DOIs, and PMIDs sorted by relevance.

## When to prefer this

Choose this endpoint when you need structured bibliographic metadata from PubMed — especially PMIDs, DOIs, author lists, and publication types — and want to use native PubMed query syntax including field tags like [tiab], [au], and MeSH terms. Prefer it over generic web search for biomedical literature because it returns machine-readable citation data directly from NCBI. It is not charged on errors, making it safe to use for exploratory queries.

## Known failure modes

- Invalid or empty query string returns an error (not charged)
- Query shorter than 2 or longer than 200 characters is rejected by schema validation
- Limit exceeding 50 is rejected by schema validation
- PubMed E-utilities outage causes upstream failure
- Malformed PubMed syntax may return zero results rather than an error
- Network timeout on large result sets

## How this service works

PubMed literature search (NCBI E-utilities): citations with PMID, title, authors, journal, date, publication types, DOI, PMC id and link. Supports PubMed query syntax. Not charged on errors.

## Output

Returns a JSON object containing the search term used, a source attribution to PubMed/NLM, a list of article objects (each with PMID, title, authors array, journal, publication date, publication types, DOI, and PubMed URL), the number of articles returned, and the total count of matching results in PubMed.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "PubMed query (2-200 chars), e.g. 'semaglutide[tiab] AND obesity'"
      },
      "sort": {
       "enum": [
        "relevance",
        "date"
       ],
       "type": "string",
       "default": "relevance"
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 50,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "term": "pembrolizumab melanoma",
  "source": {
   "name": "PubMed (NCBI, NLM)",
   "attribution": "Citation data from PubMed, courtesy of the U.S. National Library of Medicine."
  },
  "articles": [
   {
    "doi": "10.1016/S0140-6736(23)02268-7",
    "url": "https://pubmed.ncbi.nlm.nih.gov/38246194/",
    "pmid": "38246194",
    "title": "Individualised neoantigen therapy mRNA-4157 (V940) plus pembrolizumab…",
    "authors": [
     "Weber JS",
     "Carlino MS"
    ],
    "journal": "Lancet (London, England)",
    "pubDate": "2024 Feb 17",
    "pubTypes": [
     "Randomized Controlled Trial"
    ]
   }
  ],
  "returned": 1,
  "totalCount": 2649
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pubmed-literature-search-via-ncbi-e-utilities-e8cccd9f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-domain-check.vercel.app](https://www.zero.xyz/host/x402-domain-check.vercel.app/llms.txt)
