# PubMed Biomedical Literature API

> Search 37M+ PubMed citations and get article summaries and abstracts from NCBI E-utilities

- Vendor: `pubmedbiomedicalliteratureapi` · version 1.0 · category Science · tags pubmed api, biomedical literature api, medical research api, ncbi api, journal articles api, abstracts api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/pubmedbiomedicalliteratureapi
- This document: https://apiclay.com/docs/pubmedbiomedicalliteratureapi.md
- OpenAPI 3.1: https://apiclay.com/api/pubmedbiomedicalliteratureapi/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `pubmedbiomedicalliteratureapi`
- Updated: 2026-11-18

## About

## PubMed Biomedical Literature API

Search PubMed, the US National Library of Medicine's index of biomedical and life-science literature, and get article summaries (title, authors, journal, date, DOI) and plain-text abstracts by PubMed id.

Data comes from **pubmed.ncbi.nlm.nih.gov** (https://pubmed.ncbi.nlm.nih.gov). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/search?term=crispr&amp;retmax=10`, then `/summary?id=43009202,43009097` and `/abstract?id=43009202`.

### Routes

#### GET `/search` - Search
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| term | query | string | yes | PubMed query, e.g. `crispr AND 2025[dp]`. |
| retmax | query | number | no | Ids to return (default 20). |
| retstart | query | number | no | Offset. |
| sort | query | string | no | `relevance` or `pub_date`. |

Returns: `esearchresult` with `count` and `idlist[]`.

#### GET `/summary` - Summaries
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| id | query | string | yes | Comma-separated PubMed ids. |

Returns: `result.` with `title`, `authors`, `fulljournalname`, `pubdate`, `elocationid` (DOI).

#### GET `/abstract` - Abstract
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| id | query | string | yes | PubMed id(s). |

Returns: plain-text citation and abstract.

### Caveats

- NCBI allows about 3 requests a second without an API key.
- `/abstract` returns plain text, not JSON.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by pubmed.ncbi.nlm.nih.gov.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /search — Search
- Gateway: `GET https://api.apiclay.com/v1/api/pubmedbiomedicalliteratureapi/search`
- Public query params: `term` (string, required), `retmax` (number), `retstart` (number), `sort` (string)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /summary — Summaries
- Gateway: `GET https://api.apiclay.com/v1/api/pubmedbiomedicalliteratureapi/summary`
- Public query params: `id` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /abstract — Abstract
- Gateway: `GET https://api.apiclay.com/v1/api/pubmedbiomedicalliteratureapi/abstract`
- Public query params: `id` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/pubmedbiomedicalliteratureapi/search?term=<term>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
