The Spanish legislation on reproductive matters indicates the following:
Born children have the right by themselves or by their legal representatives to obtain general information about the donors that does not include their identity. The same right corresponds to the receptors of the gametes and pre-embryos.
Therefore, yes, it is permitted to obtain information as long as it is of a general nature and does not include personal, contact or identity data.
Suggested for you: Regulations governing egg and sperm donation in Spain.