Access any profile page by providing the username and API key (generated in the settings -> API) , e.g.
https://trackobot.com/profile/history.json?username=cool-ancient-tree-1337&token=fhyf238cv2eh879
Any profile page can be requested as JSON. Simply add .json at the end of the url (but before the query string which starts with ?), see example above.
Use the browser to see the JSON structure. JSONView is an excellent browser extension which shows JSON in a nice way.