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=21725
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=21750",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=21700",
    "results": [
        {
            "id": 21716,
            "identifier": "GO:0006287",
            "identifier_type": "str",
            "name": "base-excision repair, gap-filling",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006287",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21717,
            "identifier": "GO:0072275",
            "identifier_type": "str",
            "name": "metanephric glomerulus morphogenesis",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0072275",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21718,
            "identifier": "3080",
            "identifier_type": "int",
            "name": "CFHR2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/3080",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "complement factor H-related 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 21719,
            "identifier": "PC7_4207",
            "identifier_type": "str",
            "name": "Glucose metabolism",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 21720,
            "identifier": "83658",
            "identifier_type": "int",
            "name": "DYNLRB1",
            "properties": {
                "url": "http://identifiers.org/ncbigene/83658",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "20",
                "description": "dynein, light chain, roadblock-type 1"
            },
            "metanode": "Gene"
        },
        {
            "id": 21721,
            "identifier": "80304",
            "identifier_type": "int",
            "name": "C2orf44",
            "properties": {
                "url": "http://identifiers.org/ncbigene/80304",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "2",
                "description": "chromosome 2 open reading frame 44"
            },
            "metanode": "Gene"
        },
        {
            "id": 21722,
            "identifier": "GO:0051352",
            "identifier_type": "str",
            "name": "negative regulation of ligase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051352",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21723,
            "identifier": "5549",
            "identifier_type": "int",
            "name": "PRELP",
            "properties": {
                "url": "http://identifiers.org/ncbigene/5549",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "proline/arginine-rich end leucine-rich repeat protein"
            },
            "metanode": "Gene"
        },
        {
            "id": 21724,
            "identifier": "8357",
            "identifier_type": "int",
            "name": "HIST1H3H",
            "properties": {
                "url": "http://identifiers.org/ncbigene/8357",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "6",
                "description": "histone cluster 1, H3h"
            },
            "metanode": "Gene"
        },
        {
            "id": 21725,
            "identifier": "GO:0034766",
            "identifier_type": "str",
            "name": "negative regulation of ion transmembrane transport",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0034766",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21726,
            "identifier": "90522",
            "identifier_type": "int",
            "name": "YIF1B",
            "properties": {
                "url": "http://identifiers.org/ncbigene/90522",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "Yip1 interacting factor homolog B (S. cerevisiae)"
            },
            "metanode": "Gene"
        },
        {
            "id": 21727,
            "identifier": "D006315",
            "identifier_type": "str",
            "name": "Hearing Loss, Functional",
            "properties": {
                "url": "http://identifiers.org/mesh/D006315",
                "source": "MeSH",
                "license": "CC0 1.0"
            },
            "metanode": "Symptom"
        },
        {
            "id": 21728,
            "identifier": "23644",
            "identifier_type": "int",
            "name": "EDC4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/23644",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "enhancer of mRNA decapping 4"
            },
            "metanode": "Gene"
        },
        {
            "id": 21729,
            "identifier": "163223",
            "identifier_type": "int",
            "name": "ZNF676",
            "properties": {
                "url": "http://identifiers.org/ncbigene/163223",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "zinc finger protein 676"
            },
            "metanode": "Gene"
        },
        {
            "id": 21730,
            "identifier": "DB04876",
            "identifier_type": "str",
            "name": "Vildagliptin",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB04876",
                "inchi": "InChI=1S/C17H25N3O2/c18-9-14-2-1-3-20(14)15(21)10-19-16-5-12-4-13(6-16)8-17(22,7-12)11-16/h12-14,19,22H,1-8,10-11H2/t12?,13?,14-,16?,17?/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=SYOKIDBDQMKNDQ-XWTIBIIYSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 21731,
            "identifier": "DB00295",
            "identifier_type": "str",
            "name": "Morphine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00295",
                "inchi": "InChI=1S/C17H19NO3/c1-18-7-6-17-10-3-5-13(20)16(17)21-15-12(19)4-2-9(14(15)17)8-11(10)18/h2-5,10-11,13,16,19-20H,6-8H2,1H3/t10-,11+,13-,16-,17-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=BQJCRHHNABKAKU-KBQPJGBKSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 21732,
            "identifier": "DOID:1192",
            "identifier_type": "str",
            "name": "peripheral nervous system neoplasm",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/DOID_1192",
                "source": "Disease Ontology",
                "license": "CC BY 3.0"
            },
            "metanode": "Disease"
        },
        {
            "id": 21733,
            "identifier": "6503",
            "identifier_type": "int",
            "name": "SLA",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6503",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "Src-like-adaptor"
            },
            "metanode": "Gene"
        },
        {
            "id": 21734,
            "identifier": "C0014858",
            "identifier_type": "str",
            "name": "Oesophageal motility disorder",
            "properties": {
                "url": "http://identifiers.org/umls/C0014858",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 21735,
            "identifier": "7015",
            "identifier_type": "int",
            "name": "TERT",
            "properties": {
                "url": "http://identifiers.org/ncbigene/7015",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "5",
                "description": "telomerase reverse transcriptase"
            },
            "metanode": "Gene"
        },
        {
            "id": 21736,
            "identifier": "UBERON:0003889",
            "identifier_type": "str",
            "name": "fallopian tube",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/UBERON_0003889",
                "source": "Uberon",
                "license": "CC BY 3.0",
                "mesh_id": "D005187"
            },
            "metanode": "Anatomy"
        },
        {
            "id": 21737,
            "identifier": "GO:0071229",
            "identifier_type": "str",
            "name": "cellular response to acid chemical",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0071229",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 21738,
            "identifier": "9826",
            "identifier_type": "int",
            "name": "ARHGEF11",
            "properties": {
                "url": "http://identifiers.org/ncbigene/9826",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "1",
                "description": "Rho guanine nucleotide exchange factor (GEF) 11"
            },
            "metanode": "Gene"
        },
        {
            "id": 21739,
            "identifier": "51101",
            "identifier_type": "int",
            "name": "ZC2HC1A",
            "properties": {
                "url": "http://identifiers.org/ncbigene/51101",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "8",
                "description": "zinc finger, C2HC-type containing 1A"
            },
            "metanode": "Gene"
        },
        {
            "id": 21740,
            "identifier": "GO:0005104",
            "identifier_type": "str",
            "name": "fibroblast growth factor receptor binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0005104",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        }
    ]
}