In many countries, including the US and UK, online betting is perfectly legal as long as the operator holds a valid license from a recognized gambling authority.