Entrez PubMed Nucleotide Protein Genome Structure OMIM PMC Journals Books

EFetch for the Taxonomy Database
Updated: July 27, 2005

EFetch documenation is also available for the Literature and Sequence databases.

EFetch:  Retrieves records in the requested format from a list of one or more unique identifiers.

URL parameters:

Utility parameters may be case sensitive, therefore, use lower case characters in all parameters except for WebEnv.

Base URL: http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?

Database:

db=taxonomy
Record Identifier: IDs required if WebEnv is not used.
id=9685
Retrieval Mode:
report=output format
Current values:
uilist
brief
docsum
xml

Web Environment: Value previously returned in XML results from ESearch and used with EFetch in place of primary ID result list.

WebEnv=WgHmIcDG], etc.

Query_key:  The value used for a history search number or previously returned in XML results from ESearch or EPost.

query_key=6

Note: WebEnv is similar to the cookie that is set on a user's computers when accessing PubMed on the web.  If the parameter usehistory=y is included in an ESearch URL both a WebEnv (cookie string) and query_key (history number) values will be returned in the results. Rather then using the retrieved PMIDs in an ESummary URL you may simply use the WebEnv and query_key values to retrieve the records. WebEnv will change for each ESearch query.

Tool: A string with no internal spaces that identifies the resource which is using Entrez links (e.g., tool=flybase). This argument is used to help NCBI provide better service to third parties generating Entrez queries from programs. As with any query system, it is sometimes possible to ask the same question different ways, with different effects on performance. NCBI requests that developers sending batch requests include a constant 'tool' argument for all requests using the utilities.

tool=
E-mail Address: If you choose to provide an email address, we will use it to contact you if there are problems with your queries or if we are changing software interfaces that might specifically affect your requests. If you choose not to include an email address we cannot provide specific help to you,  but you can still sign up for utilities-announce to receive general announcements.
email=
 
 Write to the Help Desk
NCBI | NLM | NIH
Department of Health & Human Services
Freedom of Information Act | Disclaimer