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

{
    "count": 47031,
    "next": "http://search-api.het.io/v1/nodes/?limit=25&offset=25",
    "previous": null,
    "results": [
        {
            "id": 0,
            "identifier": "128239",
            "identifier_type": "int",
            "name": "IQGAP3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/128239",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "IQ motif containing GTPase activating protein 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 1,
            "identifier": "C1112256",
            "identifier_type": "str",
            "name": "Peripheral sensorimotor neuropathy",
            "properties": {
                "url": "http://identifiers.org/umls/C1112256",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 2,
            "identifier": "GO:0097343",
            "identifier_type": "str",
            "name": "ripoptosome assembly",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0097343",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 3,
            "identifier": "GO:0003884",
            "identifier_type": "str",
            "name": "D-amino-acid oxidase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0003884",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 4,
            "identifier": "GO:0045833",
            "identifier_type": "str",
            "name": "negative regulation of lipid metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0045833",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 5,
            "identifier": "DB01148",
            "identifier_type": "str",
            "name": "Flavoxate",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01148",
                "inchi": "InChI=1S/C24H25NO4/c1-17-21(26)19-11-8-12-20(23(19)29-22(17)18-9-4-2-5-10-18)24(27)28-16-15-25-13-6-3-7-14-25/h2,4-5,8-12H,3,6-7,13-16H2,1H3",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=SPIUTQOUKAMGCX-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 6,
            "identifier": "83752",
            "identifier_type": "int",
            "name": "LONP2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/83752",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "lon peptidase 2, peroxisomal"
            },
            "metanode": "Gene"
        },
        {
            "id": 7,
            "identifier": "GO:0022624",
            "identifier_type": "str",
            "name": "proteasome accessory complex",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0022624",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 8,
            "identifier": "GO:0048661",
            "identifier_type": "str",
            "name": "positive regulation of smooth muscle cell proliferation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0048661",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 9,
            "identifier": "N0000007568",
            "identifier_type": "str",
            "name": "Oxazolidinones",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000007568",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Chemical/Ingredient"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 10,
            "identifier": "10438",
            "identifier_type": "int",
            "name": "C1D",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10438",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "C1D nuclear receptor corepressor"
            },
            "metanode": "Gene"
        },
        {
            "id": 11,
            "identifier": "GO:0004945",
            "identifier_type": "str",
            "name": "angiotensin type II receptor activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0004945",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 12,
            "identifier": "C0235353",
            "identifier_type": "str",
            "name": "Tooth caries aggravated NOS",
            "properties": {
                "url": "http://identifiers.org/umls/C0235353",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 13,
            "identifier": "PC7_2621",
            "identifier_type": "str",
            "name": "Class B/2 (Secretin family receptors)",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 14,
            "identifier": "PC7_4693",
            "identifier_type": "str",
            "name": "Inactivation, recovery and regulation of the phototransduction cascade",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 15,
            "identifier": "GO:0022617",
            "identifier_type": "str",
            "name": "extracellular matrix disassembly",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0022617",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 16,
            "identifier": "154810",
            "identifier_type": "int",
            "name": "AMOTL1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/154810",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "angiomotin like 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 17,
            "identifier": "GO:0016262",
            "identifier_type": "str",
            "name": "protein N-acetylglucosaminyltransferase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016262",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 18,
            "identifier": "4128",
            "identifier_type": "int",
            "name": "MAOA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4128",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "monoamine oxidase A"
            },
            "metanode": "Gene"
        },
        {
            "id": 19,
            "identifier": "GO:0031104",
            "identifier_type": "str",
            "name": "dendrite regeneration",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0031104",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 20,
            "identifier": "9682",
            "identifier_type": "int",
            "name": "KDM4A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9682",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "lysine (K)-specific demethylase 4A"
            },
            "metanode": "Gene"
        },
        {
            "id": 21,
            "identifier": "84706",
            "identifier_type": "int",
            "name": "GPT2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84706",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "glutamic pyruvate transaminase (alanine aminotransferase) 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 22,
            "identifier": "3446",
            "identifier_type": "int",
            "name": "IFNA10",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3446",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "interferon, alpha 10"
            },
            "metanode": "Gene"
        },
        {
            "id": 23,
            "identifier": "GO:0019962",
            "identifier_type": "str",
            "name": "type I interferon binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0019962",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 24,
            "identifier": "C0024282",
            "identifier_type": "str",
            "name": "Lymphocytosis",
            "properties": {
                "url": "http://identifiers.org/umls/C0024282",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        }
    ]
}