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=42375
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=42400",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=42350",
    "results": [
        {
            "id": 42373,
            "identifier": "84059",
            "identifier_type": "int",
            "name": "ADGRV1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84059",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "adhesion G protein-coupled receptor V1"
            },
            "metanode": "Gene"
        },
        {
            "id": 42374,
            "identifier": "GO:0022834",
            "identifier_type": "str",
            "name": "ligand-gated channel activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0022834",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 42375,
            "identifier": "105369271",
            "identifier_type": "int",
            "name": "LOC105369271",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105369271",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "nuclear pore complex-interacting protein family member B7-like"
            },
            "metanode": "Gene"
        },
        {
            "id": 42376,
            "identifier": "148867",
            "identifier_type": "int",
            "name": "SLC30A7",
            "properties": {
                "url": "http://identifiers.org/ncbigene/148867",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "solute carrier family 30 (zinc transporter), member 7"
            },
            "metanode": "Gene"
        },
        {
            "id": 42377,
            "identifier": "55972",
            "identifier_type": "int",
            "name": "SLC25A40",
            "properties": {
                "url": "http://identifiers.org/ncbigene/55972",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "solute carrier family 25, member 40"
            },
            "metanode": "Gene"
        },
        {
            "id": 42378,
            "identifier": "494514",
            "identifier_type": "int",
            "name": "TYMSOS",
            "properties": {
                "url": "http://identifiers.org/ncbigene/494514",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "18",
                "description": "TYMS opposite strand"
            },
            "metanode": "Gene"
        },
        {
            "id": 42379,
            "identifier": "GO:0003418",
            "identifier_type": "str",
            "name": "growth plate cartilage chondrocyte differentiation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0003418",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 42380,
            "identifier": "654",
            "identifier_type": "int",
            "name": "BMP6",
            "properties": {
                "url": "http://identifiers.org/ncbigene/654",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "bone morphogenetic protein 6"
            },
            "metanode": "Gene"
        },
        {
            "id": 42381,
            "identifier": "50804",
            "identifier_type": "int",
            "name": "MYEF2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/50804",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "15",
                "description": "myelin expression factor 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 42382,
            "identifier": "DOID:6364",
            "identifier_type": "str",
            "name": "migraine",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/DOID_6364",
                "source": "Disease Ontology",
                "license": "CC BY 3.0"
            },
            "metanode": "Disease"
        },
        {
            "id": 42383,
            "identifier": "GO:0019348",
            "identifier_type": "str",
            "name": "dolichol metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0019348",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 42384,
            "identifier": "C0029405",
            "identifier_type": "str",
            "name": "Brown tumour",
            "properties": {
                "url": "http://identifiers.org/umls/C0029405",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 42385,
            "identifier": "N0000190113",
            "identifier_type": "str",
            "name": "Breast Cancer Resistance Protein Inhibitors",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000190113",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Mechanism of Action"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 42386,
            "identifier": "C0018916",
            "identifier_type": "str",
            "name": "Haemangioma",
            "properties": {
                "url": "http://identifiers.org/umls/C0018916",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 42387,
            "identifier": "GO:0004982",
            "identifier_type": "str",
            "name": "N-formyl peptide receptor activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0004982",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 42388,
            "identifier": "3107",
            "identifier_type": "int",
            "name": "HLA-C",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3107",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "major histocompatibility complex, class I, C"
            },
            "metanode": "Gene"
        },
        {
            "id": 42389,
            "identifier": "57796",
            "identifier_type": "int",
            "name": "DKFZP761C1711",
            "properties": {
                "url": "http://identifiers.org/ncbigene/57796",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "description": "uncharacterized protein DKFZp761C1711"
            },
            "metanode": "Gene"
        },
        {
            "id": 42390,
            "identifier": "C0264522",
            "identifier_type": "str",
            "name": "Pneumonia hypostatic",
            "properties": {
                "url": "http://identifiers.org/umls/C0264522",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 42391,
            "identifier": "GO:0008574",
            "identifier_type": "str",
            "name": "ATP-dependent microtubule motor activity, plus-end-directed",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0008574",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 42392,
            "identifier": "DOID:1094",
            "identifier_type": "str",
            "name": "attention deficit hyperactivity disorder",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/DOID_1094",
                "source": "Disease Ontology",
                "license": "CC BY 3.0"
            },
            "metanode": "Disease"
        },
        {
            "id": 42393,
            "identifier": "C0001339",
            "identifier_type": "str",
            "name": "Pancreatitis acute",
            "properties": {
                "url": "http://identifiers.org/umls/C0001339",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 42394,
            "identifier": "GO:0031997",
            "identifier_type": "str",
            "name": "N-terminal myristoylation domain binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0031997",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 42395,
            "identifier": "154743",
            "identifier_type": "int",
            "name": "C7orf60",
            "properties": {
                "url": "http://identifiers.org/ncbigene/154743",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "chromosome 7 open reading frame 60"
            },
            "metanode": "Gene"
        },
        {
            "id": 42396,
            "identifier": "DB06196",
            "identifier_type": "str",
            "name": "Icatibant",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB06196",
                "inchi": "InChI=1S/C59H89N19O13S/c60-37(14-5-19-67-57(61)62)48(82)72-38(15-6-20-68-58(63)64)52(86)75-22-8-18-43(75)54(88)77-30-35(80)26-44(77)50(84)70-28-47(81)71-40(27-36-13-9-23-92-36)49(83)74-41(31-79)53(87)76-29-34-12-2-1-10-32(34)24-46(76)55(89)78-42-17-4-3-11-33(42)25-45(78)51(85)73-39(56(90)91)16-7-21-69-59(65)66/h1-2,9-10,12-13,23,33,35,37-46,79-80H,3-8,11,14-22,24-31,60H2,(H,70,84)(H,71,81)(H,72,82)(H,73,85)(H,74,83)(H,90,91)(H4,61,62,67)(H4,63,64,68)(H4,65,66,69)/t33-,35+,37+,38?,39-,40-,41-,42-,43?,44?,45?,46?/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=QURWXBZNHXJZBE-MCDGZUPGSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 42397,
            "identifier": "GO:0043382",
            "identifier_type": "str",
            "name": "positive regulation of memory T cell differentiation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0043382",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        }
    ]
}