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=31625
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=31650",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=31600",
    "results": [
        {
            "id": 31619,
            "identifier": "C0860594",
            "identifier_type": "str",
            "name": "Metastatic malignant melanoma",
            "properties": {
                "url": "http://identifiers.org/umls/C0860594",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 31620,
            "identifier": "105370828",
            "identifier_type": "int",
            "name": "LOC105370828",
            "properties": {
                "url": "http://identifiers.org/ncbigene/105370828",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "15",
                "description": "uncharacterized LOC105370828"
            },
            "metanode": "Gene"
        },
        {
            "id": 31621,
            "identifier": "C0877661",
            "identifier_type": "str",
            "name": "Application site burn",
            "properties": {
                "url": "http://identifiers.org/umls/C0877661",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 31622,
            "identifier": "DB01337",
            "identifier_type": "str",
            "name": "Pancuronium",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01337",
                "inchi": "InChI=1S/C35H60N2O4/c1-24(38)40-32-21-26-13-14-27-28(35(26,4)23-31(32)37(6)19-11-8-12-20-37)15-16-34(3)29(27)22-30(33(34)41-25(2)39)36(5)17-9-7-10-18-36/h26-33H,7-23H2,1-6H3/q+2/t26-,27+,28-,29-,30-,31-,32-,33-,34-,35-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=GVEAYVLWDAFXET-XGHATYIMSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 31623,
            "identifier": "3726",
            "identifier_type": "int",
            "name": "JUNB",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3726",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "jun B proto-oncogene"
            },
            "metanode": "Gene"
        },
        {
            "id": 31624,
            "identifier": "DOID:7148",
            "identifier_type": "str",
            "name": "rheumatoid arthritis",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/DOID_7148",
                "source": "Disease Ontology",
                "license": "CC BY 3.0"
            },
            "metanode": "Disease"
        },
        {
            "id": 31625,
            "identifier": "GO:0006235",
            "identifier_type": "str",
            "name": "dTTP biosynthetic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006235",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 31626,
            "identifier": "GO:0001179",
            "identifier_type": "str",
            "name": "RNA polymerase I transcription factor binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0001179",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 31627,
            "identifier": "GO:0003279",
            "identifier_type": "str",
            "name": "cardiac septum development",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0003279",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 31629,
            "identifier": "344805",
            "identifier_type": "int",
            "name": "TMPRSS7",
            "properties": {
                "url": "http://identifiers.org/ncbigene/344805",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "transmembrane protease, serine 7"
            },
            "metanode": "Gene"
        },
        {
            "id": 31630,
            "identifier": "C0858600",
            "identifier_type": "str",
            "name": "Taste sweet",
            "properties": {
                "url": "http://identifiers.org/umls/C0858600",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 31631,
            "identifier": "4536",
            "identifier_type": "int",
            "name": "ND2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4536",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "MT",
                "description": "MTND2"
            },
            "metanode": "Gene"
        },
        {
            "id": 31632,
            "identifier": "GO:0016254",
            "identifier_type": "str",
            "name": "preassembly of GPI anchor in ER membrane",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016254",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 31633,
            "identifier": "101928058",
            "identifier_type": "int",
            "name": "LOC101928058",
            "properties": {
                "url": "http://identifiers.org/ncbigene/101928058",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "uncharacterized LOC101928058"
            },
            "metanode": "Gene"
        },
        {
            "id": 31634,
            "identifier": "93621",
            "identifier_type": "int",
            "name": "MRFAP1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/93621",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "4",
                "description": "Morf4 family associated protein 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 31635,
            "identifier": "GO:1903281",
            "identifier_type": "str",
            "name": "positive regulation of calcium:sodium antiporter activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1903281",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 31636,
            "identifier": "PC7_4334",
            "identifier_type": "str",
            "name": "HDACs deacetylate histones",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 31637,
            "identifier": "GO:0003198",
            "identifier_type": "str",
            "name": "epithelial to mesenchymal transition involved in endocardial cushion formation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0003198",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 31638,
            "identifier": "388646",
            "identifier_type": "int",
            "name": "GBP7",
            "properties": {
                "url": "http://identifiers.org/ncbigene/388646",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "guanylate binding protein 7"
            },
            "metanode": "Gene"
        },
        {
            "id": 31639,
            "identifier": "148423",
            "identifier_type": "int",
            "name": "C1orf52",
            "properties": {
                "url": "http://identifiers.org/ncbigene/148423",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "chromosome 1 open reading frame 52"
            },
            "metanode": "Gene"
        },
        {
            "id": 31640,
            "identifier": "25970",
            "identifier_type": "int",
            "name": "SH2B1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/25970",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "SH2B adaptor protein 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 31641,
            "identifier": "10300",
            "identifier_type": "int",
            "name": "KATNB1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10300",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "katanin p80 (WD repeat containing) subunit B 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 31642,
            "identifier": "55512",
            "identifier_type": "int",
            "name": "SMPD3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/55512",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "sphingomyelin phosphodiesterase 3, neutral membrane (neutral sphingomyelinase II)"
            },
            "metanode": "Gene"
        },
        {
            "id": 31643,
            "identifier": "DB01436",
            "identifier_type": "str",
            "name": "Alfacalcidol",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01436",
                "inchi": "InChI=1S/C27H44O2/c1-18(2)8-6-9-19(3)24-13-14-25-21(10-7-15-27(24,25)5)11-12-22-16-23(28)17-26(29)20(22)4/h11-12,18-19,23-26,28-29H,4,6-10,13-17H2,1-3,5H3/b21-11+,22-12-/t19-,23-,24-,25+,26+,27-/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=OFHCOWSQAMBJIW-AVJTYSNKSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 31644,
            "identifier": "C0021061",
            "identifier_type": "str",
            "name": "Immunology test",
            "properties": {
                "url": "http://identifiers.org/umls/C0021061",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        }
    ]
}