Node
Return nodes, sorted by similarity to the search term.
Use search=<str> to search identifier for prefix match, and name for substring and trigram searches (similarity defaults to 0.3);
Use search=<str>&similarity=<value> to set your own similarity value in the range of (0, 1.0].
Set similarity=1.0 to exclude trigram search.
Filter for select metanodes using metanodes=<str>, where <str> is a comma-separated list of metanode abbreviations.
For example, metanodes=C,D will restrict to Compound and Disease nodes.
Set other-node=<node_id> to return non-null values for metapath_count.
metapath_counts measures the number of metapaths stored in the database between the result node and other node.
If search and other-node and both specified, results are sorted by search similarity and results with metapath_count == 0 are returned.
If other-node is specified but not search, results are sorted by metapath_count (descending) and only results with metapath_count > 0 are returned.
GET /v1/nodes/?format=api&offset=6200
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=6225", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=6175", "results": [ { "id": 6188, "identifier": "C0740469", "identifier_type": "str", "name": "Albumin high", "properties": { "url": "http://identifiers.org/umls/C0740469", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 6189, "identifier": "DB01142", "identifier_type": "str", "name": "Doxepin", "properties": { "url": "http://www.drugbank.ca/drugs/DB01142", "inchi": "InChI=1S/C19H21NO/c1-20(2)13-7-11-17-16-9-4-3-8-15(16)14-21-19-12-6-5-10-18(17)19/h3-6,8-12H,7,13-14H2,1-2H3/b17-11-", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ODQWQRRAPPTVAG-BOPFTXTBSA-N" }, "metanode": "Compound" }, { "id": 6190, "identifier": "GO:0035620", "identifier_type": "str", "name": "ceramide transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035620", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 6191, "identifier": "N0000010259", "identifier_type": "str", "name": "Ultrasound Contrast Activity", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000010259", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 6192, "identifier": "GO:0007340", "identifier_type": "str", "name": "acrosome reaction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007340", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6193, "identifier": "GO:0051176", "identifier_type": "str", "name": "positive regulation of sulfur metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051176", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6194, "identifier": "C0521158", "identifier_type": "str", "name": "Neoplasm recurrence", "properties": { "url": "http://identifiers.org/umls/C0521158", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 6195, "identifier": "C0750887", "identifier_type": "str", "name": "Adrenal gland cancer", "properties": { "url": "http://identifiers.org/umls/C0750887", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 6196, "identifier": "C0277899", "identifier_type": "str", "name": "Pulse absent", "properties": { "url": "http://identifiers.org/umls/C0277899", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 6197, "identifier": "6804", "identifier_type": "int", "name": "STX1A", "properties": { "url": "http://identifiers.org/ncbigene/6804", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "syntaxin 1A (brain)" }, "metanode": "Gene" }, { "id": 6198, "identifier": "56954", "identifier_type": "int", "name": "NIT2", "properties": { "url": "http://identifiers.org/ncbigene/56954", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "nitrilase family, member 2" }, "metanode": "Gene" }, { "id": 6199, "identifier": "GO:0042500", "identifier_type": "str", "name": "aspartic endopeptidase activity, intramembrane cleaving", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042500", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 6200, "identifier": "1636", "identifier_type": "int", "name": "ACE", "properties": { "url": "http://identifiers.org/ncbigene/1636", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "angiotensin I converting enzyme" }, "metanode": "Gene" }, { "id": 6201, "identifier": "10143", "identifier_type": "int", "name": "CLEC3A", "properties": { "url": "http://identifiers.org/ncbigene/10143", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "C-type lectin domain family 3, member A" }, "metanode": "Gene" }, { "id": 6202, "identifier": "63946", "identifier_type": "int", "name": "DMRTC2", "properties": { "url": "http://identifiers.org/ncbigene/63946", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "DMRT-like family C2" }, "metanode": "Gene" }, { "id": 6203, "identifier": "441520", "identifier_type": "int", "name": "CT45A4", "properties": { "url": "http://identifiers.org/ncbigene/441520", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "cancer/testis antigen family 45, member A4" }, "metanode": "Gene" }, { "id": 6204, "identifier": "GO:0032870", "identifier_type": "str", "name": "cellular response to hormone stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032870", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6205, "identifier": "5587", "identifier_type": "int", "name": "PRKD1", "properties": { "url": "http://identifiers.org/ncbigene/5587", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "protein kinase D1" }, "metanode": "Gene" }, { "id": 6206, "identifier": "4089", "identifier_type": "int", "name": "SMAD4", "properties": { "url": "http://identifiers.org/ncbigene/4089", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "SMAD family member 4" }, "metanode": "Gene" }, { "id": 6207, "identifier": "8500", "identifier_type": "int", "name": "PPFIA1", "properties": { "url": "http://identifiers.org/ncbigene/8500", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "protein tyrosine phosphatase, receptor type, f polypeptide (PTPRF), interacting protein (liprin), alpha 1" }, "metanode": "Gene" }, { "id": 6208, "identifier": "GO:0033500", "identifier_type": "str", "name": "carbohydrate homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033500", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 6209, "identifier": "51385", "identifier_type": "int", "name": "ZNF589", "properties": { "url": "http://identifiers.org/ncbigene/51385", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "zinc finger protein 589" }, "metanode": "Gene" }, { "id": 6210, "identifier": "DB08932", "identifier_type": "str", "name": "MACITENTAN", "properties": { "url": "http://www.drugbank.ca/drugs/DB08932", "inchi": "InChI=1S/C19H20Br2N6O4S/c1-2-7-26-32(28,29)27-17-16(13-3-5-14(20)6-4-13)18(25-12-24-17)30-8-9-31-19-22-10-15(21)11-23-19/h3-6,10-12,26H,2,7-9H2,1H3,(H,24,25,27)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=JGCMEBMXRHSZKX-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 6211, "identifier": "2334", "identifier_type": "int", "name": "AFF2", "properties": { "url": "http://identifiers.org/ncbigene/2334", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "AF4/FMR2 family, member 2" }, "metanode": "Gene" }, { "id": 6212, "identifier": "11081", "identifier_type": "int", "name": "KERA", "properties": { "url": "http://identifiers.org/ncbigene/11081", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "keratocan" }, "metanode": "Gene" } ] }