Under mut'a , it is possible to be 'married' for as little as half an hour. No legal definition of prostitution in the Penal Code. But it is illegal to live off the earnings of prostitution. Police regularly harass prostitutes. Researchers on AIDS and prostitution report that any woman who is single and has multiple male sex partners is considered to be a prostitute, whether or not money changes hands.
Prostitution is legal, regarded as a matter of privacy.
Exploitation and pimping are illegal. Local councils decide when and where to prosecute. In most cities, soliciting is forbidden. Prostitution businesses operate in a free-market situation. The businesses and the prostitutes have to pay taxes.