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=12400
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=12425",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=12375",
    "results": [
        {
            "id": 12388,
            "identifier": "DB04841",
            "identifier_type": "str",
            "name": "Flunarizine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB04841",
                "inchi": "InChI=1S/C26H26F2N2/c27-24-12-8-22(9-13-24)26(23-10-14-25(28)15-11-23)30-19-17-29(18-20-30)16-4-7-21-5-2-1-3-6-21/h1-15,26H,16-20H2/b7-4+",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=SMANXXCATUTDDT-QPJJXVBHSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 12389,
            "identifier": "6251",
            "identifier_type": "int",
            "name": "RSU1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6251",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "10",
                "description": "Ras suppressor protein 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 12390,
            "identifier": "64780",
            "identifier_type": "int",
            "name": "MICAL1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/64780",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "microtubule associated monooxygenase, calponin and LIM domain containing 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 12426,
            "identifier": "GO:0005663",
            "identifier_type": "str",
            "name": "DNA replication factor C complex",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0005663",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 12391,
            "identifier": "DB00412",
            "identifier_type": "str",
            "name": "Rosiglitazone",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00412",
                "inchi": "InChI=1/C18H19N3O3S/c1-21(16-4-2-3-9-19-16)10-11-24-14-7-5-13(6-8-14)12-15-17(22)20-18(23)25-15/h2-9,15H,10-12H2,1H3,(H,20,22,23)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=YASAKCUCGLMORW-UHFFFAOYNA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 12392,
            "identifier": "79822",
            "identifier_type": "int",
            "name": "ARHGAP28",
            "properties": {
                "url": "http://identifiers.org/ncbigene/79822",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "18",
                "description": "Rho GTPase activating protein 28"
            },
            "metanode": "Gene"
        },
        {
            "id": 12393,
            "identifier": "100526772",
            "identifier_type": "int",
            "name": "TMEM110-MUSTN1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/100526772",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "TMEM110-MUSTN1 readthrough"
            },
            "metanode": "Gene"
        },
        {
            "id": 12394,
            "identifier": "GO:0044324",
            "identifier_type": "str",
            "name": "regulation of transcription involved in anterior/posterior axis specification",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0044324",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12395,
            "identifier": "827",
            "identifier_type": "int",
            "name": "CAPN6",
            "properties": {
                "url": "http://identifiers.org/ncbigene/827",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "calpain 6"
            },
            "metanode": "Gene"
        },
        {
            "id": 12396,
            "identifier": "9590",
            "identifier_type": "int",
            "name": "AKAP12",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9590",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "A kinase (PRKA) anchor protein 12"
            },
            "metanode": "Gene"
        },
        {
            "id": 12397,
            "identifier": "C0031256",
            "identifier_type": "str",
            "name": "Petechiae",
            "properties": {
                "url": "http://identifiers.org/umls/C0031256",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 12398,
            "identifier": "GO:0007398",
            "identifier_type": "str",
            "name": "ectoderm development",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0007398",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12399,
            "identifier": "27429",
            "identifier_type": "int",
            "name": "HTRA2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/27429",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "HtrA serine peptidase 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 12400,
            "identifier": "GO:0015949",
            "identifier_type": "str",
            "name": "nucleobase-containing small molecule interconversion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0015949",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12401,
            "identifier": "GO:1900115",
            "identifier_type": "str",
            "name": "extracellular regulation of signal transduction",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1900115",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12402,
            "identifier": "C0347390",
            "identifier_type": "str",
            "name": "Skin papilloma",
            "properties": {
                "url": "http://identifiers.org/umls/C0347390",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 12403,
            "identifier": "C1394290",
            "identifier_type": "str",
            "name": "Cyanotic heart disease",
            "properties": {
                "url": "http://identifiers.org/umls/C1394290",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 12404,
            "identifier": "105372723",
            "identifier_type": "int",
            "name": "LOC105372723",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105372723",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "20",
                "description": "uncharacterized LOC105372723"
            },
            "metanode": "Gene"
        },
        {
            "id": 12405,
            "identifier": "29882",
            "identifier_type": "int",
            "name": "ANAPC2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/29882",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "anaphase promoting complex subunit 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 12406,
            "identifier": "5877",
            "identifier_type": "int",
            "name": "RABIF",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5877",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "RAB interacting factor"
            },
            "metanode": "Gene"
        },
        {
            "id": 12407,
            "identifier": "10272",
            "identifier_type": "int",
            "name": "FSTL3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10272",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "follistatin-like 3 (secreted glycoprotein)"
            },
            "metanode": "Gene"
        },
        {
            "id": 12408,
            "identifier": "GO:0002583",
            "identifier_type": "str",
            "name": "regulation of antigen processing and presentation of peptide antigen",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0002583",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 12409,
            "identifier": "90850",
            "identifier_type": "int",
            "name": "ZNF598",
            "properties": {
                "url": "http://identifiers.org/ncbigene/90850",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "zinc finger protein 598"
            },
            "metanode": "Gene"
        },
        {
            "id": 12410,
            "identifier": "GO:0034681",
            "identifier_type": "str",
            "name": "integrin alpha11-beta1 complex",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0034681",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 12411,
            "identifier": "143941",
            "identifier_type": "int",
            "name": "TTC36",
            "properties": {
                "url": "http://identifiers.org/ncbigene/143941",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "tetratricopeptide repeat domain 36"
            },
            "metanode": "Gene"
        }
    ]
}