api for acharts