The present invention relates to the field of medical biology, and discloses a high-resolution crystal structure of a complex of PD-L1-blocking heavy-chain single-domain antibody KN035 binding with PD-L1, and the use of the crystal structure. The invention also relates to novel PD-L1 binding polypeptides or compounds developed based on the crystal structure and uses thereof.