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=24375
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=24400",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=24350",
    "results": [
        {
            "id": 24369,
            "identifier": "C0006277",
            "identifier_type": "str",
            "name": "Bronchitis",
            "properties": {
                "url": "http://identifiers.org/umls/C0006277",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 24370,
            "identifier": "2561",
            "identifier_type": "int",
            "name": "GABRB2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2561",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "gamma-aminobutyric acid (GABA) A receptor, beta 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 24371,
            "identifier": "11196",
            "identifier_type": "int",
            "name": "SEC23IP",
            "properties": {
                "url": "http://identifiers.org/ncbigene/11196",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "10",
                "description": "SEC23 interacting protein"
            },
            "metanode": "Gene"
        },
        {
            "id": 24372,
            "identifier": "C0022672",
            "identifier_type": "str",
            "name": "Nephrosis lower nephron",
            "properties": {
                "url": "http://identifiers.org/umls/C0022672",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 24373,
            "identifier": "GO:0098507",
            "identifier_type": "str",
            "name": "polynucleotide 5' dephosphorylation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0098507",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 24374,
            "identifier": "GO:0016004",
            "identifier_type": "str",
            "name": "phospholipase activator activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016004",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 24375,
            "identifier": "5030",
            "identifier_type": "int",
            "name": "P2RY4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5030",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "pyrimidinergic receptor P2Y, G-protein coupled, 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 24376,
            "identifier": "10922",
            "identifier_type": "int",
            "name": "FASTK",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10922",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "Fas-activated serine/threonine kinase"
            },
            "metanode": "Gene"
        },
        {
            "id": 24377,
            "identifier": "55052",
            "identifier_type": "int",
            "name": "MRPL20",
            "properties": {
                "url": "http://identifiers.org/ncbigene/55052",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "mitochondrial ribosomal protein L20"
            },
            "metanode": "Gene"
        },
        {
            "id": 24378,
            "identifier": "347736",
            "identifier_type": "int",
            "name": "NME9",
            "properties": {
                "url": "http://identifiers.org/ncbigene/347736",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "NME/NM23 family member 9"
            },
            "metanode": "Gene"
        },
        {
            "id": 24379,
            "identifier": "102723475",
            "identifier_type": "int",
            "name": "LOC102723475",
            "properties": {
                "url": "http://identifiers.org/ncbigene/102723475",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "21",
                "description": "putative uncharacterized protein LOC388820"
            },
            "metanode": "Gene"
        },
        {
            "id": 24380,
            "identifier": "65998",
            "identifier_type": "int",
            "name": "C11orf95",
            "properties": {
                "url": "http://identifiers.org/ncbigene/65998",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "chromosome 11 open reading frame 95"
            },
            "metanode": "Gene"
        },
        {
            "id": 24381,
            "identifier": "DB01042",
            "identifier_type": "str",
            "name": "Melphalan",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01042",
                "inchi": "InChI=1S/C13H18Cl2N2O2/c14-5-7-17(8-6-15)11-3-1-10(2-4-11)9-12(16)13(18)19/h1-4,12H,5-9,16H2,(H,18,19)/t12-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=SGDBTWWWUNNDEQ-LBPRGKRZSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 24382,
            "identifier": "GO:0005766",
            "identifier_type": "str",
            "name": "primary lysosome",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0005766",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 24383,
            "identifier": "23125",
            "identifier_type": "int",
            "name": "CAMTA2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/23125",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "calmodulin binding transcription activator 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 24384,
            "identifier": "DB04552",
            "identifier_type": "str",
            "name": "Niflumic Acid",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB04552",
                "inchi": "InChI=1S/C13H9F3N2O2/c14-13(15,16)8-3-1-4-9(7-8)18-11-10(12(19)20)5-2-6-17-11/h1-7H,(H,17,18)(H,19,20)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=JZFPYUNJRRFVQU-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 24385,
            "identifier": "GO:0031752",
            "identifier_type": "str",
            "name": "D5 dopamine receptor binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0031752",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 24386,
            "identifier": "N0000175970",
            "identifier_type": "str",
            "name": "Increased Platelet Production",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175970",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Physiologic Effect"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 24387,
            "identifier": "GO:0038063",
            "identifier_type": "str",
            "name": "collagen-activated tyrosine kinase receptor signaling pathway",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0038063",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 24388,
            "identifier": "56006",
            "identifier_type": "int",
            "name": "SMG9",
            "properties": {
                "url": "http://identifiers.org/ncbigene/56006",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "SMG9 nonsense mediated mRNA decay factor"
            },
            "metanode": "Gene"
        },
        {
            "id": 24389,
            "identifier": "DB01069",
            "identifier_type": "str",
            "name": "Promethazine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01069",
                "inchi": "InChI=1S/C17H20N2S/c1-13(18(2)3)12-19-14-8-4-6-10-16(14)20-17-11-7-5-9-15(17)19/h4-11,13H,12H2,1-3H3",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=PWWVAXIEGOYWEE-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 24390,
            "identifier": "GO:0009374",
            "identifier_type": "str",
            "name": "biotin binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0009374",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 24391,
            "identifier": "79411",
            "identifier_type": "int",
            "name": "GLB1L",
            "properties": {
                "url": "http://identifiers.org/ncbigene/79411",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "galactosidase, beta 1-like"
            },
            "metanode": "Gene"
        },
        {
            "id": 24392,
            "identifier": "105376153",
            "identifier_type": "int",
            "name": "LOC105376153",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105376153",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "uncharacterized LOC105376153"
            },
            "metanode": "Gene"
        },
        {
            "id": 24393,
            "identifier": "131616",
            "identifier_type": "int",
            "name": "TMEM42",
            "properties": {
                "url": "http://identifiers.org/ncbigene/131616",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "transmembrane protein 42"
            },
            "metanode": "Gene"
        }
    ]
}