ilo API v1

The ilo v1 API lets you access some of your Twitter analytics programmatically.

v2 of the API is in development and will let you access data for all of your connected accounts.

Endpoint

There is currently only one endpoint available.

GET https://api.ilo.so/v1/stats/USERNAME/

With this endpoint you can get total and daily stats from your account.

Options

history (default 7): define how many days of data to return.

Example request

GET https://api.ilo.so/v1/stats/dr/?history=30

This will get 30 days of history for the @dr account.

Example response

  {
  "followers": 9521,
  "following": null, // deprecated since 17th September 2024
  "tweets": 8144,
  "followers_total_daily": [
    {
      "2021-02-19": 9376
    },
    {
      "2021-02-20": 9414
    },
    {
      "2021-02-21": 9448
    },
    {
      "2021-02-22": 9460
    },
    {
      "2021-02-23": 9486
    },
    {
      "2021-02-24": 9505
    },
    {
      "2021-02-25": 9521
    }
  ],
  "following_total_daily": [],
  "tweets_total_daily": [
    {
      "2021-02-19": 8085
    },
    {
      "2021-02-20": 8096
    },
    {
      "2021-02-21": 8099
    },
    {
      "2021-02-22": 8110
    },
    {
      "2021-02-23": 8118
    },
    {
      "2021-02-24": 8127
    },
    {
      "2021-02-25": 8144
    }
  ],
  "followers_daily": [
    {
      "2021-02-19": 13
    },
    {
      "2021-02-20": 38
    },
    {
      "2021-02-21": 34
    },
    {
      "2021-02-22": 12
    },
    {
      "2021-02-23": 26
    },
    {
      "2021-02-24": 19
    },
    {
      "2021-02-25": 16
    }
  ],
  "following_daily": [],
  "tweets_daily": [
    {
      "2021-02-19": 13
    },
    {
      "2021-02-20": 11
    },
    {
      "2021-02-21": 3
    },
    {
      "2021-02-22": 11
    },
    {
      "2021-02-23": 8
    },
    {
      "2021-02-24": 9
    },
    {
      "2021-02-25": 17
    }
  ]
}