How to return a list of unique visitorids from API

Hello

We used to have direct SQL access to the DB, however since the migration & that access has been revoked I’m finding it difficult to achieve some basic functions using the API.

I would like to return a list of unique visitorids from the API but I can’t see how that is possible with the current set of APIs.

  1. Is it possible?
  2. Could someone explain how to achieve this?

Many thanks for your help in advance.

Adham