Links
Comment on page

Get usage

You can programmatically get your account usage information using this API.
Please note that the response of this API is cached internally and refreshes every 6 hours.
get
https://api.imagekit.io
/v1/accounts/usage
Get account usage information

Examples

Get usage between 2023-04-01 and 2023-03-01.
cURL
curl -X GET "https://api.imagekit.io/v1/accounts/usage?startDate=2023-04-01&endDate=2023-03-01" \
-H 'Content-Type: application/json' \
-u your_private_key: