Heroku Deployment, Starting advanced queries, API