Docker Hub API (Automated Builds)

Is there an HTTP API to get the status of an automated build from Docker Hub?

I’m having the same problem as I need to check the docker hub build’s status from codeship.
If you any solution please let’s me know that would be really appreciate.