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=4525
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=4550",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=4500",
    "results": [
        {
            "id": 4510,
            "identifier": "105379702",
            "identifier_type": "int",
            "name": "LOC105379702",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105379702",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "ice-structuring glycoprotein-like"
            },
            "metanode": "Gene"
        },
        {
            "id": 4511,
            "identifier": "GO:0031415",
            "identifier_type": "str",
            "name": "NatA complex",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0031415",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 4512,
            "identifier": "4093",
            "identifier_type": "int",
            "name": "SMAD9",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4093",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "SMAD family member 9"
            },
            "metanode": "Gene"
        },
        {
            "id": 4513,
            "identifier": "58526",
            "identifier_type": "int",
            "name": "MID1IP1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/58526",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "MID1 interacting protein 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 4514,
            "identifier": "317754",
            "identifier_type": "int",
            "name": "POTED",
            "properties": {
                "url": "http://identifiers.org/ncbigene/317754",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "21",
                "description": "POTE ankyrin domain family, member D"
            },
            "metanode": "Gene"
        },
        {
            "id": 4515,
            "identifier": "728042",
            "identifier_type": "int",
            "name": "CT47A9",
            "properties": {
                "url": "http://identifiers.org/ncbigene/728042",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "cancer/testis antigen family 47, member A9"
            },
            "metanode": "Gene"
        },
        {
            "id": 4516,
            "identifier": "DB00781",
            "identifier_type": "str",
            "name": "Polymyxin B Sulfate",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00781",
                "inchi": "InChI=1S/C56H98N16O13/c1-7-32(4)13-11-12-16-44(75)63-36(17-23-57)51(80)72-46(34(6)74)56(85)68-39(20-26-60)48(77)67-41-22-28-62-55(84)45(33(5)73)71-52(81)40(21-27-61)65-47(76)37(18-24-58)66-53(82)42(29-31(2)3)69-54(83)43(30-35-14-9-8-10-15-35)70-49(78)38(19-25-59)64-50(41)79/h8-10,14-15,31-34,36-43,45-46,73-74H,7,11-13,16-30,57-61H2,1-6H3,(H,62,84)(H,63,75)(H,64,79)(H,65,76)(H,66,82)(H,67,77)(H,68,85)(H,69,83)(H,70,78)(H,71,81)(H,72,80)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=WQVJHHACXVLGBL-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 4517,
            "identifier": "122704",
            "identifier_type": "int",
            "name": "MRPL52",
            "properties": {
                "url": "http://identifiers.org/ncbigene/122704",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "14",
                "description": "mitochondrial ribosomal protein L52"
            },
            "metanode": "Gene"
        },
        {
            "id": 4518,
            "identifier": "284076",
            "identifier_type": "int",
            "name": "TTLL6",
            "properties": {
                "url": "http://identifiers.org/ncbigene/284076",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "tubulin tyrosine ligase-like family member 6"
            },
            "metanode": "Gene"
        },
        {
            "id": 4519,
            "identifier": "2322",
            "identifier_type": "int",
            "name": "FLT3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2322",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "fms-related tyrosine kinase 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 4520,
            "identifier": "11085",
            "identifier_type": "int",
            "name": "ADAM30",
            "properties": {
                "url": "http://identifiers.org/ncbigene/11085",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "ADAM metallopeptidase domain 30"
            },
            "metanode": "Gene"
        },
        {
            "id": 4521,
            "identifier": "C0948521",
            "identifier_type": "str",
            "name": "Oral pruritus",
            "properties": {
                "url": "http://identifiers.org/umls/C0948521",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 4522,
            "identifier": "GO:1904417",
            "identifier_type": "str",
            "name": "positive regulation of xenophagy",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1904417",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 4523,
            "identifier": "391712",
            "identifier_type": "int",
            "name": "TRIM61",
            "properties": {
                "url": "http://identifiers.org/ncbigene/391712",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "4",
                "description": "tripartite motif containing 61"
            },
            "metanode": "Gene"
        },
        {
            "id": 4524,
            "identifier": "C0520539",
            "identifier_type": "str",
            "name": "Hypertensive episode",
            "properties": {
                "url": "http://identifiers.org/umls/C0520539",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 4525,
            "identifier": "4791",
            "identifier_type": "int",
            "name": "NFKB2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4791",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "10",
                "description": "nuclear factor of kappa light polypeptide gene enhancer in B-cells 2 (p49/p100)"
            },
            "metanode": "Gene"
        },
        {
            "id": 4529,
            "identifier": "GO:0006968",
            "identifier_type": "str",
            "name": "cellular defense response",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006968",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 4530,
            "identifier": "GO:0090084",
            "identifier_type": "str",
            "name": "negative regulation of inclusion body assembly",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0090084",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 4531,
            "identifier": "7372",
            "identifier_type": "int",
            "name": "UMPS",
            "properties": {
                "url": "http://identifiers.org/ncbigene/7372",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "uridine monophosphate synthetase"
            },
            "metanode": "Gene"
        },
        {
            "id": 4532,
            "identifier": "C0267373",
            "identifier_type": "str",
            "name": "Intestinal haemorrhage",
            "properties": {
                "url": "http://identifiers.org/umls/C0267373",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 4533,
            "identifier": "DB01579",
            "identifier_type": "str",
            "name": "Phendimetrazine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01579",
                "inchi": "InChI=1S/C12H17NO/c1-10-12(14-9-8-13(10)2)11-6-4-3-5-7-11/h3-7,10,12H,8-9H2,1-2H3",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=MFOCDFTXLCYLKU-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 4534,
            "identifier": "148534",
            "identifier_type": "int",
            "name": "TMEM56",
            "properties": {
                "url": "http://identifiers.org/ncbigene/148534",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "transmembrane protein 56"
            },
            "metanode": "Gene"
        },
        {
            "id": 4535,
            "identifier": "1948",
            "identifier_type": "int",
            "name": "EFNB2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/1948",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "ephrin-B2"
            },
            "metanode": "Gene"
        },
        {
            "id": 4536,
            "identifier": "GO:0051393",
            "identifier_type": "str",
            "name": "alpha-actinin binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051393",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 4537,
            "identifier": "131377",
            "identifier_type": "int",
            "name": "KLHL40",
            "properties": {
                "url": "http://identifiers.org/ncbigene/131377",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "kelch-like family member 40"
            },
            "metanode": "Gene"
        }
    ]
}