Usage

The /usage route gives an account details about its historic API usage with a daily breakdown for the last 30 days.

Request

GET /usage

Example Response

// /usage

{
  "api_requests": {
    "history": {
      "total": 1000,
      "today": 456,
      "history": {
        "2014-04-18T00:00:00Z": 799,
        "2014-04-19T00:00:00Z": 921,
        "2014-04-20T00:00:00Z": 875,
        "2014-04-21T00:00:00Z": 941,
      }
    },
    "total": 1000,
    "used": 456,
    "remaining": 544
  },
  "partner_api": {
    "history": {
      "total": 100,
      "today": 0,
      "history": {
        "2014-04-18T00:00:00Z": 0,
        "2014-04-19T00:00:00Z": 0,
        "2014-04-20T00:00:00Z": 0,
        "2014-04-21T00:00:00Z": 0,
        ...
      }
    },
    "total": 100,
    "used": 0,
    "remaining": 100
  }
}