added api endpoint to readme