The CircleCI API is a RESTful, fully-featured API that allows you to do almost anything in CircleCI. You can access all information and trigger all actions. The only thing we don’t provide access to is billing functions, which must be done from the CircleCI web UI.
curl \ # append ?circle-token=$API_KEY to the URL \ https://circleci.com/api/v1/me
curl \ # append ?circle-token=$API_KEY to the URL \ https://circleci.com/api/v1/projects
curl \ # append ?circle-token=$API_KEY to the URL \ https://circleci.com/api/v1/recent-builds