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=38825
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=38850",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=38800",
    "results": [
        {
            "id": 38824,
            "identifier": "2966",
            "identifier_type": "int",
            "name": "GTF2H2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2966",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "general transcription factor IIH, polypeptide 2, 44kDa"
            },
            "metanode": "Gene"
        },
        {
            "id": 38825,
            "identifier": "DB00545",
            "identifier_type": "str",
            "name": "Pyridostigmine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00545",
                "inchi": "InChI=1S/C9H13N2O2/c1-10(2)9(12)13-8-5-4-6-11(3)7-8/h4-7H,1-3H3/q+1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=RVOLLAQWKVFTGE-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 38826,
            "identifier": "10043",
            "identifier_type": "int",
            "name": "TOM1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10043",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "22",
                "description": "target of myb1 (chicken)"
            },
            "metanode": "Gene"
        },
        {
            "id": 38827,
            "identifier": "DOID:10153",
            "identifier_type": "str",
            "name": "ileum cancer",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/DOID_10153",
                "source": "Disease Ontology",
                "license": "CC BY 3.0"
            },
            "metanode": "Disease"
        },
        {
            "id": 38828,
            "identifier": "C1142492",
            "identifier_type": "str",
            "name": "Postinfarction angina",
            "properties": {
                "url": "http://identifiers.org/umls/C1142492",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 38829,
            "identifier": "GO:0046049",
            "identifier_type": "str",
            "name": "UMP metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0046049",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38830,
            "identifier": "DB00481",
            "identifier_type": "str",
            "name": "Raloxifene",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00481",
                "inchi": "InChI=1S/C28H27NO4S/c30-21-8-4-20(5-9-21)28-26(24-13-10-22(31)18-25(24)34-28)27(32)19-6-11-23(12-7-19)33-17-16-29-14-2-1-3-15-29/h4-13,18,30-31H,1-3,14-17H2",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=GZUITABIAKMVPG-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 38831,
            "identifier": "GO:0070508",
            "identifier_type": "str",
            "name": "cholesterol import",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0070508",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38832,
            "identifier": "C1735646",
            "identifier_type": "str",
            "name": "Rash recurrent",
            "properties": {
                "url": "http://identifiers.org/umls/C1735646",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 38833,
            "identifier": "401546",
            "identifier_type": "int",
            "name": "C9orf152",
            "properties": {
                "url": "http://identifiers.org/ncbigene/401546",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "chromosome 9 open reading frame 152"
            },
            "metanode": "Gene"
        },
        {
            "id": 38834,
            "identifier": "23514",
            "identifier_type": "int",
            "name": "SPIDR",
            "properties": {
                "url": "http://identifiers.org/ncbigene/23514",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "scaffolding protein involved in DNA repair"
            },
            "metanode": "Gene"
        },
        {
            "id": 38835,
            "identifier": "8000",
            "identifier_type": "int",
            "name": "PSCA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/8000",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "prostate stem cell antigen"
            },
            "metanode": "Gene"
        },
        {
            "id": 38836,
            "identifier": "GO:0061630",
            "identifier_type": "str",
            "name": "ubiquitin protein ligase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0061630",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 38837,
            "identifier": "440279",
            "identifier_type": "int",
            "name": "UNC13C",
            "properties": {
                "url": "http://identifiers.org/ncbigene/440279",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "15",
                "description": "unc-13 homolog C (C. elegans)"
            },
            "metanode": "Gene"
        },
        {
            "id": 38838,
            "identifier": "84226",
            "identifier_type": "int",
            "name": "C2orf16",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84226",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "chromosome 2 open reading frame 16"
            },
            "metanode": "Gene"
        },
        {
            "id": 38839,
            "identifier": "105374089",
            "identifier_type": "int",
            "name": "LOC105374089",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105374089",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "uncharacterized LOC105374089"
            },
            "metanode": "Gene"
        },
        {
            "id": 38840,
            "identifier": "C0948425",
            "identifier_type": "str",
            "name": "Large intestinal haemorrhage",
            "properties": {
                "url": "http://identifiers.org/umls/C0948425",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 38841,
            "identifier": "GO:0015842",
            "identifier_type": "str",
            "name": "aminergic neurotransmitter loading into synaptic vesicle",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0015842",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38842,
            "identifier": "6373",
            "identifier_type": "int",
            "name": "CXCL11",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6373",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "4",
                "description": "chemokine (C-X-C motif) ligand 11"
            },
            "metanode": "Gene"
        },
        {
            "id": 38843,
            "identifier": "64902",
            "identifier_type": "int",
            "name": "AGXT2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/64902",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "alanine--glyoxylate aminotransferase 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 38844,
            "identifier": "PC7_4043",
            "identifier_type": "str",
            "name": "GPCR downstream signaling",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 38845,
            "identifier": "54627",
            "identifier_type": "int",
            "name": "MAP10",
            "properties": {
                "url": "http://identifiers.org/ncbigene/54627",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "microtubule-associated protein 10"
            },
            "metanode": "Gene"
        },
        {
            "id": 38846,
            "identifier": "GO:0050902",
            "identifier_type": "str",
            "name": "leukocyte adhesive activation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0050902",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 38847,
            "identifier": "6988",
            "identifier_type": "int",
            "name": "TCTA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6988",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "T-cell leukemia translocation altered"
            },
            "metanode": "Gene"
        },
        {
            "id": 38848,
            "identifier": "79800",
            "identifier_type": "int",
            "name": "CARF",
            "properties": {
                "url": "http://identifiers.org/ncbigene/79800",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "calcium responsive transcription factor"
            },
            "metanode": "Gene"
        }
    ]
}