Tools that have both legal and illegal uses have a lot more latitude. Consider TOR was funded by the US government in the first place; they clearly had non-criminal intent in mind.
It's hard to picture a 'legal' use for something that is tied to a proprietary API.