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=42250
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=42275",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=42225",
    "results": [
        {
            "id": 42249,
            "identifier": "DB00736",
            "identifier_type": "str",
            "name": "Esomeprazole",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00736",
                "inchi": "InChI=1/C17H19N3O3S/c1-10-8-18-15(11(2)16(10)23-4)9-24(21)17-19-13-6-5-12(22-3)7-14(13)20-17/h5-8H,9H2,1-4H3,(H,19,20)/t24-/s2",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=SUBDBMMJDZJVOS-FQKVKQEKNA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 42250,
            "identifier": "GO:0051289",
            "identifier_type": "str",
            "name": "protein homotetramerization",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051289",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 42251,
            "identifier": "GO:0015919",
            "identifier_type": "str",
            "name": "peroxisomal membrane transport",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0015919",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 42252,
            "identifier": "C0577598",
            "identifier_type": "str",
            "name": "Swollen arm",
            "properties": {
                "url": "http://identifiers.org/umls/C0577598",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 42253,
            "identifier": "112755",
            "identifier_type": "int",
            "name": "STX1B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/112755",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "syntaxin 1B"
            },
            "metanode": "Gene"
        },
        {
            "id": 42254,
            "identifier": "DB00338",
            "identifier_type": "str",
            "name": "Omeprazole",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00338",
                "inchi": "InChI=1S/C17H19N3O3S/c1-10-8-18-15(11(2)16(10)23-4)9-24(21)17-19-13-6-5-12(22-3)7-14(13)20-17/h5-8H,9H2,1-4H3,(H,19,20)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=SUBDBMMJDZJVOS-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 42255,
            "identifier": "7444",
            "identifier_type": "int",
            "name": "VRK2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/7444",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "vaccinia related kinase 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 42256,
            "identifier": "C1141893",
            "identifier_type": "str",
            "name": "Muscle enzyme increased",
            "properties": {
                "url": "http://identifiers.org/umls/C1141893",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 42257,
            "identifier": "DB00093",
            "identifier_type": "str",
            "name": "Felypressin",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00093",
                "inchi": "InChI=1/C46H65N13O11S2/c47-18-8-7-14-29(40(64)52-23-38(51)62)54-45(69)35-15-9-19-59(35)46(70)34-25-72-71-24-28(48)39(63)55-31(20-26-10-3-1-4-11-26)43(67)56-32(21-27-12-5-2-6-13-27)42(66)53-30(16-17-36(49)60)41(65)57-33(22-37(50)61)44(68)58-34/h1-6,10-13,28-35H,7-9,14-25,47-48H2,(H2,49,60)(H2,50,61)(H2,51,62)(H,52,64)(H,53,66)(H,54,69)(H,55,63)(H,56,67)(H,57,65)(H,58,68)/t28-,29-,30-,31-,32-,33-,34-,35-/s2",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=SFKQVVDKFKYTNA-YVGXZPIDNA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 42258,
            "identifier": "GO:0035591",
            "identifier_type": "str",
            "name": "signaling adaptor activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0035591",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 42259,
            "identifier": "26281",
            "identifier_type": "int",
            "name": "FGF20",
            "properties": {
                "url": "http://identifiers.org/ncbigene/26281",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "fibroblast growth factor 20"
            },
            "metanode": "Gene"
        },
        {
            "id": 42260,
            "identifier": "55839",
            "identifier_type": "int",
            "name": "CENPN",
            "properties": {
                "url": "http://identifiers.org/ncbigene/55839",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "centromere protein N"
            },
            "metanode": "Gene"
        },
        {
            "id": 42261,
            "identifier": "C1609536",
            "identifier_type": "str",
            "name": "Allergic bronchospasm",
            "properties": {
                "url": "http://identifiers.org/umls/C1609536",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 42262,
            "identifier": "378951",
            "identifier_type": "int",
            "name": "RBMY1J",
            "properties": {
                "url": "http://identifiers.org/ncbigene/378951",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "Y",
                "description": "RNA binding motif protein, Y-linked, family 1, member J"
            },
            "metanode": "Gene"
        },
        {
            "id": 42263,
            "identifier": "633",
            "identifier_type": "int",
            "name": "BGN",
            "properties": {
                "url": "http://identifiers.org/ncbigene/633",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "biglycan"
            },
            "metanode": "Gene"
        },
        {
            "id": 42264,
            "identifier": "9140",
            "identifier_type": "int",
            "name": "ATG12",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9140",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "autophagy related 12"
            },
            "metanode": "Gene"
        },
        {
            "id": 42265,
            "identifier": "GO:2000096",
            "identifier_type": "str",
            "name": "positive regulation of Wnt signaling pathway, planar cell polarity pathway",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_2000096",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 42266,
            "identifier": "GO:1903242",
            "identifier_type": "str",
            "name": "regulation of cardiac muscle hypertrophy in response to stress",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1903242",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 42267,
            "identifier": "C0549475",
            "identifier_type": "str",
            "name": "Lipase increased",
            "properties": {
                "url": "http://identifiers.org/umls/C0549475",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 42268,
            "identifier": "C0241705",
            "identifier_type": "str",
            "name": "Strangury",
            "properties": {
                "url": "http://identifiers.org/umls/C0241705",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 42269,
            "identifier": "57535",
            "identifier_type": "int",
            "name": "KIAA1324",
            "properties": {
                "url": "http://identifiers.org/ncbigene/57535",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "KIAA1324"
            },
            "metanode": "Gene"
        },
        {
            "id": 42270,
            "identifier": "GO:0003018",
            "identifier_type": "str",
            "name": "vascular process in circulatory system",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0003018",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 42271,
            "identifier": "80326",
            "identifier_type": "int",
            "name": "WNT10A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/80326",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "wingless-type MMTV integration site family, member 10A"
            },
            "metanode": "Gene"
        },
        {
            "id": 42272,
            "identifier": "GO:0004694",
            "identifier_type": "str",
            "name": "eukaryotic translation initiation factor 2alpha kinase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0004694",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 42273,
            "identifier": "C0033948",
            "identifier_type": "str",
            "name": "Female orgasmic disorder",
            "properties": {
                "url": "http://identifiers.org/umls/C0033948",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        }
    ]
}