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=10150
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=10175",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=10125",
    "results": [
        {
            "id": 10139,
            "identifier": "C0236048",
            "identifier_type": "str",
            "name": "Gastric polyps",
            "properties": {
                "url": "http://identifiers.org/umls/C0236048",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 10140,
            "identifier": "N0000167094",
            "identifier_type": "str",
            "name": "Benzothiazoles",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000167094",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Chemical/Ingredient"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 10141,
            "identifier": "C0152063",
            "identifier_type": "str",
            "name": "Streptobacillary fever",
            "properties": {
                "url": "http://identifiers.org/umls/C0152063",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 10142,
            "identifier": "C0276253",
            "identifier_type": "str",
            "name": "Pneumonia cytomegaloviral",
            "properties": {
                "url": "http://identifiers.org/umls/C0276253",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 10143,
            "identifier": "DB01009",
            "identifier_type": "str",
            "name": "Ketoprofen",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01009",
                "inchi": "InChI=1S/C16H14O3/c1-11(16(18)19)13-8-5-9-14(10-13)15(17)12-6-3-2-4-7-12/h2-11H,1H3,(H,18,19)",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=DKYWVDODHFEZIM-UHFFFAOYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 10144,
            "identifier": "66008",
            "identifier_type": "int",
            "name": "TRAK2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/66008",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "trafficking protein, kinesin binding 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 10145,
            "identifier": "23151",
            "identifier_type": "int",
            "name": "GRAMD4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/23151",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "22",
                "description": "GRAM domain containing 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 10146,
            "identifier": "7637",
            "identifier_type": "int",
            "name": "ZNF84",
            "properties": {
                "url": "http://identifiers.org/ncbigene/7637",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "12",
                "description": "zinc finger protein 84"
            },
            "metanode": "Gene"
        },
        {
            "id": 10147,
            "identifier": "GO:0031060",
            "identifier_type": "str",
            "name": "regulation of histone methylation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0031060",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 10148,
            "identifier": "GO:0032280",
            "identifier_type": "str",
            "name": "symmetric synapse",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0032280",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 10149,
            "identifier": "92610",
            "identifier_type": "int",
            "name": "TIFA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/92610",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "4",
                "description": "TRAF-interacting protein with forkhead-associated domain"
            },
            "metanode": "Gene"
        },
        {
            "id": 10150,
            "identifier": "DB01222",
            "identifier_type": "str",
            "name": "Budesonide",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01222",
                "inchi": "InChI=1S/C25H34O6/c1-4-5-21-30-20-11-17-16-7-6-14-10-15(27)8-9-23(14,2)22(16)18(28)12-24(17,3)25(20,31-21)19(29)13-26/h8-10,16-18,20-22,26,28H,4-7,11-13H2,1-3H3/t16-,17-,18-,20+,21?,22+,23-,24-,25+/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=VOVIALXJUBGFJZ-KWVAZRHASA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 10151,
            "identifier": "253982",
            "identifier_type": "int",
            "name": "ASPHD1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/253982",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "aspartate beta-hydroxylase domain containing 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 10152,
            "identifier": "GO:0045199",
            "identifier_type": "str",
            "name": "maintenance of epithelial cell apical/basal polarity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0045199",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 10153,
            "identifier": "165082",
            "identifier_type": "int",
            "name": "ADGRF3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/165082",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "adhesion G protein-coupled receptor F3"
            },
            "metanode": "Gene"
        },
        {
            "id": 10154,
            "identifier": "GO:0075136",
            "identifier_type": "str",
            "name": "response to host",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0075136",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 10155,
            "identifier": "GO:0021849",
            "identifier_type": "str",
            "name": "neuroblast division in subventricular zone",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0021849",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 10156,
            "identifier": "256435",
            "identifier_type": "int",
            "name": "ST6GALNAC3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/256435",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "ST6 (alpha-N-acetyl-neuraminyl-2,3-beta-galactosyl-1,3)-N-acetylgalactosaminide alpha-2,6-sialyltransferase 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 10157,
            "identifier": "570",
            "identifier_type": "int",
            "name": "BAAT",
            "properties": {
                "url": "http://identifiers.org/ncbigene/570",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "bile acid CoA:amino acid N-acyltransferase"
            },
            "metanode": "Gene"
        },
        {
            "id": 10158,
            "identifier": "9333",
            "identifier_type": "int",
            "name": "TGM5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9333",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "15",
                "description": "transglutaminase 5"
            },
            "metanode": "Gene"
        },
        {
            "id": 10159,
            "identifier": "PC7_6881",
            "identifier_type": "str",
            "name": "Regulation of DNA replication",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 10160,
            "identifier": "GO:0032768",
            "identifier_type": "str",
            "name": "regulation of monooxygenase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0032768",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 10161,
            "identifier": "203259",
            "identifier_type": "int",
            "name": "FAM219A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/203259",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "family with sequence similarity 219, member A"
            },
            "metanode": "Gene"
        },
        {
            "id": 10162,
            "identifier": "374462",
            "identifier_type": "int",
            "name": "PTPRQ",
            "properties": {
                "url": "http://identifiers.org/ncbigene/374462",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "12",
                "description": "protein tyrosine phosphatase, receptor type, Q"
            },
            "metanode": "Gene"
        },
        {
            "id": 10163,
            "identifier": "PC7_6507",
            "identifier_type": "str",
            "name": "Plasma membrane estrogen receptor signaling",
            "properties": {
                "source": "PID via Pathway Commons",
                "license": "CC0 1.0"
            },
            "metanode": "Pathway"
        }
    ]
}