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=32450
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=32475",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=32425",
    "results": [
        {
            "id": 32443,
            "identifier": "105370036",
            "identifier_type": "int",
            "name": "LOC105370036",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105370036",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "12",
                "description": "uncharacterized LOC105370036"
            },
            "metanode": "Gene"
        },
        {
            "id": 32444,
            "identifier": "WP1946_r79691",
            "identifier_type": "str",
            "name": "Cori Cycle",
            "properties": {
                "url": "http://www.wikipathways.org/instance/WP1946_r79691",
                "source": "WikiPathways",
                "license": "CC BY 3.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 32445,
            "identifier": "GO:1903365",
            "identifier_type": "str",
            "name": "regulation of fear response",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1903365",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 32446,
            "identifier": "84985",
            "identifier_type": "int",
            "name": "FAM83A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84985",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "family with sequence similarity 83, member A"
            },
            "metanode": "Gene"
        },
        {
            "id": 32447,
            "identifier": "3190",
            "identifier_type": "int",
            "name": "HNRNPK",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3190",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "heterogeneous nuclear ribonucleoprotein K"
            },
            "metanode": "Gene"
        },
        {
            "id": 32448,
            "identifier": "PC7_6094",
            "identifier_type": "str",
            "name": "P2Y receptors",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 32449,
            "identifier": "57623",
            "identifier_type": "int",
            "name": "ZFAT",
            "properties": {
                "url": "http://identifiers.org/ncbigene/57623",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "zinc finger and AT hook domain containing"
            },
            "metanode": "Gene"
        },
        {
            "id": 32450,
            "identifier": "C0162628",
            "identifier_type": "str",
            "name": "Viral skin infection",
            "properties": {
                "url": "http://identifiers.org/umls/C0162628",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 32451,
            "identifier": "GO:0030688",
            "identifier_type": "str",
            "name": "preribosome, small subunit precursor",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0030688",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 32452,
            "identifier": "GO:0042552",
            "identifier_type": "str",
            "name": "myelination",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0042552",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 32453,
            "identifier": "5515",
            "identifier_type": "int",
            "name": "PPP2CA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5515",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "protein phosphatase 2, catalytic subunit, alpha isozyme"
            },
            "metanode": "Gene"
        },
        {
            "id": 32454,
            "identifier": "51569",
            "identifier_type": "int",
            "name": "UFM1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/51569",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "ubiquitin-fold modifier 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 32455,
            "identifier": "100131840",
            "identifier_type": "int",
            "name": "LOC100131840",
            "properties": {
                "url": "http://identifiers.org/ncbigene/100131840",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "uncharacterized LOC100131840"
            },
            "metanode": "Gene"
        },
        {
            "id": 32456,
            "identifier": "84450",
            "identifier_type": "int",
            "name": "ZNF512",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84450",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "zinc finger protein 512"
            },
            "metanode": "Gene"
        },
        {
            "id": 32457,
            "identifier": "200008",
            "identifier_type": "int",
            "name": "CDCP2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/200008",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "CUB domain containing protein 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 32458,
            "identifier": "105374313",
            "identifier_type": "int",
            "name": "LOC105374313",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105374313",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "uncharacterized LOC105374313"
            },
            "metanode": "Gene"
        },
        {
            "id": 32459,
            "identifier": "C1112537",
            "identifier_type": "str",
            "name": "Neurological examination abnormal",
            "properties": {
                "url": "http://identifiers.org/umls/C1112537",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 32460,
            "identifier": "6469",
            "identifier_type": "int",
            "name": "SHH",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6469",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "sonic hedgehog"
            },
            "metanode": "Gene"
        },
        {
            "id": 32461,
            "identifier": "GO:0099514",
            "identifier_type": "str",
            "name": "synaptic vesicle cytoskeletal transport",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0099514",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 32462,
            "identifier": "DB01406",
            "identifier_type": "str",
            "name": "Danazol",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01406",
                "inchi": "InChI=1S/C22H27NO2/c1-4-22(24)10-8-18-16-6-5-15-11-19-14(13-23-25-19)12-20(15,2)17(16)7-9-21(18,22)3/h1,11,13,16-18,24H,5-10,12H2,2-3H3/t16-,17+,18+,20+,21+,22+/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=POZRVZJJTULAOH-LHZXLZLDSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 32463,
            "identifier": "GO:0007017",
            "identifier_type": "str",
            "name": "microtubule-based process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0007017",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 32464,
            "identifier": "1045",
            "identifier_type": "int",
            "name": "CDX2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/1045",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "caudal type homeobox 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 32465,
            "identifier": "9792",
            "identifier_type": "int",
            "name": "SERTAD2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9792",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "SERTA domain containing 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 32466,
            "identifier": "51195",
            "identifier_type": "int",
            "name": "RAPGEFL1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/51195",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "Rap guanine nucleotide exchange factor (GEF)-like 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 32467,
            "identifier": "5697",
            "identifier_type": "int",
            "name": "PYY",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5697",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "peptide YY"
            },
            "metanode": "Gene"
        }
    ]
}