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=15100
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "count": 47031,
    "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=15125",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=15075",
    "results": [
        {
            "id": 15090,
            "identifier": "DB00519",
            "identifier_type": "str",
            "name": "Trandolapril",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00519",
                "inchi": "InChI=1S/C24H34N2O5/c1-3-31-24(30)19(14-13-17-9-5-4-6-10-17)25-16(2)22(27)26-20-12-8-7-11-18(20)15-21(26)23(28)29/h4-6,9-10,16,18-21,25H,3,7-8,11-15H2,1-2H3,(H,28,29)/t16-,18+,19-,20-,21-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=VXFJYXUZANRPDJ-WTNASJBWSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 15091,
            "identifier": "C0025289",
            "identifier_type": "str",
            "name": "Meningitis",
            "properties": {
                "url": "http://identifiers.org/umls/C0025289",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 15092,
            "identifier": "GO:0070232",
            "identifier_type": "str",
            "name": "regulation of T cell apoptotic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070232",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15093,
            "identifier": "152816",
            "identifier_type": "int",
            "name": "C4orf26",
            "properties": {
                "url": "http://identifiers.org/ncbigene/152816",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "4",
                "description": "chromosome 4 open reading frame 26"
            },
            "metanode": "Gene"
        },
        {
            "id": 15094,
            "identifier": "C0027438",
            "identifier_type": "str",
            "name": "Nasopharyngeal disorder",
            "properties": {
                "url": "http://identifiers.org/umls/C0027438",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 15095,
            "identifier": "GO:0060968",
            "identifier_type": "str",
            "name": "regulation of gene silencing",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0060968",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15096,
            "identifier": "10641",
            "identifier_type": "int",
            "name": "NPRL2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10641",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "nitrogen permease regulator-like 2 (S. cerevisiae)"
            },
            "metanode": "Gene"
        },
        {
            "id": 15097,
            "identifier": "GO:0043380",
            "identifier_type": "str",
            "name": "regulation of memory T cell differentiation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0043380",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15098,
            "identifier": "GO:0010612",
            "identifier_type": "str",
            "name": "regulation of cardiac muscle adaptation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0010612",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15099,
            "identifier": "GO:0036336",
            "identifier_type": "str",
            "name": "dendritic cell migration",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0036336",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15100,
            "identifier": "C0221706",
            "identifier_type": "str",
            "name": "Road traffic accident",
            "properties": {
                "url": "http://identifiers.org/umls/C0221706",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 15101,
            "identifier": "GO:0003073",
            "identifier_type": "str",
            "name": "regulation of systemic arterial blood pressure",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0003073",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15102,
            "identifier": "266747",
            "identifier_type": "int",
            "name": "RGL4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/266747",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "22",
                "description": "ral guanine nucleotide dissociation stimulator-like 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 15103,
            "identifier": "54625",
            "identifier_type": "int",
            "name": "PARP14",
            "properties": {
                "url": "http://identifiers.org/ncbigene/54625",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "poly (ADP-ribose) polymerase family, member 14"
            },
            "metanode": "Gene"
        },
        {
            "id": 15104,
            "identifier": "DB06699",
            "identifier_type": "str",
            "name": "Degarelix",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB06699",
                "inchi": "InChI=1S/C82H103ClN18O16/c1-45(2)35-60(72(107)92-59(16-9-10-33-87-46(3)4)80(115)101-34-12-17-68(101)79(114)88-47(5)70(84)105)93-74(109)63(38-51-23-30-58(31-24-51)91-81(85)116)95-76(111)64(39-50-21-28-57(29-22-50)90-71(106)66-42-69(104)100-82(117)99-66)97-78(113)67(44-102)98-77(112)65(41-53-13-11-32-86-43-53)96-75(110)62(37-49-19-26-56(83)27-20-49)94-73(108)61(89-48(6)103)40-52-18-25-54-14-7-8-15-55(54)36-52/h7-8,11,13-15,18-32,36,43,45-47,59-68,87,102H,9-10,12,16-17,33-35,37-42,44H2,1-6H3,(H2,84,105)(H,88,114)(H,89,103)(H,90,106)(H,92,107)(H,93,109)(H,94,108)(H,95,111)(H,96,110)(H,97,113)(H,98,112)(H3,85,91,116)(H2,99,100,104,117)/t47-,59+,60+,61-,62-,63-,64+,65-,66-,67+,68?/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=MEUCPCLKGZSHTA-RHCWOGDZSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 15105,
            "identifier": "84925",
            "identifier_type": "int",
            "name": "DIRC2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84925",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "disrupted in renal carcinoma 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 15106,
            "identifier": "729438",
            "identifier_type": "int",
            "name": "GATSL2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/729438",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "GATS protein-like 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 15107,
            "identifier": "GO:0030307",
            "identifier_type": "str",
            "name": "positive regulation of cell growth",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0030307",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15108,
            "identifier": "847",
            "identifier_type": "int",
            "name": "CAT",
            "properties": {
                "url": "http://identifiers.org/ncbigene/847",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "catalase"
            },
            "metanode": "Gene"
        },
        {
            "id": 15109,
            "identifier": "6928",
            "identifier_type": "int",
            "name": "HNF1B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6928",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "HNF1 homeobox B"
            },
            "metanode": "Gene"
        },
        {
            "id": 15110,
            "identifier": "GO:0032364",
            "identifier_type": "str",
            "name": "oxygen homeostasis",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0032364",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15111,
            "identifier": "402682",
            "identifier_type": "int",
            "name": "UFSP1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/402682",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "UFM1-specific peptidase 1 (non-functional)"
            },
            "metanode": "Gene"
        },
        {
            "id": 15112,
            "identifier": "C0239454",
            "identifier_type": "str",
            "name": "Erythema of eyelid",
            "properties": {
                "url": "http://identifiers.org/umls/C0239454",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 15113,
            "identifier": "GO:0030896",
            "identifier_type": "str",
            "name": "checkpoint clamp complex",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0030896",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 15114,
            "identifier": "338675",
            "identifier_type": "int",
            "name": "OR5AP2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/338675",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "olfactory receptor, family 5, subfamily AP, member 2"
            },
            "metanode": "Gene"
        }
    ]
}