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=40650
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=40675",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=40625",
    "results": [
        {
            "id": 40647,
            "identifier": "DB08899",
            "identifier_type": "str",
            "name": "Enzalutamide",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB08899",
                "inchi": "InChI=1S/C21H16F4N4O2S/c1-20(2)18(31)28(12-5-4-11(10-26)15(8-12)21(23,24)25)19(32)29(20)13-6-7-14(16(22)9-13)17(30)27-3/h4-9H,1-3H3,(H,27,30)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=WXCXUHSOUPDCQV-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 40648,
            "identifier": "105369259",
            "identifier_type": "int",
            "name": "LOC105369259",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105369259",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "putative L-type amino acid transporter 1-like protein MLAS"
            },
            "metanode": "Gene"
        },
        {
            "id": 40649,
            "identifier": "105373926",
            "identifier_type": "int",
            "name": "LOC105373926",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105373926",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "putative HERV-K_Xq28 provirus ancestral Pol protein"
            },
            "metanode": "Gene"
        },
        {
            "id": 40650,
            "identifier": "DB09028",
            "identifier_type": "str",
            "name": "Cytisine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB09028",
                "inchi": "InChI=1S/C11H14N2O/c14-11-3-1-2-10-9-4-8(5-12-6-9)7-13(10)11/h1-3,8-9,12H,4-7H2/t8-,9+/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=ANJTVLIZGCUXLD-DTWKUNHWSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 40651,
            "identifier": "GO:0009897",
            "identifier_type": "str",
            "name": "external side of plasma membrane",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0009897",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 40653,
            "identifier": "101243544",
            "identifier_type": "int",
            "name": "ERCC6-PGBD3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/101243544",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "10",
                "description": "ERCC6-PGBD3 readthrough"
            },
            "metanode": "Gene"
        },
        {
            "id": 40654,
            "identifier": "85457",
            "identifier_type": "int",
            "name": "CIPC",
            "properties": {
                "url": "http://identifiers.org/ncbigene/85457",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "14",
                "description": "CLOCK-interacting pacemaker"
            },
            "metanode": "Gene"
        },
        {
            "id": 40655,
            "identifier": "GO:0070566",
            "identifier_type": "str",
            "name": "adenylyltransferase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070566",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 40656,
            "identifier": "387707",
            "identifier_type": "int",
            "name": "CC2D2B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/387707",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "10",
                "description": "coiled-coil and C2 domain containing 2B"
            },
            "metanode": "Gene"
        },
        {
            "id": 40657,
            "identifier": "GO:0050145",
            "identifier_type": "str",
            "name": "nucleoside phosphate kinase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0050145",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 40658,
            "identifier": "642",
            "identifier_type": "int",
            "name": "BLMH",
            "properties": {
                "url": "http://identifiers.org/ncbigene/642",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "bleomycin hydrolase"
            },
            "metanode": "Gene"
        },
        {
            "id": 40659,
            "identifier": "9277",
            "identifier_type": "int",
            "name": "WDR46",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9277",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "WD repeat domain 46"
            },
            "metanode": "Gene"
        },
        {
            "id": 40660,
            "identifier": "C0281914",
            "identifier_type": "str",
            "name": "Musculoskeletal deformity",
            "properties": {
                "url": "http://identifiers.org/umls/C0281914",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 40661,
            "identifier": "3111",
            "identifier_type": "int",
            "name": "HLA-DOA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3111",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "major histocompatibility complex, class II, DO alpha"
            },
            "metanode": "Gene"
        },
        {
            "id": 40662,
            "identifier": "GO:0019136",
            "identifier_type": "str",
            "name": "deoxynucleoside kinase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0019136",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 40663,
            "identifier": "GO:0035257",
            "identifier_type": "str",
            "name": "nuclear hormone receptor binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0035257",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 40664,
            "identifier": "GO:0097604",
            "identifier_type": "str",
            "name": "temperature-gated cation channel activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0097604",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 40665,
            "identifier": "5564",
            "identifier_type": "int",
            "name": "PRKAB1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5564",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "12",
                "description": "protein kinase, AMP-activated, beta 1 non-catalytic subunit"
            },
            "metanode": "Gene"
        },
        {
            "id": 40666,
            "identifier": "C0040252",
            "identifier_type": "str",
            "name": "Body tinea",
            "properties": {
                "url": "http://identifiers.org/umls/C0040252",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 40667,
            "identifier": "DB01092",
            "identifier_type": "str",
            "name": "Ouabain",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01092",
                "inchi": "InChI=1S/C29H44O12/c1-13-22(34)23(35)24(36)25(40-13)41-15-8-19(32)28(12-30)21-17(3-5-27(28,37)9-15)29(38)6-4-16(14-7-20(33)39-11-14)26(29,2)10-18(21)31/h7,13,15-19,21-25,30-32,34-38H,3-6,8-12H2,1-2H3/t13-,15-,16+,17+,18+,19+,21+,22-,23+,24+,25-,26+,27-,28+,29-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=LPMXVESGRSUGHW-HBYQJFLCSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 40668,
            "identifier": "C0020542",
            "identifier_type": "str",
            "name": "Pulmonary hypertension",
            "properties": {
                "url": "http://identifiers.org/umls/C0020542",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 40669,
            "identifier": "D002389",
            "identifier_type": "str",
            "name": "Catatonia",
            "properties": {
                "url": "http://identifiers.org/mesh/D002389",
                "source": "MeSH",
                "license": "CC0 1.0"
            },
            "metanode": "Symptom"
        },
        {
            "id": 40670,
            "identifier": "GO:1904219",
            "identifier_type": "str",
            "name": "positive regulation of CDP-diacylglycerol-serine O-phosphatidyltransferase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1904219",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 40671,
            "identifier": "23659",
            "identifier_type": "int",
            "name": "PLA2G15",
            "properties": {
                "url": "http://identifiers.org/ncbigene/23659",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "phospholipase A2, group XV"
            },
            "metanode": "Gene"
        },
        {
            "id": 40672,
            "identifier": "C0031736",
            "identifier_type": "str",
            "name": "Polymorphic light eruption",
            "properties": {
                "url": "http://identifiers.org/umls/C0031736",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        }
    ]
}