The company is also planning to retire its public API.