Differentiate between a nonexistant account and a banned/deleted one

If I wanted to get the channel information of an account that exists using the API, I would get this response:
{'data': [{'id': '23936415', 'login': 'jerma985', 'display_name': 'Jerma985', 'type': '', 'broadcaster_type': 'partner', 'description': 'Just hanging out, you?', 'profile_image_url': 'https://static-cdn.jtvnw.net/jtv_user_pictures/225cee6d-2afc-4e0d-bdeb-ebc863ae9f40-profile_image-300x300.png', 'offline_image_url': 'https://static-cdn.jtvnw.net/jtv_user_pictures/206ea45f-ffa6-4e78-a055-e5a2f2481e9b-channel_offline_image-1920x1080.png', 'view_count': 0, 'created_at': '2011-08-08T05:13:16Z'}]}

If the channel never existed, I would get this response:
{'data': []}

However, if the channel did exist at some point, but was subsequently deleted or banned, I would get the same response as before.
Is there any way to get information of whether an account existed and one point or never did using the API?

No. The API treats a non-existent user the same as a deactivated account, the same as a suspended account, the same as an otherwise reserved/unusable user login, and there’s no supported way to differentiate between them.

Ah, that sucks to hear. Thanks for the response, though!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.