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=32975
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=33000",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=32950",
    "results": [
        {
            "id": 32969,
            "identifier": "DB00379",
            "identifier_type": "str",
            "name": "Mexiletine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00379",
                "inchi": "InChI=1S/C11H17NO/c1-8-5-4-6-9(2)11(8)13-7-10(3)12/h4-6,10H,7,12H2,1-3H3",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=VLPIATFUUWWMKC-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 32970,
            "identifier": "402",
            "identifier_type": "int",
            "name": "ARL2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/402",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "ADP-ribosylation factor-like 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 32971,
            "identifier": "402381",
            "identifier_type": "int",
            "name": "SOHLH1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/402381",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "spermatogenesis and oogenesis specific basic helix-loop-helix 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 32972,
            "identifier": "C0242429",
            "identifier_type": "str",
            "name": "Throat sore",
            "properties": {
                "url": "http://identifiers.org/umls/C0242429",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 32973,
            "identifier": "GO:0090280",
            "identifier_type": "str",
            "name": "positive regulation of calcium ion import",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0090280",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 32974,
            "identifier": "DB06216",
            "identifier_type": "str",
            "name": "Asenapine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB06216",
                "inchi": "InChI=1S/C17H16ClNO.C4H4O4/c1-19-9-14-12-4-2-3-5-16(12)20-17-7-6-11(18)8-13(17)15(14)10-19;5-3(6)1-2-4(7)8/h2-8,14-15H,9-10H2,1H3;1-2H,(H,5,6)(H,7,8)/b;2-1-",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=GMDCDXMAFMEDAG-BTJKTKAUSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 32975,
            "identifier": "389792",
            "identifier_type": "int",
            "name": "IER5L",
            "properties": {
                "url": "http://identifiers.org/ncbigene/389792",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "immediate early response 5-like"
            },
            "metanode": "Gene"
        },
        {
            "id": 32976,
            "identifier": "DB01228",
            "identifier_type": "str",
            "name": "Encainide",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01228",
                "inchi": "InChI=1S/C22H28N2O2/c1-24-16-6-5-8-19(24)13-10-17-7-3-4-9-21(17)23-22(25)18-11-14-20(26-2)15-12-18/h3-4,7,9,11-12,14-15,19H,5-6,8,10,13,16H2,1-2H3,(H,23,25)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=PJWPNDMDCLXCOM-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 32977,
            "identifier": "27132",
            "identifier_type": "int",
            "name": "CPNE7",
            "properties": {
                "url": "http://identifiers.org/ncbigene/27132",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "copine VII"
            },
            "metanode": "Gene"
        },
        {
            "id": 32978,
            "identifier": "D012607",
            "identifier_type": "str",
            "name": "Scotoma",
            "properties": {
                "url": "http://identifiers.org/mesh/D012607",
                "source": "MeSH",
                "license": "CC0 1.0"
            },
            "metanode": "Symptom"
        },
        {
            "id": 32979,
            "identifier": "57544",
            "identifier_type": "int",
            "name": "TXNDC16",
            "properties": {
                "url": "http://identifiers.org/ncbigene/57544",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "14",
                "description": "thioredoxin domain containing 16"
            },
            "metanode": "Gene"
        },
        {
            "id": 32980,
            "identifier": "GO:2001286",
            "identifier_type": "str",
            "name": "regulation of caveolin-mediated endocytosis",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_2001286",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 32981,
            "identifier": "80223",
            "identifier_type": "int",
            "name": "RAB11FIP1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/80223",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "RAB11 family interacting protein 1 (class I)"
            },
            "metanode": "Gene"
        },
        {
            "id": 32982,
            "identifier": "GO:0030170",
            "identifier_type": "str",
            "name": "pyridoxal phosphate binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0030170",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 32983,
            "identifier": "5452",
            "identifier_type": "int",
            "name": "POU2F2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5452",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "POU class 2 homeobox 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 32984,
            "identifier": "51250",
            "identifier_type": "int",
            "name": "C6orf203",
            "properties": {
                "url": "http://identifiers.org/ncbigene/51250",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "chromosome 6 open reading frame 203"
            },
            "metanode": "Gene"
        },
        {
            "id": 32985,
            "identifier": "GO:0008154",
            "identifier_type": "str",
            "name": "actin polymerization or depolymerization",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0008154",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 32986,
            "identifier": "730159",
            "identifier_type": "int",
            "name": "LOC730159",
            "properties": {
                "url": "http://identifiers.org/ncbigene/730159",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "uncharacterized LOC730159"
            },
            "metanode": "Gene"
        },
        {
            "id": 32987,
            "identifier": "GO:2000296",
            "identifier_type": "str",
            "name": "negative regulation of hydrogen peroxide catabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_2000296",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 33240,
            "identifier": "GO:0005506",
            "identifier_type": "str",
            "name": "iron ion binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0005506",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 32988,
            "identifier": "162998",
            "identifier_type": "int",
            "name": "OR7D2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/162998",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "olfactory receptor, family 7, subfamily D, member 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 32989,
            "identifier": "7905",
            "identifier_type": "int",
            "name": "REEP5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/7905",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "receptor accessory protein 5"
            },
            "metanode": "Gene"
        },
        {
            "id": 32990,
            "identifier": "84131",
            "identifier_type": "int",
            "name": "CEP78",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84131",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "centrosomal protein 78kDa"
            },
            "metanode": "Gene"
        },
        {
            "id": 32991,
            "identifier": "PC7_2620",
            "identifier_type": "str",
            "name": "Class A/1 (Rhodopsin-like receptors)",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 32992,
            "identifier": "5903",
            "identifier_type": "int",
            "name": "RANBP2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5903",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "RAN binding protein 2"
            },
            "metanode": "Gene"
        }
    ]
}