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=15800
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=15825",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=15775",
    "results": [
        {
            "id": 15790,
            "identifier": "DB08996",
            "identifier_type": "str",
            "name": "Dimetacrine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB08996",
                "inchi": "InChI=1S/C20H26N2/c1-20(2)16-10-5-7-12-18(16)22(15-9-14-21(3)4)19-13-8-6-11-17(19)20/h5-8,10-13H,9,14-15H2,1-4H3",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=RYQOGSFEJBUZBX-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 15791,
            "identifier": "GO:0044752",
            "identifier_type": "str",
            "name": "response to human chorionic gonadotropin",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0044752",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15792,
            "identifier": "C0002884",
            "identifier_type": "str",
            "name": "Hypochromic anaemia",
            "properties": {
                "url": "http://identifiers.org/umls/C0002884",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 15793,
            "identifier": "128209",
            "identifier_type": "int",
            "name": "KLF17",
            "properties": {
                "url": "http://identifiers.org/ncbigene/128209",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "Kruppel-like factor 17"
            },
            "metanode": "Gene"
        },
        {
            "id": 15794,
            "identifier": "3416",
            "identifier_type": "int",
            "name": "IDE",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3416",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "10",
                "description": "insulin-degrading enzyme"
            },
            "metanode": "Gene"
        },
        {
            "id": 15795,
            "identifier": "GO:0016312",
            "identifier_type": "str",
            "name": "inositol bisphosphate phosphatase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016312",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 15796,
            "identifier": "105372731",
            "identifier_type": "int",
            "name": "LOC105372731",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105372731",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "21",
                "description": "CMT1A duplicated region transcript 15 protein-like protein"
            },
            "metanode": "Gene"
        },
        {
            "id": 15797,
            "identifier": "GO:0001917",
            "identifier_type": "str",
            "name": "photoreceptor inner segment",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0001917",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 15798,
            "identifier": "5885",
            "identifier_type": "int",
            "name": "RAD21",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5885",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "RAD21 homolog (S. pombe)"
            },
            "metanode": "Gene"
        },
        {
            "id": 15799,
            "identifier": "10280",
            "identifier_type": "int",
            "name": "SIGMAR1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10280",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "sigma non-opioid intracellular receptor 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 15800,
            "identifier": "DOID:3121",
            "identifier_type": "str",
            "name": "gallbladder cancer",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/DOID_3121",
                "source": "Disease Ontology",
                "license": "CC BY 3.0"
            },
            "metanode": "Disease"
        },
        {
            "id": 15801,
            "identifier": "GO:0006686",
            "identifier_type": "str",
            "name": "sphingomyelin biosynthetic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006686",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15802,
            "identifier": "PC7_6143",
            "identifier_type": "str",
            "name": "PERK regulates gene expression",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 15803,
            "identifier": "154796",
            "identifier_type": "int",
            "name": "AMOT",
            "properties": {
                "url": "http://identifiers.org/ncbigene/154796",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "angiomotin"
            },
            "metanode": "Gene"
        },
        {
            "id": 15804,
            "identifier": "DB00836",
            "identifier_type": "str",
            "name": "Loperamide",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00836",
                "inchi": "InChI=1S/C29H33ClN2O2/c1-31(2)27(33)29(24-9-5-3-6-10-24,25-11-7-4-8-12-25)19-22-32-20-17-28(34,18-21-32)23-13-15-26(30)16-14-23/h3-16,34H,17-22H2,1-2H3",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=RDOIQAHITMMDAJ-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 15805,
            "identifier": "DB06695",
            "identifier_type": "str",
            "name": "Dabigatran etexilate",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB06695",
                "inchi": "InChI=1S/C34H41N7O5/c1-4-6-7-10-21-46-34(44)39-32(35)24-12-15-26(16-13-24)37-23-30-38-27-22-25(14-17-28(27)40(30)3)33(43)41(20-18-31(42)45-5-2)29-11-8-9-19-36-29/h8-9,11-17,19,22,37H,4-7,10,18,20-21,23H2,1-3H3,(H2,35,39,44)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=KSGXQBZTULBEEQ-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 15806,
            "identifier": "84692",
            "identifier_type": "int",
            "name": "CCDC54",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84692",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "coiled-coil domain containing 54"
            },
            "metanode": "Gene"
        },
        {
            "id": 15807,
            "identifier": "30844",
            "identifier_type": "int",
            "name": "EHD4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/30844",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "15",
                "description": "EH-domain containing 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 15808,
            "identifier": "6583",
            "identifier_type": "int",
            "name": "SLC22A4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6583",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "solute carrier family 22 (organic cation/zwitterion transporter), member 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 15809,
            "identifier": "D001836",
            "identifier_type": "str",
            "name": "Body Weight Changes",
            "properties": {
                "url": "http://identifiers.org/mesh/D001836",
                "source": "MeSH",
                "license": "CC0 1.0"
            },
            "metanode": "Symptom"
        },
        {
            "id": 15810,
            "identifier": "56605",
            "identifier_type": "int",
            "name": "ERO1LB",
            "properties": {
                "url": "http://identifiers.org/ncbigene/56605",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "ERO1-like beta (S. cerevisiae)"
            },
            "metanode": "Gene"
        },
        {
            "id": 15811,
            "identifier": "GO:0034367",
            "identifier_type": "str",
            "name": "macromolecular complex remodeling",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0034367",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15812,
            "identifier": "388336",
            "identifier_type": "int",
            "name": "SHISA6",
            "properties": {
                "url": "http://identifiers.org/ncbigene/388336",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "shisa family member 6"
            },
            "metanode": "Gene"
        },
        {
            "id": 15813,
            "identifier": "GO:1903363",
            "identifier_type": "str",
            "name": "negative regulation of cellular protein catabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1903363",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 15814,
            "identifier": "GO:0070255",
            "identifier_type": "str",
            "name": "regulation of mucus secretion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070255",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        }
    ]
}