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=12475
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=12500",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=12450",
    "results": [
        {
            "id": 12462,
            "identifier": "DB00655",
            "identifier_type": "str",
            "name": "Estrone",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00655",
                "inchi": "InChI=1S/C18H22O2/c1-18-9-8-14-13-5-3-12(19)10-11(13)2-4-15(14)16(18)6-7-17(18)20/h3,5,10,14-16,19H,2,4,6-9H2,1H3/t14-,15-,16+,18+/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=DNXHEGUUPJUMQT-CBZIJGRNSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 12463,
            "identifier": "C0281361",
            "identifier_type": "str",
            "name": "Adenocarcinoma pancreas",
            "properties": {
                "url": "http://identifiers.org/umls/C0281361",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 12464,
            "identifier": "4994",
            "identifier_type": "int",
            "name": "OR3A1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4994",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "olfactory receptor, family 3, subfamily A, member 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 12465,
            "identifier": "DB00187",
            "identifier_type": "str",
            "name": "Esmolol",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00187",
                "inchi": "InChI=1S/C16H25NO4/c1-12(2)17-10-14(18)11-21-15-7-4-13(5-8-15)6-9-16(19)20-3/h4-5,7-8,12,14,17-18H,6,9-11H2,1-3H3",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=AQNDDEOPVVGCPG-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 12466,
            "identifier": "C0023370",
            "identifier_type": "str",
            "name": "Leriche syndrome",
            "properties": {
                "url": "http://identifiers.org/umls/C0023370",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 12467,
            "identifier": "GO:0032411",
            "identifier_type": "str",
            "name": "positive regulation of transporter activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0032411",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12468,
            "identifier": "C0855333",
            "identifier_type": "str",
            "name": "Electrocardiogram QT corrected interval prolonged",
            "properties": {
                "url": "http://identifiers.org/umls/C0855333",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 12469,
            "identifier": "UBERON:0002410",
            "identifier_type": "str",
            "name": "autonomic nervous system",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/UBERON_0002410",
                "bto_id": "BTO:0002507",
                "source": "Uberon",
                "license": "CC BY 3.0",
                "mesh_id": "D001341"
            },
            "metanode": "Anatomy"
        },
        {
            "id": 12470,
            "identifier": "GO:0051701",
            "identifier_type": "str",
            "name": "interaction with host",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051701",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12471,
            "identifier": "C3160830",
            "identifier_type": "str",
            "name": "Prostatic dysplasia",
            "properties": {
                "url": "http://identifiers.org/umls/C3160830",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 12472,
            "identifier": "254048",
            "identifier_type": "int",
            "name": "UBN2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/254048",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "ubinuclein 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 12473,
            "identifier": "9284",
            "identifier_type": "int",
            "name": "NPIPA1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9284",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "nuclear pore complex interacting protein family, member A1"
            },
            "metanode": "Gene"
        },
        {
            "id": 12474,
            "identifier": "C0085635",
            "identifier_type": "str",
            "name": "Photopsia",
            "properties": {
                "url": "http://identifiers.org/umls/C0085635",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 12475,
            "identifier": "GO:0006991",
            "identifier_type": "str",
            "name": "response to sterol depletion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006991",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12476,
            "identifier": "DB08871",
            "identifier_type": "str",
            "name": "Eribulin",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB08871",
                "inchi": "InChI=1S/C40H59NO11/c1-19-11-24-5-7-28-20(2)12-26(45-28)9-10-40-17-33-36(51-40)37-38(50-33)39(52-40)35-29(49-37)8-6-25(47-35)13-22(42)14-27-31(16-30(46-24)21(19)3)48-32(34(27)44-4)15-23(43)18-41/h19,23-39,43H,2-3,5-18,41H2,1,4H3/t19-,23+,24+,25?,26+,27+,28+,29+,30-,31+,32-,33-,34-,35+,36+,37+,38-,39+,40+/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=UFNVPOGXISZXJD-WVMZDRIUSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 12477,
            "identifier": "GO:1904217",
            "identifier_type": "str",
            "name": "regulation of CDP-diacylglycerol-serine O-phosphatidyltransferase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1904217",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12478,
            "identifier": "C0231807",
            "identifier_type": "str",
            "name": "Dyspnoea exertional",
            "properties": {
                "url": "http://identifiers.org/umls/C0231807",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 12479,
            "identifier": "9287",
            "identifier_type": "int",
            "name": "TAAR2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9287",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "trace amine associated receptor 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 12480,
            "identifier": "50674",
            "identifier_type": "int",
            "name": "NEUROG3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/50674",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "10",
                "description": "neurogenin 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 12481,
            "identifier": "GO:0071715",
            "identifier_type": "str",
            "name": "icosanoid transport",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0071715",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12482,
            "identifier": "81844",
            "identifier_type": "int",
            "name": "TRIM56",
            "properties": {
                "url": "http://identifiers.org/ncbigene/81844",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "tripartite motif containing 56"
            },
            "metanode": "Gene"
        },
        {
            "id": 12483,
            "identifier": "D005262",
            "identifier_type": "str",
            "name": "Feminization",
            "properties": {
                "url": "http://identifiers.org/mesh/D005262",
                "source": "MeSH",
                "license": "CC0 1.0"
            },
            "metanode": "Symptom"
        },
        {
            "id": 12484,
            "identifier": "GO:1900047",
            "identifier_type": "str",
            "name": "negative regulation of hemostasis",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1900047",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12485,
            "identifier": "149563",
            "identifier_type": "int",
            "name": "C1orf64",
            "properties": {
                "url": "http://identifiers.org/ncbigene/149563",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "chromosome 1 open reading frame 64"
            },
            "metanode": "Gene"
        },
        {
            "id": 12486,
            "identifier": "158326",
            "identifier_type": "int",
            "name": "FREM1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/158326",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "FRAS1 related extracellular matrix 1"
            },
            "metanode": "Gene"
        }
    ]
}