scientific-skills/database-lookup/references/omim.md
https://api.omim.org/api
API key REQUIRED. Request at https://omim.org/api (free for academic/non-commercial use).
?apiKey=YOUR_API_KEYNot publicly documented in detail. Reasonable usage expected per terms of service.
JSON (with &format=json) or XML (default). Always append &format=json for JSON responses.
GET https://api.omim.org/api/entry?mimNumber={mim_number}&apiKey={key}&format=json
Example:
GET https://api.omim.org/api/entry?mimNumber=141900&apiKey=YOUR_KEY&format=json
Returns entry with title, text, gene map, allelic variants, references.
GET https://api.omim.org/api/entry?mimNumber=141900&include=text&include=allelicVariantList&include=geneMap&apiKey={key}&format=json
Include options: text, clinicalSynopsis, geneMap, allelicVariantList, referenceList, existFlags, externalLinks.
GET https://api.omim.org/api/entry/search?search={query}&apiKey={key}&format=json
Example — search for "Marfan syndrome":
GET https://api.omim.org/api/entry/search?search=marfan+syndrome&apiKey=YOUR_KEY&format=json&start=0&limit=10
GET https://api.omim.org/api/entry/search?search={query}&filter=gene&apiKey={key}&format=json
Filter options: gene, phenotype, clinical_synopsis, etc.
GET https://api.omim.org/api/geneMap?chromosome={chrom}&apiKey={key}&format=json
Example:
GET https://api.omim.org/api/geneMap?chromosome=17&apiKey=YOUR_KEY&format=json&start=0&limit=10
GET https://api.omim.org/api/geneMap/search?search={query}&apiKey={key}&format=json
GET https://api.omim.org/api/clinicalSynopsis/search?search={query}&apiKey={key}&format=json
{
"omim": {
"version": "1.0",
"entryList": [
{
"entry": {
"mimNumber": 141900,
"status": "live",
"titles": {
"preferredTitle": "HEMOGLOBIN S; HBS",
"alternativeTitles": "SICKLE CELL ANEMIA"
},
"textSectionList": [...],
"geneMap": {
"chromosome": "11",
"cytoLocation": "11p15.4",
"geneSymbols": "HBB"
}
}
}
]
}
}
Use start and limit query parameters:
&start=0&limit=20