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=21975
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=22000",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=21950",
    "results": [
        {
            "id": 21966,
            "identifier": "5959",
            "identifier_type": "int",
            "name": "RDH5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5959",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "12",
                "description": "retinol dehydrogenase 5 (11-cis/9-cis)"
            },
            "metanode": "Gene"
        },
        {
            "id": 21967,
            "identifier": "GO:2001273",
            "identifier_type": "str",
            "name": "regulation of glucose import in response to insulin stimulus",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_2001273",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21968,
            "identifier": "GO:0070213",
            "identifier_type": "str",
            "name": "protein auto-ADP-ribosylation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070213",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21969,
            "identifier": "391253",
            "identifier_type": "int",
            "name": "SPINT4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/391253",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "20",
                "description": "serine peptidase inhibitor, Kunitz type 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 21970,
            "identifier": "375611",
            "identifier_type": "int",
            "name": "SLC26A5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/375611",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "solute carrier family 26 (anion exchanger), member 5"
            },
            "metanode": "Gene"
        },
        {
            "id": 21971,
            "identifier": "4316",
            "identifier_type": "int",
            "name": "MMP7",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4316",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "matrix metallopeptidase 7"
            },
            "metanode": "Gene"
        },
        {
            "id": 21972,
            "identifier": "PC7_4482",
            "identifier_type": "str",
            "name": "Histidine catabolism",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 21973,
            "identifier": "GO:0042100",
            "identifier_type": "str",
            "name": "B cell proliferation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0042100",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21974,
            "identifier": "126295",
            "identifier_type": "int",
            "name": "ZNF57",
            "properties": {
                "url": "http://identifiers.org/ncbigene/126295",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "zinc finger protein 57"
            },
            "metanode": "Gene"
        },
        {
            "id": 21975,
            "identifier": "DB01147",
            "identifier_type": "str",
            "name": "Cloxacillin",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01147",
                "inchi": "InChI=1S/C19H18ClN3O5S/c1-8-11(12(22-28-8)9-6-4-5-7-10(9)20)15(24)21-13-16(25)23-14(18(26)27)19(2,3)29-17(13)23/h4-7,13-14,17H,1-3H3,(H,21,24)(H,26,27)/t13-,14+,17-/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=LQOLIRLGBULYKD-JKIFEVAISA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 21976,
            "identifier": "C0039239",
            "identifier_type": "str",
            "name": "Sinus tachycardia",
            "properties": {
                "url": "http://identifiers.org/umls/C0039239",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 21977,
            "identifier": "6769",
            "identifier_type": "int",
            "name": "STAC",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6769",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "SH3 and cysteine rich domain"
            },
            "metanode": "Gene"
        },
        {
            "id": 21978,
            "identifier": "C0854114",
            "identifier_type": "str",
            "name": "Corneal epithelium defect",
            "properties": {
                "url": "http://identifiers.org/umls/C0854114",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 21979,
            "identifier": "C1963718",
            "identifier_type": "str",
            "name": "Oculorespiratory syndrome",
            "properties": {
                "url": "http://identifiers.org/umls/C1963718",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 21980,
            "identifier": "GO:0098535",
            "identifier_type": "str",
            "name": "de novo centriole assembly",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0098535",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21981,
            "identifier": "GO:0071265",
            "identifier_type": "str",
            "name": "L-methionine biosynthetic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0071265",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21982,
            "identifier": "1473",
            "identifier_type": "int",
            "name": "CST5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/1473",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "20",
                "description": "cystatin D"
            },
            "metanode": "Gene"
        },
        {
            "id": 21983,
            "identifier": "GO:0045041",
            "identifier_type": "str",
            "name": "protein import into mitochondrial intermembrane space",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0045041",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21984,
            "identifier": "UBERON:0001647",
            "identifier_type": "str",
            "name": "facial nerve",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/UBERON_0001647",
                "source": "Uberon",
                "license": "CC BY 3.0",
                "mesh_id": "D005154"
            },
            "metanode": "Anatomy"
        },
        {
            "id": 21985,
            "identifier": "GO:0044245",
            "identifier_type": "str",
            "name": "polysaccharide digestion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0044245",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21986,
            "identifier": "100130361",
            "identifier_type": "int",
            "name": "CXorf49",
            "properties": {
                "url": "http://identifiers.org/ncbigene/100130361",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "chromosome X open reading frame 49"
            },
            "metanode": "Gene"
        },
        {
            "id": 21987,
            "identifier": "58489",
            "identifier_type": "int",
            "name": "ABHD17C",
            "properties": {
                "url": "http://identifiers.org/ncbigene/58489",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "15",
                "description": "abhydrolase domain containing 17C"
            },
            "metanode": "Gene"
        },
        {
            "id": 21988,
            "identifier": "2299",
            "identifier_type": "int",
            "name": "FOXI1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2299",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "forkhead box I1"
            },
            "metanode": "Gene"
        },
        {
            "id": 21989,
            "identifier": "GO:1900425",
            "identifier_type": "str",
            "name": "negative regulation of defense response to bacterium",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1900425",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21990,
            "identifier": "GO:0045623",
            "identifier_type": "str",
            "name": "negative regulation of T-helper cell differentiation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0045623",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        }
    ]
}