api calls for vis