GET /efetch.fcgi

nih.gov:pubmed-central-api

Summary: Fetch full records
Operation ID: eFetch
Auth: unknown
Description

Returns full data records in the requested format.

Parameters (14)

WebEnv (string, query, optional)

Web environment string

complexity (integer, query, optional)

Complexity level for genomic data

Constraints: {'enum': [0, 1, 2, 3, 4]}

db (string, query, required)

Database (use 'pmc' for PubMed Central)

Constraints: {'enum': ['pmc', 'pubmed', 'pmcbooks']}

email (string, query, optional)

Email address for contact

id (string, query, optional)

Comma-separated list of UIDs

query_key (string, query, optional)

Query key from previous search

retmax (integer, query, optional)

Maximum number of results

retmode (string, query, optional, default: xml)

Return mode

Constraints: {'enum': ['xml', 'text', 'html', 'asn.1']}

retstart (integer, query, optional)

Index of first result

rettype (string, query, optional)

Retrieval type (e.g., abstract, medline, full, fasta)

seq_start (integer, query, optional)

Start position for sequence

seq_stop (integer, query, optional)

Stop position for sequence

strand (integer, query, optional)

Strand for sequence data (1 or 2)

Constraints: {'enum': [1, 2]}

tool (string, query, optional)

Tool name for logging

Examples (3)

TitleTypeURLAction
Fetch single article by PMC ID in XML curl https://www.ncbi.nlm.nih.gov/pmc/efetch.fcgi?db=pmc&id=13900&retmode=xml
Fetch multiple articles by PMC IDs curl https://www.ncbi.nlm.nih.gov/pmc/efetch.fcgi?db=pmc&id=13900,13901,13902&retmode=xml&rettype=full
Fetch article with MEDLINE format curl https://www.ncbi.nlm.nih.gov/pmc/efetch.fcgi?db=pmc&id=325237&retmode=text&rettype=medline&email=user@example.com&tool=robustapi

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:48:07.251679 404 511ms
2026-03-23 09:50:45.381866 404 508ms
2026-03-23 09:13:53.625542 404 512ms

Response Changes

WhenOldNew
2026-03-23 09:50:45.381866 92c3d2918fbd bb70dae3a2f5
2026-03-23 10:48:07.251679 bb70dae3a2f5 6293f0598873