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=36700
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=36725",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=36675",
    "results": [
        {
            "id": 36696,
            "identifier": "DB00983",
            "identifier_type": "str",
            "name": "Formoterol",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00983",
                "inchi": "InChI=1S/C19H24N2O4/c1-13(9-14-3-6-16(25-2)7-4-14)20-11-19(24)15-5-8-18(23)17(10-15)21-12-22/h3-8,10,12-13,19-20,23-24H,9,11H2,1-2H3,(H,21,22)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=BPZSYCZIITTYBL-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 36697,
            "identifier": "GO:0004662",
            "identifier_type": "str",
            "name": "CAAX-protein geranylgeranyltransferase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0004662",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 36698,
            "identifier": "29880",
            "identifier_type": "int",
            "name": "ALG5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/29880",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "ALG5, dolichyl-phosphate beta-glucosyltransferase"
            },
            "metanode": "Gene"
        },
        {
            "id": 36699,
            "identifier": "5875",
            "identifier_type": "int",
            "name": "RABGGTA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5875",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "14",
                "description": "Rab geranylgeranyltransferase, alpha subunit"
            },
            "metanode": "Gene"
        },
        {
            "id": 36700,
            "identifier": "10286",
            "identifier_type": "int",
            "name": "BCAS2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10286",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "breast carcinoma amplified sequence 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 36701,
            "identifier": "GO:0044058",
            "identifier_type": "str",
            "name": "regulation of digestive system process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0044058",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 36702,
            "identifier": "DB06775",
            "identifier_type": "str",
            "name": "Carglumic Acid",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB06775",
                "inchi": "InChI=1S/C6H10N2O5/c7-6(13)8-3(5(11)12)1-2-4(9)10/h3H,1-2H2,(H,9,10)(H,11,12)(H3,7,8,13)/t3-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=LCQLHJZYVOQKHU-VKHMYHEASA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 36703,
            "identifier": "N0000007683",
            "identifier_type": "str",
            "name": "Organometallic Compounds",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000007683",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Chemical/Ingredient"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 36704,
            "identifier": "4104",
            "identifier_type": "int",
            "name": "MAGEA5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4104",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "melanoma antigen family A5"
            },
            "metanode": "Gene"
        },
        {
            "id": 36705,
            "identifier": "9686",
            "identifier_type": "int",
            "name": "VGLL4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9686",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "vestigial-like family member 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 36706,
            "identifier": "GO:0016290",
            "identifier_type": "str",
            "name": "palmitoyl-CoA hydrolase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016290",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 36707,
            "identifier": "GO:2000551",
            "identifier_type": "str",
            "name": "regulation of T-helper 2 cell cytokine production",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_2000551",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 36708,
            "identifier": "50945",
            "identifier_type": "int",
            "name": "TBX22",
            "properties": {
                "url": "http://identifiers.org/ncbigene/50945",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "T-box 22"
            },
            "metanode": "Gene"
        },
        {
            "id": 36709,
            "identifier": "30834",
            "identifier_type": "int",
            "name": "ZNRD1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/30834",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "zinc ribbon domain containing 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 36710,
            "identifier": "6573",
            "identifier_type": "int",
            "name": "SLC19A1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6573",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "21",
                "description": "solute carrier family 19 (folate transporter), member 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 36711,
            "identifier": "C0877635",
            "identifier_type": "str",
            "name": "Cytomegalovirus viraemia",
            "properties": {
                "url": "http://identifiers.org/umls/C0877635",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 36712,
            "identifier": "221662",
            "identifier_type": "int",
            "name": "RBM24",
            "properties": {
                "url": "http://identifiers.org/ncbigene/221662",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "RNA binding motif protein 24"
            },
            "metanode": "Gene"
        },
        {
            "id": 36713,
            "identifier": "GO:0045404",
            "identifier_type": "str",
            "name": "positive regulation of interleukin-4 biosynthetic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0045404",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 36714,
            "identifier": "9896",
            "identifier_type": "int",
            "name": "FIG4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9896",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "FIG4 phosphoinositide 5-phosphatase"
            },
            "metanode": "Gene"
        },
        {
            "id": 36715,
            "identifier": "C0016412",
            "identifier_type": "str",
            "name": "Folate deficiency",
            "properties": {
                "url": "http://identifiers.org/umls/C0016412",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 36716,
            "identifier": "GO:0060252",
            "identifier_type": "str",
            "name": "positive regulation of glial cell proliferation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0060252",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 36717,
            "identifier": "390667",
            "identifier_type": "int",
            "name": "PTX4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/390667",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "pentraxin 4, long"
            },
            "metanode": "Gene"
        },
        {
            "id": 36718,
            "identifier": "3730",
            "identifier_type": "int",
            "name": "ANOS1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3730",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "anosmin 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 36719,
            "identifier": "GO:0015803",
            "identifier_type": "str",
            "name": "branched-chain amino acid transport",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0015803",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 36720,
            "identifier": "D018476",
            "identifier_type": "str",
            "name": "Hypokinesia",
            "properties": {
                "url": "http://identifiers.org/mesh/D018476",
                "source": "MeSH",
                "license": "CC0 1.0"
            },
            "metanode": "Symptom"
        }
    ]
}