If you’re using the Preview API, then unfortunately there will not be a way to actually find the status of each of these items, as this API does not retrieve any property that can help you figure that out.
By default, the Preview API doesn’t return the
sys.publishedAt attribute that could be used to differentiate between publishing statuses.
Instead, you should use the Management API in order to do so, as it will retrieve such attribute and the following could be achieved:
To retrieve published Entries:
To retrieve unpublished Entries:
Another thing to remember is that, in case you only want to retrieve published entries, the Delivery API can also be used for this (i.e. it doesn’t retrieve unpublished entries).