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=21525
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=21550",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=21500",
    "results": [
        {
            "id": 21516,
            "identifier": "GO:0007588",
            "identifier_type": "str",
            "name": "excretion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0007588",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21517,
            "identifier": "158471",
            "identifier_type": "int",
            "name": "PRUNE2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/158471",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "prune homolog 2 (Drosophila)"
            },
            "metanode": "Gene"
        },
        {
            "id": 21518,
            "identifier": "3250",
            "identifier_type": "int",
            "name": "HPR",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3250",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "haptoglobin-related protein"
            },
            "metanode": "Gene"
        },
        {
            "id": 21519,
            "identifier": "DB00760",
            "identifier_type": "str",
            "name": "Meropenem",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00760",
                "inchi": "InChI=1S/C17H25N3O5S/c1-7-12-11(8(2)21)16(23)20(12)13(17(24)25)14(7)26-9-5-10(18-6-9)15(22)19(3)4/h7-12,18,21H,5-6H2,1-4H3,(H,24,25)/t7-,8-,9+,10+,11-,12-/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=DMJNNHOOLUXYBV-PQTSNVLCSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 21520,
            "identifier": "6295",
            "identifier_type": "int",
            "name": "SAG",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6295",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "S-antigen; retina and pineal gland (arrestin)"
            },
            "metanode": "Gene"
        },
        {
            "id": 21521,
            "identifier": "C0239521",
            "identifier_type": "str",
            "name": "Facial rash",
            "properties": {
                "url": "http://identifiers.org/umls/C0239521",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 21522,
            "identifier": "283489",
            "identifier_type": "int",
            "name": "CHAMP1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/283489",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "chromosome alignment maintaining phosphoprotein 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 21523,
            "identifier": "10242",
            "identifier_type": "int",
            "name": "KCNMB2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10242",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "potassium channel subfamily M regulatory beta subunit 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 21524,
            "identifier": "51645",
            "identifier_type": "int",
            "name": "PPIL1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/51645",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "peptidylprolyl isomerase (cyclophilin)-like 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 21525,
            "identifier": "GO:0051052",
            "identifier_type": "str",
            "name": "regulation of DNA metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051052",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21526,
            "identifier": "913",
            "identifier_type": "int",
            "name": "CD1E",
            "properties": {
                "url": "http://identifiers.org/ncbigene/913",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "CD1e molecule"
            },
            "metanode": "Gene"
        },
        {
            "id": 21527,
            "identifier": "4204",
            "identifier_type": "int",
            "name": "MECP2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4204",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "methyl CpG binding protein 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 21528,
            "identifier": "WP138_r79958",
            "identifier_type": "str",
            "name": "Androgen receptor signaling pathway",
            "properties": {
                "url": "http://www.wikipathways.org/instance/WP138_r79958",
                "source": "WikiPathways",
                "license": "CC BY 3.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 21529,
            "identifier": "PC7_8625",
            "identifier_type": "str",
            "name": "Ubiquitin Mediated Degradation of Phosphorylated Cdc25A",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 21530,
            "identifier": "93273",
            "identifier_type": "int",
            "name": "LEMD1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/93273",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "LEM domain containing 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 21531,
            "identifier": "GO:1990441",
            "identifier_type": "str",
            "name": "negative regulation of transcription from RNA polymerase II promoter in response to endoplasmic reticulum stress",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1990441",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21532,
            "identifier": "6529",
            "identifier_type": "int",
            "name": "SLC6A1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6529",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "solute carrier family 6 (neurotransmitter transporter), member 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 21533,
            "identifier": "C0404521",
            "identifier_type": "str",
            "name": "Vaginal infection",
            "properties": {
                "url": "http://identifiers.org/umls/C0404521",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 21534,
            "identifier": "GO:1900027",
            "identifier_type": "str",
            "name": "regulation of ruffle assembly",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1900027",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21535,
            "identifier": "1361",
            "identifier_type": "int",
            "name": "CPB2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/1361",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "13",
                "description": "carboxypeptidase B2 (plasma)"
            },
            "metanode": "Gene"
        },
        {
            "id": 21536,
            "identifier": "9868",
            "identifier_type": "int",
            "name": "TOMM70A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9868",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "translocase of outer mitochondrial membrane 70 homolog A (S. cerevisiae)"
            },
            "metanode": "Gene"
        },
        {
            "id": 21537,
            "identifier": "GO:0051344",
            "identifier_type": "str",
            "name": "negative regulation of cyclic-nucleotide phosphodiesterase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051344",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21538,
            "identifier": "GO:0072355",
            "identifier_type": "str",
            "name": "histone H3-T3 phosphorylation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0072355",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21539,
            "identifier": "GO:0005742",
            "identifier_type": "str",
            "name": "mitochondrial outer membrane translocase complex",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0005742",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        },
        {
            "id": 21540,
            "identifier": "GO:0044308",
            "identifier_type": "str",
            "name": "axonal spine",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0044308",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Cellular Component"
        }
    ]
}