It uses OQL to query objects within iTop. It needs user credentials and user must have API permissions.
See Command/iTop