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=18725
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=18750",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=18700",
    "results": [
        {
            "id": 18716,
            "identifier": "DB00896",
            "identifier_type": "str",
            "name": "Rimexolone",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00896",
                "inchi": "InChI=1S/C24H34O3/c1-6-20(27)24(5)14(2)11-18-17-8-7-15-12-16(25)9-10-22(15,3)21(17)19(26)13-23(18,24)4/h9-10,12,14,17-19,21,26H,6-8,11,13H2,1-5H3/t14-,17?,18?,19+,21?,22+,23+,24-/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=QTTRZHGPGKRAFB-PAIWTFDUSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 18717,
            "identifier": "GO:0060706",
            "identifier_type": "str",
            "name": "cell differentiation involved in embryonic placenta development",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0060706",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 18718,
            "identifier": "GO:0007191",
            "identifier_type": "str",
            "name": "adenylate cyclase-activating dopamine receptor signaling pathway",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0007191",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 18719,
            "identifier": "55613",
            "identifier_type": "int",
            "name": "MTMR8",
            "properties": {
                "url": "http://identifiers.org/ncbigene/55613",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "myotubularin related protein 8"
            },
            "metanode": "Gene"
        },
        {
            "id": 18720,
            "identifier": "C0032371",
            "identifier_type": "str",
            "name": "Poliomyelitis",
            "properties": {
                "url": "http://identifiers.org/umls/C0032371",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 18721,
            "identifier": "9465",
            "identifier_type": "int",
            "name": "AKAP7",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9465",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "A kinase (PRKA) anchor protein 7"
            },
            "metanode": "Gene"
        },
        {
            "id": 18722,
            "identifier": "102724164",
            "identifier_type": "int",
            "name": "LOC102724164",
            "properties": {
                "url": "http://identifiers.org/ncbigene/102724164",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "uncharacterized LOC102724164"
            },
            "metanode": "Gene"
        },
        {
            "id": 18723,
            "identifier": "GO:0030695",
            "identifier_type": "str",
            "name": "GTPase regulator activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0030695",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 18724,
            "identifier": "100652901",
            "identifier_type": "int",
            "name": "LOC100652901",
            "properties": {
                "url": "http://identifiers.org/ncbigene/100652901",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "22",
                "description": "uncharacterized LOC100652901"
            },
            "metanode": "Gene"
        },
        {
            "id": 18725,
            "identifier": "256144",
            "identifier_type": "int",
            "name": "OR4C3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/256144",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "olfactory receptor, family 4, subfamily C, member 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 18726,
            "identifier": "GO:0035566",
            "identifier_type": "str",
            "name": "regulation of metanephros size",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0035566",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 18727,
            "identifier": "440435",
            "identifier_type": "int",
            "name": "GPR179",
            "properties": {
                "url": "http://identifiers.org/ncbigene/440435",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "G protein-coupled receptor 179"
            },
            "metanode": "Gene"
        },
        {
            "id": 18728,
            "identifier": "728340",
            "identifier_type": "int",
            "name": "GTF2H2C",
            "properties": {
                "url": "http://identifiers.org/ncbigene/728340",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "GTF2H2 family member C"
            },
            "metanode": "Gene"
        },
        {
            "id": 18729,
            "identifier": "GO:0000439",
            "identifier_type": "str",
            "name": "core TFIIH complex",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0000439",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 18730,
            "identifier": "284630",
            "identifier_type": "int",
            "name": "LOC284630",
            "properties": {
                "url": "http://identifiers.org/ncbigene/284630",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "uncharacterized LOC284630"
            },
            "metanode": "Gene"
        },
        {
            "id": 18731,
            "identifier": "GO:0070813",
            "identifier_type": "str",
            "name": "hydrogen sulfide metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070813",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 18732,
            "identifier": "C0853142",
            "identifier_type": "str",
            "name": "CD4 lymphocytes decreased",
            "properties": {
                "url": "http://identifiers.org/umls/C0853142",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 18733,
            "identifier": "100129311",
            "identifier_type": "int",
            "name": "LOC100129311",
            "properties": {
                "url": "http://identifiers.org/ncbigene/100129311",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "21",
                "description": "uncharacterized LOC100129311"
            },
            "metanode": "Gene"
        },
        {
            "id": 18734,
            "identifier": "414059",
            "identifier_type": "int",
            "name": "TBC1D3B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/414059",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "TBC1 domain family, member 3B"
            },
            "metanode": "Gene"
        },
        {
            "id": 18735,
            "identifier": "GO:0003219",
            "identifier_type": "str",
            "name": "cardiac right ventricle formation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0003219",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 18736,
            "identifier": "51271",
            "identifier_type": "int",
            "name": "UBAP1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/51271",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "ubiquitin associated protein 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 18737,
            "identifier": "C0233528",
            "identifier_type": "str",
            "name": "Asocial behaviour",
            "properties": {
                "url": "http://identifiers.org/umls/C0233528",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 18738,
            "identifier": "N0000175542",
            "identifier_type": "str",
            "name": "M2 Protein Inhibitors",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175542",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Mechanism of Action"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 18739,
            "identifier": "GO:0005980",
            "identifier_type": "str",
            "name": "glycogen catabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0005980",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 18740,
            "identifier": "GO:0033087",
            "identifier_type": "str",
            "name": "negative regulation of immature T cell proliferation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0033087",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        }
    ]
}