Is swinging legal?

Swinging is 100% legal in Spain. It is protected under the human rights act.

Sex where money exchanges hand is also legal, as long as it is a registered business, but this is prostitution, not swinging. Anyone who asks for money in exchange for sex is not a swinger.