I built a social media analytics API. At its peak, it brought in about $23k/mo, with server costs at about $3k/mo. When I got a job at Instagram, they decided it was a conflict of interest and told me to sell it, which I did for a very healthy six figure sum.