diff --git a/lib/api/github.js b/lib/api/github.js
index 5b05466e356c8a773356219e4d21b920e0067b9e..08a7c31f61184cd5b2ae33e920713210fe3c0346 100644
--- a/lib/api/github.js
+++ b/lib/api/github.js
@@ -5,6 +5,7 @@ const config = {};
 
 module.exports = {
   initRepo,
+  getRateLimit,
   // Search
   findFilePaths,
   // Branch
@@ -62,6 +63,13 @@ function initRepo(repoName) {
   }
 }
 
+// Get rate limit
+function getRateLimit() {
+  logger.info('getRateLimit');
+  return ghGot('rate_limit')
+  .then(res => res.body);
+}
+
 // Search
 
 // Returns an array of file paths in current repo matching the fileName
diff --git a/lib/index.js b/lib/index.js
index fffc1d4451cfda87342acafac8e2539086b946a8..cc68b6c42720375ba32d8f6b7667a922d20193fb 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -79,8 +79,11 @@ function start() {
   }
 
   // Process all promises
-  p.then(() => { // eslint-disable-line promise/always-return
+  p
+  .then(github.getRateLimit)
+  .then((rateLimit) => { // eslint-disable-line promise/always-return
     logger.info('Renovate finished');
+    logger.debug(JSON.stringify(rateLimit));
   })
   .catch((error) => {
     logger.error(`Unexpected error: ${error}`);