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=16525
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=16550",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=16500",
    "results": [
        {
            "id": 16516,
            "identifier": "7849",
            "identifier_type": "int",
            "name": "PAX8",
            "properties": {
                "url": "http://identifiers.org/ncbigene/7849",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "paired box 8"
            },
            "metanode": "Gene"
        },
        {
            "id": 16517,
            "identifier": "84331",
            "identifier_type": "int",
            "name": "FAM195A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84331",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "family with sequence similarity 195, member A"
            },
            "metanode": "Gene"
        },
        {
            "id": 16519,
            "identifier": "C0522058",
            "identifier_type": "str",
            "name": "Carbohydrate craving",
            "properties": {
                "url": "http://identifiers.org/umls/C0522058",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 16520,
            "identifier": "56244",
            "identifier_type": "int",
            "name": "BTNL2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/56244",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "butyrophilin-like 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 16521,
            "identifier": "DB08944",
            "identifier_type": "str",
            "name": "Isoaminile",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB08944",
                "inchi": "InChI=1/C16H24N2.C6H8O7/c1-13(2)16(12-17,11-14(3)18(4)5)15-9-7-6-8-10-15;7-3(8)1-6(13,5(11)12)2-4(9)10/h6-10,13-14H,11H2,1-5H3;13H,1-2H2,(H,7,8)(H,9,10)(H,11,12)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=ZXASMEUEMIIBDZ-UHFFFAOYNA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 16522,
            "identifier": "79777",
            "identifier_type": "int",
            "name": "ACBD4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/79777",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "acyl-CoA binding domain containing 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 16523,
            "identifier": "60468",
            "identifier_type": "int",
            "name": "BACH2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/60468",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "BTB and CNC homology 1, basic leucine zipper transcription factor 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 16524,
            "identifier": "DB00521",
            "identifier_type": "str",
            "name": "Carteolol",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00521",
                "inchi": "InChI=1S/C16H24N2O3/c1-16(2,3)17-9-11(19)10-21-14-6-4-5-13-12(14)7-8-15(20)18-13/h4-6,11,17,19H,7-10H2,1-3H3,(H,18,20)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=LWAFSWPYPHEXKX-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 16525,
            "identifier": "926",
            "identifier_type": "int",
            "name": "CD8B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/926",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "CD8b molecule"
            },
            "metanode": "Gene"
        },
        {
            "id": 16526,
            "identifier": "9673",
            "identifier_type": "int",
            "name": "SLC25A44",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9673",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "solute carrier family 25, member 44"
            },
            "metanode": "Gene"
        },
        {
            "id": 16527,
            "identifier": "C0549397",
            "identifier_type": "str",
            "name": "Nasal septum deviation",
            "properties": {
                "url": "http://identifiers.org/umls/C0549397",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 16528,
            "identifier": "C0595902",
            "identifier_type": "str",
            "name": "Blood chloride decreased",
            "properties": {
                "url": "http://identifiers.org/umls/C0595902",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 16529,
            "identifier": "80731",
            "identifier_type": "int",
            "name": "THSD7B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/80731",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "thrombospondin, type I, domain containing 7B"
            },
            "metanode": "Gene"
        },
        {
            "id": 16530,
            "identifier": "GO:0004826",
            "identifier_type": "str",
            "name": "phenylalanine-tRNA ligase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0004826",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 16531,
            "identifier": "1211",
            "identifier_type": "int",
            "name": "CLTA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/1211",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "clathrin, light chain A"
            },
            "metanode": "Gene"
        },
        {
            "id": 16532,
            "identifier": "10371",
            "identifier_type": "int",
            "name": "SEMA3A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10371",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "sema domain, immunoglobulin domain (Ig), short basic domain, secreted, (semaphorin) 3A"
            },
            "metanode": "Gene"
        },
        {
            "id": 16533,
            "identifier": "DB00541",
            "identifier_type": "str",
            "name": "Vincristine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00541",
                "inchi": "InChI=1S/C46H56N4O10/c1-7-42(55)22-28-23-45(40(53)58-5,36-30(14-18-48(24-28)25-42)29-12-9-10-13-33(29)47-36)32-20-31-34(21-35(32)57-4)50(26-51)38-44(31)16-19-49-17-11-15-43(8-2,37(44)49)39(60-27(3)52)46(38,56)41(54)59-6/h9-13,15,20-21,26,28,37-39,47,55-56H,7-8,14,16-19,22-25H2,1-6H3/t28-,37+,38-,39-,42+,43-,44-,45+,46+/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=OGWKCGZFUXNPDA-XQKSVPLYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 16534,
            "identifier": "GO:0000122",
            "identifier_type": "str",
            "name": "negative regulation of transcription from RNA polymerase II promoter",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0000122",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 16535,
            "identifier": "113612",
            "identifier_type": "int",
            "name": "CYP2U1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/113612",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "4",
                "description": "cytochrome P450, family 2, subfamily U, polypeptide 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 16536,
            "identifier": "GO:0033280",
            "identifier_type": "str",
            "name": "response to vitamin D",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0033280",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 16537,
            "identifier": "441239",
            "identifier_type": "int",
            "name": "LOC441239",
            "properties": {
                "url": "http://identifiers.org/ncbigene/441239",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "uncharacterized LOC441239"
            },
            "metanode": "Gene"
        },
        {
            "id": 16538,
            "identifier": "6658",
            "identifier_type": "int",
            "name": "SOX3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6658",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "SRY (sex determining region Y)-box 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 16539,
            "identifier": "10516",
            "identifier_type": "int",
            "name": "FBLN5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10516",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "14",
                "description": "fibulin 5"
            },
            "metanode": "Gene"
        },
        {
            "id": 16540,
            "identifier": "C0857236",
            "identifier_type": "str",
            "name": "Rash both legs",
            "properties": {
                "url": "http://identifiers.org/umls/C0857236",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 16541,
            "identifier": "GO:0071986",
            "identifier_type": "str",
            "name": "Ragulator complex",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0071986",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        }
    ]
}