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=37950
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=37975",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=37925",
    "results": [
        {
            "id": 37946,
            "identifier": "DB04911",
            "identifier_type": "str",
            "name": "Oritavancin",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB04911",
                "inchi": "InChI=1S/C86H97Cl3N10O26/c1-35(2)22-51(92-7)77(110)98-67-69(105)42-15-20-55(49(88)24-42)120-57-26-44-27-58(73(57)125-84-74(71(107)70(106)59(34-100)122-84)124-62-32-86(6,76(109)37(4)119-62)93-33-38-8-10-39(11-9-38)40-12-17-45(87)18-13-40)121-56-21-16-43(25-50(56)89)72(123-61-31-85(5,91)75(108)36(3)118-61)68-82(115)97-66(83(116)117)48-28-46(101)29-54(103)63(48)47-23-41(14-19-53(47)102)64(79(112)99-68)96-80(113)65(44)95-78(111)52(30-60(90)104)94-81(67)114/h8-21,23-29,35-37,51-52,59,61-62,64-72,74-76,84,92-93,100-103,105-109H,22,30-34,91H2,1-7H3,(H2,90,104)(H,94,114)(H,95,111)(H,96,113)(H,97,115)(H,98,110)(H,99,112)(H,116,117)/t36-,37-,51+,52-,59+,61-,62-,64+,65+,66-,67+,68-,69+,70+,71-,72+,74+,75-,76-,84-,85-,86-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=VHFGEBVPHAGQPI-LXKZPTCJSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 37947,
            "identifier": "C0023380",
            "identifier_type": "str",
            "name": "Lethargy",
            "properties": {
                "url": "http://identifiers.org/umls/C0023380",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37948,
            "identifier": "2044",
            "identifier_type": "int",
            "name": "EPHA5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2044",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "4",
                "description": "EPH receptor A5"
            },
            "metanode": "Gene"
        },
        {
            "id": 37949,
            "identifier": "55607",
            "identifier_type": "int",
            "name": "PPP1R9A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/55607",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "protein phosphatase 1, regulatory subunit 9A"
            },
            "metanode": "Gene"
        },
        {
            "id": 37950,
            "identifier": "79140",
            "identifier_type": "int",
            "name": "CCDC28B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/79140",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "coiled-coil domain containing 28B"
            },
            "metanode": "Gene"
        },
        {
            "id": 37951,
            "identifier": "GO:0032558",
            "identifier_type": "str",
            "name": "adenyl deoxyribonucleotide binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0032558",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 37952,
            "identifier": "GO:2001168",
            "identifier_type": "str",
            "name": "positive regulation of histone H2B ubiquitination",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_2001168",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37953,
            "identifier": "C0020620",
            "identifier_type": "str",
            "name": "Hypohidrosis",
            "properties": {
                "url": "http://identifiers.org/umls/C0020620",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37954,
            "identifier": "C1096444",
            "identifier_type": "str",
            "name": "Altered visual depth perception",
            "properties": {
                "url": "http://identifiers.org/umls/C1096444",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37955,
            "identifier": "N0000182140",
            "identifier_type": "str",
            "name": "Cytochrome P450 2C19 Inhibitors",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000182140",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Mechanism of Action"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 37956,
            "identifier": "GO:0035411",
            "identifier_type": "str",
            "name": "catenin import into nucleus",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0035411",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37957,
            "identifier": "PC7_6174",
            "identifier_type": "str",
            "name": "PKA-mediated phosphorylation of key metabolic factors",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 37958,
            "identifier": "GO:0006206",
            "identifier_type": "str",
            "name": "pyrimidine nucleobase metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006206",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37959,
            "identifier": "GO:0009314",
            "identifier_type": "str",
            "name": "response to radiation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0009314",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37960,
            "identifier": "C0032461",
            "identifier_type": "str",
            "name": "Polycythaemia",
            "properties": {
                "url": "http://identifiers.org/umls/C0032461",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37961,
            "identifier": "2742",
            "identifier_type": "int",
            "name": "GLRA2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2742",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "glycine receptor, alpha 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 37962,
            "identifier": "GO:0010460",
            "identifier_type": "str",
            "name": "positive regulation of heart rate",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0010460",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37963,
            "identifier": "6205",
            "identifier_type": "int",
            "name": "RPS11",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6205",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "ribosomal protein S11"
            },
            "metanode": "Gene"
        },
        {
            "id": 37964,
            "identifier": "GO:0009750",
            "identifier_type": "str",
            "name": "response to fructose",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0009750",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37965,
            "identifier": "GO:0016997",
            "identifier_type": "str",
            "name": "alpha-sialidase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016997",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 37966,
            "identifier": "PC7_1129",
            "identifier_type": "str",
            "name": "APC/C:Cdc20 mediated degradation of Cyclin B",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 37967,
            "identifier": "55217",
            "identifier_type": "int",
            "name": "TMLHE",
            "properties": {
                "url": "http://identifiers.org/ncbigene/55217",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "trimethyllysine hydroxylase, epsilon"
            },
            "metanode": "Gene"
        },
        {
            "id": 37968,
            "identifier": "UBERON:0001688",
            "identifier_type": "str",
            "name": "incus bone",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/UBERON_0001688",
                "source": "Uberon",
                "license": "CC BY 3.0",
                "mesh_id": "D007188"
            },
            "metanode": "Anatomy"
        },
        {
            "id": 37969,
            "identifier": "GO:0016742",
            "identifier_type": "str",
            "name": "hydroxymethyl-, formyl- and related transferase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016742",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 38005,
            "identifier": "8100",
            "identifier_type": "int",
            "name": "IFT88",
            "properties": {
                "url": "http://identifiers.org/ncbigene/8100",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "intraflagellar transport 88"
            },
            "metanode": "Gene"
        }
    ]
}