The government has developed an App where you can bring up information about the beaches in Spain, varying from the kind of sand you will find there, services available, where the nearest hospital is, the weather forecast and exact location with GPS coordinates. To name just a few examples.
Or download the App for Apple or Android devices from their respective stores. It’s free and the name is Guia de Playas MAGRAMA.
Footnote on the website: “The contents shown in this Guide do not presuppose compliance with legally established environmental quality objectives, nor any other related to the use of the beaches and their waters. Their purposes are exclusively for informational and informative purposes of the Spanish Beach Heritage”.