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=22850
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=22875",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=22825",
    "results": [
        {
            "id": 22841,
            "identifier": "GO:0033764",
            "identifier_type": "str",
            "name": "steroid dehydrogenase activity, acting on the CH-OH group of donors, NAD or NADP as acceptor",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0033764",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 22842,
            "identifier": "70",
            "identifier_type": "int",
            "name": "ACTC1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/70",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "15",
                "description": "actin, alpha, cardiac muscle 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 22843,
            "identifier": "8689",
            "identifier_type": "int",
            "name": "KRT36",
            "properties": {
                "url": "http://identifiers.org/ncbigene/8689",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "keratin 36, type I"
            },
            "metanode": "Gene"
        },
        {
            "id": 22844,
            "identifier": "GO:0031017",
            "identifier_type": "str",
            "name": "exocrine pancreas development",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0031017",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 22845,
            "identifier": "GO:1904562",
            "identifier_type": "str",
            "name": "phosphatidylinositol 5-phosphate metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1904562",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 22846,
            "identifier": "80704",
            "identifier_type": "int",
            "name": "SLC19A3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/80704",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "solute carrier family 19 (thiamine transporter), member 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 22847,
            "identifier": "2523",
            "identifier_type": "int",
            "name": "FUT1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2523",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "fucosyltransferase 1 (galactoside 2-alpha-L-fucosyltransferase, H blood group)"
            },
            "metanode": "Gene"
        },
        {
            "id": 22848,
            "identifier": "11030",
            "identifier_type": "int",
            "name": "RBPMS",
            "properties": {
                "url": "http://identifiers.org/ncbigene/11030",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "RNA binding protein with multiple splicing"
            },
            "metanode": "Gene"
        },
        {
            "id": 22849,
            "identifier": "GO:0016107",
            "identifier_type": "str",
            "name": "sesquiterpenoid catabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016107",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 22850,
            "identifier": "C0854567",
            "identifier_type": "str",
            "name": "Complications of transplant surgery",
            "properties": {
                "url": "http://identifiers.org/umls/C0854567",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 22851,
            "identifier": "GO:0070509",
            "identifier_type": "str",
            "name": "calcium ion import",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070509",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 22853,
            "identifier": "29125",
            "identifier_type": "int",
            "name": "C11orf21",
            "properties": {
                "url": "http://identifiers.org/ncbigene/29125",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "chromosome 11 open reading frame 21"
            },
            "metanode": "Gene"
        },
        {
            "id": 22854,
            "identifier": "4976",
            "identifier_type": "int",
            "name": "OPA1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4976",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "optic atrophy 1 (autosomal dominant)"
            },
            "metanode": "Gene"
        },
        {
            "id": 22855,
            "identifier": "55014",
            "identifier_type": "int",
            "name": "STX17",
            "properties": {
                "url": "http://identifiers.org/ncbigene/55014",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "syntaxin 17"
            },
            "metanode": "Gene"
        },
        {
            "id": 22856,
            "identifier": "DB00503",
            "identifier_type": "str",
            "name": "Ritonavir",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00503",
                "inchi": "InChI=1S/C37H48N6O5S2/c1-24(2)33(42-36(46)43(5)20-29-22-49-35(40-29)25(3)4)34(45)39-28(16-26-12-8-6-9-13-26)18-32(44)31(17-27-14-10-7-11-15-27)41-37(47)48-21-30-19-38-23-50-30/h6-15,19,22-25,28,31-33,44H,16-18,20-21H2,1-5H3,(H,39,45)(H,41,47)(H,42,46)/t28-,31-,32-,33-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=NCDNCNXCDXHOMX-XGKFQTDJSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 22857,
            "identifier": "347442",
            "identifier_type": "int",
            "name": "DCAF8L2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/347442",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "DDB1 and CUL4 associated factor 8-like 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 22858,
            "identifier": "GO:0043457",
            "identifier_type": "str",
            "name": "regulation of cellular respiration",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0043457",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 22859,
            "identifier": "51077",
            "identifier_type": "int",
            "name": "FCF1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/51077",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "14",
                "description": "FCF1 rRNA-processing protein"
            },
            "metanode": "Gene"
        },
        {
            "id": 22860,
            "identifier": "GO:0010659",
            "identifier_type": "str",
            "name": "cardiac muscle cell apoptotic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0010659",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 22861,
            "identifier": "7317",
            "identifier_type": "int",
            "name": "UBA1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/7317",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "ubiquitin-like modifier activating enzyme 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 22862,
            "identifier": "53371",
            "identifier_type": "int",
            "name": "NUP54",
            "properties": {
                "url": "http://identifiers.org/ncbigene/53371",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "4",
                "description": "nucleoporin 54kDa"
            },
            "metanode": "Gene"
        },
        {
            "id": 22863,
            "identifier": "C1527358",
            "identifier_type": "str",
            "name": "Phototoxicity",
            "properties": {
                "url": "http://identifiers.org/umls/C1527358",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 22864,
            "identifier": "C0019080",
            "identifier_type": "str",
            "name": "Haemorrhage",
            "properties": {
                "url": "http://identifiers.org/umls/C0019080",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 22865,
            "identifier": "GO:0030368",
            "identifier_type": "str",
            "name": "interleukin-17 receptor activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0030368",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 22866,
            "identifier": "26154",
            "identifier_type": "int",
            "name": "ABCA12",
            "properties": {
                "url": "http://identifiers.org/ncbigene/26154",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "ATP-binding cassette, sub-family A (ABC1), member 12"
            },
            "metanode": "Gene"
        }
    ]
}