Patients with type II tumors had a lower NLR and showed a better survival compared to the other groups, indicating that NLR may be related to PD-L1 expression and TILD in the tumor microenvironment in UTUC. Here, CD274 is linked to renal pelvis/ureter urothelial carcinoma.