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=2975
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=3000",
    "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2950",
    "results": [
        {
            "id": 2961,
            "identifier": "DOID:0050156",
            "identifier_type": "str",
            "name": "idiopathic pulmonary fibrosis",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/DOID_0050156",
                "source": "Disease Ontology",
                "license": "CC BY 3.0"
            },
            "metanode": "Disease"
        },
        {
            "id": 2962,
            "identifier": "PC7_4444",
            "identifier_type": "str",
            "name": "Heme degradation",
            "properties": {
                "source": "Reactome via Pathway Commons",
                "license": "CC BY 4.0"
            },
            "metanode": "Pathway"
        },
        {
            "id": 2963,
            "identifier": "GO:0051879",
            "identifier_type": "str",
            "name": "Hsp90 protein binding",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0051879",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 2964,
            "identifier": "GO:0006942",
            "identifier_type": "str",
            "name": "regulation of striated muscle contraction",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006942",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 2965,
            "identifier": "GO:0055093",
            "identifier_type": "str",
            "name": "response to hyperoxia",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0055093",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 2966,
            "identifier": "100507607",
            "identifier_type": "int",
            "name": "NPIPB9",
            "properties": {
                "url": "http://identifiers.org/ncbigene/100507607",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "16",
                "description": "nuclear pore complex interacting protein family, member B9"
            },
            "metanode": "Gene"
        },
        {
            "id": 2967,
            "identifier": "GO:0015410",
            "identifier_type": "str",
            "name": "manganese-transporting ATPase activity",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0015410",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Molecular Function"
        },
        {
            "id": 2968,
            "identifier": "29928",
            "identifier_type": "int",
            "name": "TIMM22",
            "properties": {
                "url": "http://identifiers.org/ncbigene/29928",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "17",
                "description": "translocase of inner mitochondrial membrane 22 homolog (yeast)"
            },
            "metanode": "Gene"
        },
        {
            "id": 2969,
            "identifier": "DB00430",
            "identifier_type": "str",
            "name": "Cefpiramide",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00430",
                "inchi": "InChI=1S/C25H24N8O7S2/c1-11-7-16(35)15(8-26-11)20(36)27-17(12-3-5-14(34)6-4-12)21(37)28-18-22(38)33-19(24(39)40)13(9-41-23(18)33)10-42-25-29-30-31-32(25)2/h3-8,17-18,23,34H,9-10H2,1-2H3,(H,26,35)(H,27,36)(H,28,37)(H,39,40)/t17-,18-,23-/m1/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=PWAUCHMQEXVFJR-PMAPCBKXSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 2970,
            "identifier": "51593",
            "identifier_type": "int",
            "name": "SRRT",
            "properties": {
                "url": "http://identifiers.org/ncbigene/51593",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "7",
                "description": "serrate, RNA effector molecule"
            },
            "metanode": "Gene"
        },
        {
            "id": 2971,
            "identifier": "GO:0009048",
            "identifier_type": "str",
            "name": "dosage compensation by inactivation of X chromosome",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0009048",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 2972,
            "identifier": "GO:0032366",
            "identifier_type": "str",
            "name": "intracellular sterol transport",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0032366",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 2973,
            "identifier": "C0877009",
            "identifier_type": "str",
            "name": "Muscle fibrosis",
            "properties": {
                "url": "http://identifiers.org/umls/C0877009",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 2974,
            "identifier": "C1735630",
            "identifier_type": "str",
            "name": "Acute cholestatic hepatitis",
            "properties": {
                "url": "http://identifiers.org/umls/C1735630",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 2975,
            "identifier": "23762",
            "identifier_type": "int",
            "name": "OSBP2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/23762",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "22",
                "description": "oxysterol binding protein 2"
            },
            "metanode": "Gene"
        },
        {
            "id": 2976,
            "identifier": "8120",
            "identifier_type": "int",
            "name": "AP3B2",
            "properties": {
                "url": "http://identifiers.org/ncbigene/8120",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "15",
                "description": "adaptor-related protein complex 3, beta 2 subunit"
            },
            "metanode": "Gene"
        },
        {
            "id": 2977,
            "identifier": "N0000000236",
            "identifier_type": "str",
            "name": "Alkylating Activity",
            "properties": {
                "url": "http://purl.bioontology.org/ontology/NDFRT/N0000000236",
                "source": "FDA via DrugCentral",
                "license": "CC BY 4.0",
                "class_type": "Mechanism of Action"
            },
            "metanode": "Pharmacologic Class"
        },
        {
            "id": 2978,
            "identifier": "GO:0006216",
            "identifier_type": "str",
            "name": "cytidine catabolic process",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0006216",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 2979,
            "identifier": "93109",
            "identifier_type": "int",
            "name": "TMEM44",
            "properties": {
                "url": "http://identifiers.org/ncbigene/93109",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "3",
                "description": "transmembrane protein 44"
            },
            "metanode": "Gene"
        },
        {
            "id": 2980,
            "identifier": "DB00158",
            "identifier_type": "str",
            "name": "Folic Acid",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00158",
                "inchi": "InChI=1S/C19H19N7O6/c20-19-25-15-14(17(30)26-19)23-11(8-22-15)7-21-10-3-1-9(2-4-10)16(29)24-12(18(31)32)5-6-13(27)28/h1-4,8,12,21H,5-7H2,(H,24,29)(H,27,28)(H,31,32)(H3,20,22,25,26,30)/t12-/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=OVBPIULPVIDEAO-LBPRGKRZSA-N"
            },
            "metanode": "Compound"
        },
        {
            "id": 2981,
            "identifier": "GO:0043303",
            "identifier_type": "str",
            "name": "mast cell degranulation",
            "properties": {
                "url": "http://purl.obolibrary.org/obo/GO_0043303",
                "source": "Gene Ontology",
                "license": "CC BY 4.0"
            },
            "metanode": "Biological Process"
        },
        {
            "id": 2982,
            "identifier": "6621",
            "identifier_type": "int",
            "name": "SNAPC4",
            "properties": {
                "url": "http://identifiers.org/ncbigene/6621",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "9",
                "description": "small nuclear RNA activating complex, polypeptide 4, 190kDa"
            },
            "metanode": "Gene"
        },
        {
            "id": 2983,
            "identifier": "C0410198",
            "identifier_type": "str",
            "name": "Proximal myopathy",
            "properties": {
                "url": "http://identifiers.org/umls/C0410198",
                "source": "UMLS via SIDER 4.1",
                "license": "CC BY-NC-SA 4.0"
            },
            "metanode": "Side Effect"
        },
        {
            "id": 2984,
            "identifier": "257062",
            "identifier_type": "int",
            "name": "CATSPERD",
            "properties": {
                "url": "http://identifiers.org/ncbigene/257062",
                "source": "Entrez Gene",
                "license": "CC0 1.0",
                "chromosome": "19",
                "description": "catsper channel auxiliary subunit delta"
            },
            "metanode": "Gene"
        },
        {
            "id": 2985,
            "identifier": "DB00652",
            "identifier_type": "str",
            "name": "Pentazocine",
            "properties": {
                "url": "http://www.drugbank.ca/drugs/DB00652",
                "inchi": "InChI=1S/C19H27NO/c1-13(2)7-9-20-10-8-19(4)14(3)18(20)11-15-5-6-16(21)12-17(15)19/h5-7,12,14,18,21H,8-11H2,1-4H3/t14-,18+,19+/m0/s1",
                "source": "DrugBank",
                "license": "CC BY-NC 4.0",
                "inchikey": "InChIKey=VOKSWYLNZZRQPF-GDIGMMSISA-N"
            },
            "metanode": "Compound"
        }
    ]
}