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=37200
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=37225",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=37175",
    "results": [
        {
            "id": 37193,
            "identifier": "GO:0072350",
            "identifier_type": "str",
            "name": "tricarboxylic acid metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0072350",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37194,
            "identifier": "GO:0099536",
            "identifier_type": "str",
            "name": "synaptic signaling",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0099536",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37195,
            "identifier": "2779",
            "identifier_type": "int",
            "name": "GNAT1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2779",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "guanine nucleotide binding protein (G protein), alpha transducing activity polypeptide 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 37196,
            "identifier": "D009058",
            "identifier_type": "str",
            "name": "Mouth Breathing",
            "properties": {
                "url": "http://identifiers.org/mesh/D009058",
                "source": "MeSH",
                "license": "CC0 1.0"
            },
            "metanode": "Symptom"
        },
        {
            "id": 37197,
            "identifier": "79875",
            "identifier_type": "int",
            "name": "THSD4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/79875",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "15",
                "description": "thrombospondin, type I, domain containing 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 37198,
            "identifier": "121278",
            "identifier_type": "int",
            "name": "TPH2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/121278",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "12",
                "description": "tryptophan hydroxylase 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 37199,
            "identifier": "GO:0006311",
            "identifier_type": "str",
            "name": "meiotic gene conversion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006311",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37200,
            "identifier": "DB00319",
            "identifier_type": "str",
            "name": "Piperacillin",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00319",
                "inchi": "InChI=1S/C23H27N5O7S/c1-4-26-10-11-27(19(32)18(26)31)22(35)25-13(12-8-6-5-7-9-12)16(29)24-14-17(30)28-15(21(33)34)23(2,3)36-20(14)28/h5-9,13-15,20H,4,10-11H2,1-3H3,(H,24,29)(H,25,35)(H,33,34)/t13-,14-,15+,20-/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=IVBHGBMCVLDMKU-GXNBUGAJSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 37201,
            "identifier": "144811",
            "identifier_type": "int",
            "name": "LACC1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/144811",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "laccase (multicopper oxidoreductase) domain containing 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 37202,
            "identifier": "55270",
            "identifier_type": "int",
            "name": "NUDT15",
            "properties": {
                "url": "http://identifiers.org/ncbigene/55270",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "nudix (nucleoside diphosphate linked moiety X)-type motif 15"
            },
            "metanode": "Gene"
        },
        {
            "id": 37203,
            "identifier": "GO:0051345",
            "identifier_type": "str",
            "name": "positive regulation of hydrolase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051345",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37204,
            "identifier": "285231",
            "identifier_type": "int",
            "name": "FBXW12",
            "properties": {
                "url": "http://identifiers.org/ncbigene/285231",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "F-box and WD repeat domain containing 12"
            },
            "metanode": "Gene"
        },
        {
            "id": 37205,
            "identifier": "C0034079",
            "identifier_type": "str",
            "name": "Lung nodule",
            "properties": {
                "url": "http://identifiers.org/umls/C0034079",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37206,
            "identifier": "GO:0070126",
            "identifier_type": "str",
            "name": "mitochondrial translational termination",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070126",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37207,
            "identifier": "C0221773",
            "identifier_type": "str",
            "name": "Hyperamylasaemia",
            "properties": {
                "url": "http://identifiers.org/umls/C0221773",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37208,
            "identifier": "C0005398",
            "identifier_type": "str",
            "name": "Cholestasis extrahepatic",
            "properties": {
                "url": "http://identifiers.org/umls/C0005398",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37209,
            "identifier": "C0151994",
            "identifier_type": "str",
            "name": "Uterine enlargement",
            "properties": {
                "url": "http://identifiers.org/umls/C0151994",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37210,
            "identifier": "GO:0071559",
            "identifier_type": "str",
            "name": "response to transforming growth factor beta",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0071559",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 37211,
            "identifier": "C0032231",
            "identifier_type": "str",
            "name": "Pleurisy",
            "properties": {
                "url": "http://identifiers.org/umls/C0032231",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37212,
            "identifier": "C0013221",
            "identifier_type": "str",
            "name": "Drug toxicity",
            "properties": {
                "url": "http://identifiers.org/umls/C0013221",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 37213,
            "identifier": "79501",
            "identifier_type": "int",
            "name": "OR4F5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/79501",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "olfactory receptor, family 4, subfamily F, member 5"
            },
            "metanode": "Gene"
        },
        {
            "id": 37214,
            "identifier": "N0000009963",
            "identifier_type": "str",
            "name": "Thrombin Inhibitors",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000009963",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Mechanism of Action"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 37215,
            "identifier": "762",
            "identifier_type": "int",
            "name": "CA4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/762",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "carbonic anhydrase IV"
            },
            "metanode": "Gene"
        },
        {
            "id": 37216,
            "identifier": "9883",
            "identifier_type": "int",
            "name": "POM121",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9883",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "POM121 transmembrane nucleoporin"
            },
            "metanode": "Gene"
        },
        {
            "id": 37217,
            "identifier": "202052",
            "identifier_type": "int",
            "name": "DNAJC18",
            "properties": {
                "url": "http://identifiers.org/ncbigene/202052",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "DnaJ (Hsp40) homolog, subfamily C, member 18"
            },
            "metanode": "Gene"
        }
    ]
}