In conclusion, our developed ABCAP score, incorporating Altered Mental Status, BUN, Cancer, Albumin and Pulse as key variables, has demonstrated strong predictive performance in assessing the 30-day in-hospital mortality risk for older patients with UGIB. Here, ALB is linked to cancer.