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=40975
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=41000",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=40950",
    "results": [
        {
            "id": 40971,
            "identifier": "DB00687",
            "identifier_type": "str",
            "name": "Fludrocortisone",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00687",
                "inchi": "InChI=1S/C21H29FO5/c1-18-7-5-13(24)9-12(18)3-4-15-14-6-8-20(27,17(26)11-23)19(14,2)10-16(25)21(15,18)22/h9,14-16,23,25,27H,3-8,10-11H2,1-2H3/t14-,15-,16-,18-,19-,20-,21-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=AAXVEMMRQDVLJB-BULBTXNYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 40972,
            "identifier": "C0549445",
            "identifier_type": "str",
            "name": "Anaemia NOS aggravated",
            "properties": {
                "url": "http://identifiers.org/umls/C0549445",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 40973,
            "identifier": "79600",
            "identifier_type": "int",
            "name": "TCTN1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/79600",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "12",
                "description": "tectonic family member 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 40974,
            "identifier": "100526694",
            "identifier_type": "int",
            "name": "MSANTD3-TMEFF1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/100526694",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "MSANTD3-TMEFF1 readthrough"
            },
            "metanode": "Gene"
        },
        {
            "id": 40975,
            "identifier": "DB01599",
            "identifier_type": "str",
            "name": "Probucol",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01599",
                "inchi": "InChI=1S/C31H48O2S2/c1-27(2,3)21-15-19(16-22(25(21)32)28(4,5)6)34-31(13,14)35-20-17-23(29(7,8)9)26(33)24(18-20)30(10,11)12/h15-18,32-33H,1-14H3",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=FYPMFJGVHOHGLL-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 40976,
            "identifier": "DB00608",
            "identifier_type": "str",
            "name": "Chloroquine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00608",
                "inchi": "InChI=1S/C18H26ClN3/c1-4-22(5-2)12-6-7-14(3)21-17-10-11-20-18-13-15(19)8-9-16(17)18/h8-11,13-14H,4-7,12H2,1-3H3,(H,20,21)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=WHTVZRBIWZFKQO-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 40977,
            "identifier": "9240",
            "identifier_type": "int",
            "name": "PNMA1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9240",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "14",
                "description": "paraneoplastic Ma antigen 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 40978,
            "identifier": "GO:0016492",
            "identifier_type": "str",
            "name": "G-protein coupled neurotensin receptor activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016492",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 40979,
            "identifier": "GO:0010039",
            "identifier_type": "str",
            "name": "response to iron ion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0010039",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 40980,
            "identifier": "GO:0070905",
            "identifier_type": "str",
            "name": "serine binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070905",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 40981,
            "identifier": "GO:0070245",
            "identifier_type": "str",
            "name": "positive regulation of thymocyte apoptotic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070245",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 40982,
            "identifier": "27351",
            "identifier_type": "int",
            "name": "DESI1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/27351",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "22",
                "description": "desumoylating isopeptidase 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 40983,
            "identifier": "3074",
            "identifier_type": "int",
            "name": "HEXB",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3074",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "hexosaminidase B (beta polypeptide)"
            },
            "metanode": "Gene"
        },
        {
            "id": 40984,
            "identifier": "GO:0003986",
            "identifier_type": "str",
            "name": "acetyl-CoA hydrolase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0003986",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 40985,
            "identifier": "N0000185506",
            "identifier_type": "str",
            "name": "Cytochrome P450 3A4 Inducers",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000185506",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Mechanism of Action"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 40986,
            "identifier": "GO:0035725",
            "identifier_type": "str",
            "name": "sodium ion transmembrane transport",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0035725",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 40987,
            "identifier": "GO:0048483",
            "identifier_type": "str",
            "name": "autonomic nervous system development",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0048483",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 40988,
            "identifier": "C0009241",
            "identifier_type": "str",
            "name": "Cognitive disorder",
            "properties": {
                "url": "http://identifiers.org/umls/C0009241",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 40989,
            "identifier": "375323",
            "identifier_type": "int",
            "name": "LHFPL4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/375323",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "lipoma HMGIC fusion partner-like 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 40990,
            "identifier": "285782",
            "identifier_type": "int",
            "name": "CAGE1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/285782",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "cancer antigen 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 40991,
            "identifier": "GO:0043266",
            "identifier_type": "str",
            "name": "regulation of potassium ion transport",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0043266",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 40992,
            "identifier": "C0016664",
            "identifier_type": "str",
            "name": "Stress fracture",
            "properties": {
                "url": "http://identifiers.org/umls/C0016664",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 40993,
            "identifier": "C0236053",
            "identifier_type": "str",
            "name": "Mucosal ulceration",
            "properties": {
                "url": "http://identifiers.org/umls/C0236053",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 40994,
            "identifier": "GO:0043370",
            "identifier_type": "str",
            "name": "regulation of CD4-positive, alpha-beta T cell differentiation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0043370",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 40995,
            "identifier": "GO:0044364",
            "identifier_type": "str",
            "name": "disruption of cells of other organism",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0044364",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        }
    ]
}