What if service isn't discontinued, but merely suspended?
What if the company goes out of business? What if it's purchased, and becomes a different legal entity?
What if the service is discontinued as the result of a legal action?
What if the API depends on some proprietary technology?