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=31900
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=31925",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=31875",
    "results": [
        {
            "id": 31894,
            "identifier": "N0000187063",
            "identifier_type": "str",
            "name": "Cytochrome P450 2C8 Inducers",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000187063",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Mechanism of Action"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 31895,
            "identifier": "C0857322",
            "identifier_type": "str",
            "name": "Anemic",
            "properties": {
                "url": "http://identifiers.org/umls/C0857322",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 31896,
            "identifier": "390190",
            "identifier_type": "int",
            "name": "OR5B2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/390190",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "olfactory receptor, family 5, subfamily B, member 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 31897,
            "identifier": "PC7_2651",
            "identifier_type": "str",
            "name": "Cobalamin (Cbl, vitamin B12) transport and metabolism",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 31898,
            "identifier": "158586",
            "identifier_type": "int",
            "name": "ZXDB",
            "properties": {
                "url": "http://identifiers.org/ncbigene/158586",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "zinc finger, X-linked, duplicated B"
            },
            "metanode": "Gene"
        },
        {
            "id": 31899,
            "identifier": "401993",
            "identifier_type": "int",
            "name": "OR2T5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/401993",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "olfactory receptor, family 2, subfamily T, member 5"
            },
            "metanode": "Gene"
        },
        {
            "id": 31900,
            "identifier": "GO:0005248",
            "identifier_type": "str",
            "name": "voltage-gated sodium channel activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0005248",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 31901,
            "identifier": "90070",
            "identifier_type": "int",
            "name": "LACRT",
            "properties": {
                "url": "http://identifiers.org/ncbigene/90070",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "12",
                "description": "lacritin"
            },
            "metanode": "Gene"
        },
        {
            "id": 31902,
            "identifier": "29855",
            "identifier_type": "int",
            "name": "UBN1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/29855",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "ubinuclein 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 31903,
            "identifier": "5834",
            "identifier_type": "int",
            "name": "PYGB",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5834",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "20",
                "description": "phosphorylase, glycogen; brain"
            },
            "metanode": "Gene"
        },
        {
            "id": 31904,
            "identifier": "10245",
            "identifier_type": "int",
            "name": "TIMM17B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/10245",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "X",
                "description": "translocase of inner mitochondrial membrane 17 homolog B (yeast)"
            },
            "metanode": "Gene"
        },
        {
            "id": 31905,
            "identifier": "C0233973",
            "identifier_type": "str",
            "name": "Painful erection",
            "properties": {
                "url": "http://identifiers.org/umls/C0233973",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 31906,
            "identifier": "221895",
            "identifier_type": "int",
            "name": "JAZF1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/221895",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "JAZF zinc finger 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 31907,
            "identifier": "4207",
            "identifier_type": "int",
            "name": "MEF2BNB-MEF2B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/4207",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "MEF2BNB-MEF2B readthrough"
            },
            "metanode": "Gene"
        },
        {
            "id": 31908,
            "identifier": "GO:0051213",
            "identifier_type": "str",
            "name": "dioxygenase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051213",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 31909,
            "identifier": "84513",
            "identifier_type": "int",
            "name": "PPAPDC1B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/84513",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "phosphatidic acid phosphatase type 2 domain containing 1B"
            },
            "metanode": "Gene"
        },
        {
            "id": 31910,
            "identifier": "GO:0016668",
            "identifier_type": "str",
            "name": "oxidoreductase activity, acting on a sulfur group of donors, NAD(P) as acceptor",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016668",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 31911,
            "identifier": "GO:1990050",
            "identifier_type": "str",
            "name": "phosphatidic acid transporter activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1990050",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 31912,
            "identifier": "339906",
            "identifier_type": "int",
            "name": "PRSS42",
            "properties": {
                "url": "http://identifiers.org/ncbigene/339906",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "protease, serine, 42"
            },
            "metanode": "Gene"
        },
        {
            "id": 31913,
            "identifier": "GO:0072182",
            "identifier_type": "str",
            "name": "regulation of nephron tubule epithelial cell differentiation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0072182",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 31914,
            "identifier": "6532",
            "identifier_type": "int",
            "name": "SLC6A4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6532",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "solute carrier family 6 (neurotransmitter transporter), member 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 31915,
            "identifier": "C0747979",
            "identifier_type": "str",
            "name": "Increased prolactin level",
            "properties": {
                "url": "http://identifiers.org/umls/C0747979",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 31916,
            "identifier": "PC7_8349",
            "identifier_type": "str",
            "name": "Transport of connexons to the plasma membrane",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 31917,
            "identifier": "1364",
            "identifier_type": "int",
            "name": "CLDN4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/1364",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "claudin 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 31919,
            "identifier": "D020177",
            "identifier_type": "str",
            "name": "Hypersomnolence, Idiopathic",
            "properties": {
                "url": "http://identifiers.org/mesh/D020177",
                "source": "MeSH",
                "license": "CC0 1.0"
            },
            "metanode": "Symptom"
        }
    ]
}