GET /elink.fcgi
Summary: Get linked records
Operation ID: getLinkedRecords
Auth: none
Operation ID: getLinkedRecords
Auth: none
Description
Finds records in other databases linked to the input gene IDs.
Parameters (7)
WebEnv
(string, query, optional)
Web environment string for history server
cmd
(string, query, optional, default: neighbor)
Command mode
Constraints: {'enum': ['neighbor', 'neighbor_score', 'neighbor_history', 'acheck', 'ncheck', 'lcheck', 'llinks', 'llinkslib', 'prlinks']}
db
(string, query, optional)
Destination database (e.g., 'pubmed', 'protein', 'nuccore')
dbfrom
(string, query, required, default: gene)
Source database
Constraints: {'enum': ['gene']}
id
(string, query, optional)
Gene ID(s) - comma-separated list
query_key
(string, query, optional)
Query key for history server
retmode
(string, query, optional, default: json)
Return mode
Constraints: {'enum': ['json', 'xml']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Link BRCA1 gene to PubMed articles | curl |
https://www.ncbi.nlm.nih.gov/gene/elink.fcgi?dbfrom=gene&db=pubmed&id=672&retmode=json |
|
| Link TP53 gene to Protein database | curl |
https://www.ncbi.nlm.nih.gov/gene/elink.fcgi?dbfrom=gene&db=protein&id=7157&linkname=gene_protein&retmode=json |
|
| Link EGFR gene to OMIM records | curl |
https://www.ncbi.nlm.nih.gov/gene/elink.fcgi?dbfrom=gene&db=omim&id=1956&retmode=json |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 09:50:37.072378 | 404 | 569ms | |
| 2026-03-23 09:46:31.807071 | 200 | 677ms | |
| 2026-03-23 09:25:29.069939 | 404 | 657ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 09:46:31.807071 | 5529bbc54a82 |
a9c6e88d3783 |
| 2026-03-23 09:50:37.072378 | a9c6e88d3783 |
f61077c9a072 |