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=4600
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=4625",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=4575",
    "results": [
        {
            "id": 4588,
            "identifier": "DB00493",
            "identifier_type": "str",
            "name": "Cefotaxime",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00493",
                "inchi": "InChI=1S/C16H17N5O7S2/c1-6(22)28-3-7-4-29-14-10(13(24)21(14)11(7)15(25)26)19-12(23)9(20-27-2)8-5-30-16(17)18-8/h5,10,14H,3-4H2,1-2H3,(H2,17,18)(H,19,23)(H,25,26)/b20-9-/t10-,14-/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=GPRBEKHLDVQUJE-QSWIMTSFSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 4589,
            "identifier": "54058",
            "identifier_type": "int",
            "name": "C21orf58",
            "properties": {
                "url": "http://identifiers.org/ncbigene/54058",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "21",
                "description": "chromosome 21 open reading frame 58"
            },
            "metanode": "Gene"
        },
        {
            "id": 4590,
            "identifier": "GO:0016903",
            "identifier_type": "str",
            "name": "oxidoreductase activity, acting on the aldehyde or oxo group of donors",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016903",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 4591,
            "identifier": "200172",
            "identifier_type": "int",
            "name": "SLFNL1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/200172",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "schlafen-like 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 4592,
            "identifier": "4515",
            "identifier_type": "int",
            "name": "MTCP1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4515",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "mature T-cell proliferation 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 4593,
            "identifier": "10289",
            "identifier_type": "int",
            "name": "EIF1B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10289",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "eukaryotic translation initiation factor 1B"
            },
            "metanode": "Gene"
        },
        {
            "id": 4594,
            "identifier": "6617",
            "identifier_type": "int",
            "name": "SNAPC1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6617",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "14",
                "description": "small nuclear RNA activating complex, polypeptide 1, 43kDa"
            },
            "metanode": "Gene"
        },
        {
            "id": 4595,
            "identifier": "56655",
            "identifier_type": "int",
            "name": "POLE4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/56655",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "polymerase (DNA-directed), epsilon 4, accessory subunit"
            },
            "metanode": "Gene"
        },
        {
            "id": 4596,
            "identifier": "GO:0006450",
            "identifier_type": "str",
            "name": "regulation of translational fidelity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006450",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 4597,
            "identifier": "GO:0021904",
            "identifier_type": "str",
            "name": "dorsal/ventral neural tube patterning",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0021904",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 4598,
            "identifier": "390980",
            "identifier_type": "int",
            "name": "ZNF805",
            "properties": {
                "url": "http://identifiers.org/ncbigene/390980",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "zinc finger protein 805"
            },
            "metanode": "Gene"
        },
        {
            "id": 4599,
            "identifier": "1193",
            "identifier_type": "int",
            "name": "CLIC2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/1193",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "chloride intracellular channel 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 4600,
            "identifier": "9956",
            "identifier_type": "int",
            "name": "HS3ST2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9956",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "heparan sulfate (glucosamine) 3-O-sulfotransferase 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 4601,
            "identifier": "C0242459",
            "identifier_type": "str",
            "name": "Loeffler's syndrome",
            "properties": {
                "url": "http://identifiers.org/umls/C0242459",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 4602,
            "identifier": "C0033949",
            "identifier_type": "str",
            "name": "Male orgasmic disorder",
            "properties": {
                "url": "http://identifiers.org/umls/C0033949",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 4603,
            "identifier": "105379399",
            "identifier_type": "int",
            "name": "LOC105379399",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105379399",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "uncharacterized LOC105379399"
            },
            "metanode": "Gene"
        },
        {
            "id": 4604,
            "identifier": "3790",
            "identifier_type": "int",
            "name": "KCNS3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3790",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "potassium voltage-gated channel, modifier subfamily S, member 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 4605,
            "identifier": "8313",
            "identifier_type": "int",
            "name": "AXIN2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/8313",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "axin 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 4606,
            "identifier": "GO:0030670",
            "identifier_type": "str",
            "name": "phagocytic vesicle membrane",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0030670",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 4607,
            "identifier": "PC7_2926",
            "identifier_type": "str",
            "name": "DAP12 signaling",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 4608,
            "identifier": "N0000187064",
            "identifier_type": "str",
            "name": "Cytochrome P450 2B6 Inducers",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000187064",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Mechanism of Action"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 4609,
            "identifier": "GO:0021957",
            "identifier_type": "str",
            "name": "corticospinal tract morphogenesis",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0021957",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 4610,
            "identifier": "GO:0006668",
            "identifier_type": "str",
            "name": "sphinganine-1-phosphate metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006668",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 4611,
            "identifier": "2147",
            "identifier_type": "int",
            "name": "F2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2147",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "coagulation factor II (thrombin)"
            },
            "metanode": "Gene"
        },
        {
            "id": 4612,
            "identifier": "10654",
            "identifier_type": "int",
            "name": "PMVK",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10654",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "phosphomevalonate kinase"
            },
            "metanode": "Gene"
        }
    ]
}