Use the Visitor Privacy API to query visitor profile records from the Customer Data Hub.
Visitors are returned as JSON objects.
The Visitor Privacy API allows you to retrieve known data about a specific visitor, delete a visitor record, and check the status of a delete request.