The function of HSPA5 (heat shock protein family A (Hsp70) member 5, ENSG00000044574) is as follows. Endoplasmic reticulum chaperone that plays a key role in protein folding and quality control in the endoplasmic reticulum lumen (PubMed:2294010, PubMed:23769672, PubMed:23990668, PubMed:28332555). Involved in the correct folding of proteins and degradation of misfolded proteins via its interaction with DNAJC10/ERdj5, probably to facilitate the release of DNAJC10/ERdj5 from its substrate (By similarity). Acts as a key repressor of the EIF2AK3/PERK and ERN1/IRE1- mediated unfolded protein response (UPR) (PubMed:11907036, PubMed:1550958, PubMed:19538957, PubMed:36739529). In the unstressed endoplasmic reticulum, recruited by DNAJB9/ERdj4 to the luminal region of ERN1/IRE1, leading to disrupt the dimerization of ERN1/IRE1, thereby inactivating ERN1/IRE1 (By similarity). Also binds and inactivates EIF2AK3/PERK in unstressed cells (PubMed:11907036). Accumulation of misfolded protein in the endoplasmic reticulum causes release of HSPA5/BiP from ERN1/IRE1 and EIF2AK3/PERK, allowing their homodimerization and subsequent activation (PubMed:11907036). Plays an auxiliary role in post-translational transport of small presecretory proteins across endoplasmic reticulum (ER). May function as an allosteric modulator for SEC61 channel-forming translocon complex, likely cooperating with SEC62 to enable the productive insertion of these precursors into SEC61 channel. Appears to specifically regulate translocation of precursors having inhibitory residues in their mature region that weaken channel gating. May also play a role in apoptosis and cell proliferation (PubMed:26045166). {ECO:0000250|UniProtKB:G3I8R9, ECO:0000250|UniProtKB:P20029, ECO:0000269|PubMed:11907036, ECO:0000269|PubMed:1550958, ECO:0000269|PubMed:19538957, ECO:0000269|PubMed:2294010, ECO:0000269|PubMed:23769672, ECO:0000269|PubMed:23990668, ECO:0000269|PubMed:26045166, ECO:0000269|PubMed:28332555, ECO:0000269|PubMed:29719251, ECO:0000269|PubMed:36739529}. (Microbial infection) Plays an important role in viral binding to the host cell membrane and entry for several flaviruses such as Dengue virus, Zika virus and Japanese encephalitis virus (PubMed:15098107, PubMed:28053106, PubMed:33432092). Acts as a component of the cellular receptor for Dengue virus serotype 2/DENV-2 on human liver cells (PubMed:15098107). {ECO:0000269|PubMed:15098107, ECO:0000269|PubMed:28053106, ECO:0000269|PubMed:33432092}. (Microbial infection) Acts as a receptor for CotH proteins expressed by fungi of the order mucorales, the causative agent of mucormycosis, which plays an important role in epithelial cell invasion by the fungi (PubMed:20484814, PubMed:24355926, PubMed:32487760). Acts as a receptor for R.delemar CotH3 in nasal epithelial cells, which may be an early step in rhinoorbital/cerebral mucormycosis (RCM) disease progression (PubMed:32487760). {ECO:0000269|PubMed:20484814, ECO:0000269|PubMed:24355926, ECO:0000269|PubMed:32487760}.