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=19900
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=19925",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=19875",
    "results": [
        {
            "id": 19889,
            "identifier": "GO:0016818",
            "identifier_type": "str",
            "name": "hydrolase activity, acting on acid anhydrides, in phosphorus-containing anhydrides",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0016818",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 19890,
            "identifier": "GO:0006233",
            "identifier_type": "str",
            "name": "dTDP biosynthetic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006233",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 19891,
            "identifier": "GO:0051791",
            "identifier_type": "str",
            "name": "medium-chain fatty acid metabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051791",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 19892,
            "identifier": "219995",
            "identifier_type": "int",
            "name": "MS4A15",
            "properties": {
                "url": "http://identifiers.org/ncbigene/219995",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "11",
                "description": "membrane-spanning 4-domains, subfamily A, member 15"
            },
            "metanode": "Gene"
        },
        {
            "id": 19893,
            "identifier": "57007",
            "identifier_type": "int",
            "name": "ACKR3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/57007",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "atypical chemokine receptor 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 19894,
            "identifier": "C0270075",
            "identifier_type": "str",
            "name": "Unspecified condition originating in the perinatal period",
            "properties": {
                "url": "http://identifiers.org/umls/C0270075",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 19895,
            "identifier": "GO:1904222",
            "identifier_type": "str",
            "name": "positive regulation of serine C-palmitoyltransferase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_1904222",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 19896,
            "identifier": "GO:0004703",
            "identifier_type": "str",
            "name": "G-protein coupled receptor kinase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0004703",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 19897,
            "identifier": "388610",
            "identifier_type": "int",
            "name": "TRNP1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/388610",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "TMF1-regulated nuclear protein 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 19898,
            "identifier": "25950",
            "identifier_type": "int",
            "name": "RWDD3",
            "properties": {
                "url": "http://identifiers.org/ncbigene/25950",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "RWD domain containing 3"
            },
            "metanode": "Gene"
        },
        {
            "id": 19899,
            "identifier": "1673",
            "identifier_type": "int",
            "name": "DEFB4A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/1673",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "defensin, beta 4A"
            },
            "metanode": "Gene"
        },
        {
            "id": 19900,
            "identifier": "GO:0060060",
            "identifier_type": "str",
            "name": "post-embryonic retina morphogenesis in camera-type eye",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0060060",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 19901,
            "identifier": "64127",
            "identifier_type": "int",
            "name": "NOD2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/64127",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "nucleotide-binding oligomerization domain containing 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 19902,
            "identifier": "C0020540",
            "identifier_type": "str",
            "name": "Malignant hypertension",
            "properties": {
                "url": "http://identifiers.org/umls/C0020540",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 19903,
            "identifier": "89872",
            "identifier_type": "int",
            "name": "AQP10",
            "properties": {
                "url": "http://identifiers.org/ncbigene/89872",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "aquaporin 10"
            },
            "metanode": "Gene"
        },
        {
            "id": 19904,
            "identifier": "57150",
            "identifier_type": "int",
            "name": "SMIM8",
            "properties": {
                "url": "http://identifiers.org/ncbigene/57150",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "small integral membrane protein 8"
            },
            "metanode": "Gene"
        },
        {
            "id": 19905,
            "identifier": "DB01208",
            "identifier_type": "str",
            "name": "Sparfloxacin",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB01208",
                "inchi": "InChI=1S/C19H22F2N4O3/c1-8-5-24(6-9(2)23-8)17-13(20)15(22)12-16(14(17)21)25(10-3-4-10)7-11(18(12)26)19(27)28/h7-10,23H,3-6,22H2,1-2H3,(H,27,28)/t8-,9+",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=DZZWHBIBMUVIIW-DTORHVGOSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 19906,
            "identifier": "UBERON:0001533",
            "identifier_type": "str",
            "name": "subclavian artery",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/UBERON_0001533",
                "source": "Uberon",
                "license": "CC BY 3.0",
                "mesh_id": "D013348"
            },
            "metanode": "Anatomy"
        },
        {
            "id": 19907,
            "identifier": "GO:0007271",
            "identifier_type": "str",
            "name": "synaptic transmission, cholinergic",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0007271",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 19908,
            "identifier": "PC7_2441",
            "identifier_type": "str",
            "name": "Calcitonin-like ligand receptors",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 19909,
            "identifier": "131118",
            "identifier_type": "int",
            "name": "DNAJC19",
            "properties": {
                "url": "http://identifiers.org/ncbigene/131118",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "DnaJ (Hsp40) homolog, subfamily C, member 19"
            },
            "metanode": "Gene"
        },
        {
            "id": 19910,
            "identifier": "8793",
            "identifier_type": "int",
            "name": "TNFRSF10D",
            "properties": {
                "url": "http://identifiers.org/ncbigene/8793",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "tumor necrosis factor receptor superfamily, member 10d, decoy with truncated death domain"
            },
            "metanode": "Gene"
        },
        {
            "id": 19911,
            "identifier": "GO:0097577",
            "identifier_type": "str",
            "name": "sequestering of iron ion",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0097577",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 19912,
            "identifier": "81494",
            "identifier_type": "int",
            "name": "CFHR5",
            "properties": {
                "url": "http://identifiers.org/ncbigene/81494",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "complement factor H-related 5"
            },
            "metanode": "Gene"
        },
        {
            "id": 19913,
            "identifier": "2627",
            "identifier_type": "int",
            "name": "GATA6",
            "properties": {
                "url": "http://identifiers.org/ncbigene/2627",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "18",
                "description": "GATA binding protein 6"
            },
            "metanode": "Gene"
        }
    ]
}