Table 1 – Valid values of &retmode and &rettype for EFetch (null = empty string)

Record Type&rettype&retmode
All Databases
Document summarydocsumxml, default
List of UIDs in XMLuilistxml
List of UIDs in plain textuilisttext
db = bioproject
Full record XMLxml, defaultxml, default
db = biosample
Full record XMLfull, defaultxml, default
Full record textfull, defaulttext
db = biosystems
Full record XMLxml, defaultxml, default
db = gds
Summarysummary, defaulttext, default
db = gene
text ASN.1nullasn.1, default
XMLnullxml
Gene tablegene_tabletext
db = homologene
text ASN.1nullasn.1, default
XMLnullxml
Alignment scoresalignmentscorestext
FASTAfastatext
HomoloGenehomologenetext
db = mesh
Full recordfull, defaulttext, default
db = nlmcatalog
Full recordnulltext, default
XMLnullxml
db = nuccore, nucest, nucgss, protein or popset
text ASN.1nulltext, default
binary ASN.1 nullasn.1
Full record in XMLnativexml
Accession number(s)acctext
FASTAfastatext
TinySeq XMLfastaxml
SeqID stringseqidtext
Additional options for db = nuccore, nucest, nucgss or popset
GenBank flat filegbtext
GBSeq XMLgbxml
INSDSeq XMLgbcxml
Additional option for db = nuccore and protein
Feature tablefttext
Additional option for db = nuccore
GenBank flat file with full sequence (contigs)gbwithpartstext
CDS nucleotide FASTAfasta_cds_natext
CDS protein FASTAfasta_cds_aatext
Additional option for db = nucest
EST reportesttext
Additional option for db = nucgss
GSS reportgsstext
Additional options for db = protein
GenPept flat filegptext
GBSeq XMLgpxml
INSDSeq XMLgpcxml
db = pmc
XMLnullxml, default
MEDLINEmedlinetext
db = pubmed
text ASN.1nullasn.1, default
XMLnullxml
MEDLINEmedlinetext
PMID listuilisttext
Abstractabstracttext
db = sequences
text ASN.1nulltext, default
Accession number(s)acctext
FASTAfastatext
SeqID stringseqidtext
db = snp
text ASN.1nullasn.1, default
XMLnullxml
Flat fileflttext
FASTAfastatext
RS Cluster reportrsrtext
SS Exemplar listssexemplartext
Chromosome reportchrtext
Genotype XMLgenxmlxml
Summarydocsettext
UID listuilisttext or xml
db = sra
XMLfull, defaultxml, default
db = taxonomy
XMLnullxml, default
TaxID listuilisttext or xml

From: The E-utilities In-Depth: Parameters, Syntax and More

Cover of Entrez Programming Utilities Help
Entrez Programming Utilities Help [Internet].

NCBI Bookshelf. A service of the National Library of Medicine, National Institutes of Health.