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=38950
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=38975",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=38925",
    "results": [
        {
            "id": 38949,
            "identifier": "GO:0072604",
            "identifier_type": "str",
            "name": "interleukin-6 secretion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0072604",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38950,
            "identifier": "64770",
            "identifier_type": "int",
            "name": "CCDC14",
            "properties": {
                "url": "http://identifiers.org/ncbigene/64770",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "coiled-coil domain containing 14"
            },
            "metanode": "Gene"
        },
        {
            "id": 38951,
            "identifier": "GO:0000428",
            "identifier_type": "str",
            "name": "DNA-directed RNA polymerase complex",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0000428",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 38952,
            "identifier": "286527",
            "identifier_type": "int",
            "name": "TMSB15B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/286527",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "thymosin beta 15B"
            },
            "metanode": "Gene"
        },
        {
            "id": 38953,
            "identifier": "5552",
            "identifier_type": "int",
            "name": "SRGN",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5552",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "10",
                "description": "serglycin"
            },
            "metanode": "Gene"
        },
        {
            "id": 38954,
            "identifier": "DB00293",
            "identifier_type": "str",
            "name": "Raltitrexed",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00293",
                "inchi": "InChI=1S/C21H22N4O6S/c1-11-22-14-4-3-12(9-13(14)19(28)23-11)10-25(2)17-7-6-16(32-17)20(29)24-15(21(30)31)5-8-18(26)27/h3-4,6-7,9,15H,5,8,10H2,1-2H3,(H,24,29)(H,26,27)(H,30,31)(H,22,23,28)/t15-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=IVTVGDXNLFLDRM-HNNXBMFYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 38955,
            "identifier": "GO:0030545",
            "identifier_type": "str",
            "name": "receptor regulator activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0030545",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 38956,
            "identifier": "221613",
            "identifier_type": "int",
            "name": "HIST1H2AA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/221613",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "histone cluster 1, H2aa"
            },
            "metanode": "Gene"
        },
        {
            "id": 38957,
            "identifier": "C0042376",
            "identifier_type": "str",
            "name": "Vascular headache",
            "properties": {
                "url": "http://identifiers.org/umls/C0042376",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 38958,
            "identifier": "GO:0050431",
            "identifier_type": "str",
            "name": "transforming growth factor beta binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0050431",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 38959,
            "identifier": "GO:0035994",
            "identifier_type": "str",
            "name": "response to muscle stretch",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0035994",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38960,
            "identifier": "GO:0032490",
            "identifier_type": "str",
            "name": "detection of molecule of bacterial origin",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0032490",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38961,
            "identifier": "C0041747",
            "identifier_type": "str",
            "name": "Unintended pregnancy",
            "properties": {
                "url": "http://identifiers.org/umls/C0041747",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 38962,
            "identifier": "53947",
            "identifier_type": "int",
            "name": "A4GALT",
            "properties": {
                "url": "http://identifiers.org/ncbigene/53947",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "22",
                "description": "alpha 1,4-galactosyltransferase"
            },
            "metanode": "Gene"
        },
        {
            "id": 38963,
            "identifier": "DB00275",
            "identifier_type": "str",
            "name": "Olmesartan",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00275",
                "inchi": "InChI=1S/C24H26N6O3/c1-4-7-19-25-21(24(2,3)33)20(23(31)32)30(19)14-15-10-12-16(13-11-15)17-8-5-6-9-18(17)22-26-28-29-27-22/h5-6,8-13,33H,4,7,14H2,1-3H3,(H,31,32)(H,26,27,28,29)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=VTRAEEWXHOVJFV-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 38964,
            "identifier": "81327",
            "identifier_type": "int",
            "name": "OR4A16",
            "properties": {
                "url": "http://identifiers.org/ncbigene/81327",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "olfactory receptor, family 4, subfamily A, member 16"
            },
            "metanode": "Gene"
        },
        {
            "id": 38965,
            "identifier": "6506",
            "identifier_type": "int",
            "name": "SLC1A2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6506",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "solute carrier family 1 (glial high affinity glutamate transporter), member 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 38966,
            "identifier": "GO:0071284",
            "identifier_type": "str",
            "name": "cellular response to lead ion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0071284",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38967,
            "identifier": "GO:0045859",
            "identifier_type": "str",
            "name": "regulation of protein kinase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0045859",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38968,
            "identifier": "GO:0048839",
            "identifier_type": "str",
            "name": "inner ear development",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0048839",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38969,
            "identifier": "125875",
            "identifier_type": "int",
            "name": "CLDND2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/125875",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "claudin domain containing 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 38970,
            "identifier": "C0263591",
            "identifier_type": "str",
            "name": "Drug-induced lupus erythematosus",
            "properties": {
                "url": "http://identifiers.org/umls/C0263591",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 38971,
            "identifier": "1082",
            "identifier_type": "int",
            "name": "CGB",
            "properties": {
                "url": "http://identifiers.org/ncbigene/1082",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "chorionic gonadotropin, beta polypeptide"
            },
            "metanode": "Gene"
        },
        {
            "id": 38972,
            "identifier": "GO:0071360",
            "identifier_type": "str",
            "name": "cellular response to exogenous dsRNA",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0071360",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38973,
            "identifier": "51104",
            "identifier_type": "int",
            "name": "ABHD17B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/51104",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "abhydrolase domain containing 17B"
            },
            "metanode": "Gene"
        }
    ]
}