Skip to main content

Are Cloudinary APIs rate-limited?

Comments

6 comments

  • Andrew Hayhurst

    Could you please elaborate on how API requests are counted?

    0
  • Zachary Gould

    Andrew, each separate request to the API is counted as 1 request. For example, if you wanted to get your resources in your cloud by utilizing the 'Resources' method. This would count as 1 request.  

    cloudinary.v2.api
    .resources(
      { type: 'upload', max_results: 30 })
    .then(result=>console.log(result));
    0
  • Katrine Ren

    Hi Team,

    Is the video handled in the same way as image with the same APIs rules?

    Cheers,

    Katrine

    0
  • Zachary Gould

    Hey Katrine, 

    Videos and images will count the same as far as API rules and costs. Videos will count for higher transformation costs. 

    • Animated images (e.g. GIF)- 1 transformation, plus an additional transformation for every 10 frames.
    • Animated images to video - Every 5 frames = 1 transformation.
    • Multi-page PDF assets - 1 transformation plus an additional transformation for every 10 pages.
    • SD Video - 1 second = 2 transformations
    • HD Video - 1 second = 4 transformations (Frame contains over 921,600 of total pixels, e.g., 1920 x 1080)
    • Audio - 1 second = 0.1 transformations
    0
  • Katrine Ren

    Hi Zachary,

    Regarding the costs you listed below, are they the costs of per API request?

    Cheers,

    Katrine

    0
  • Zachary Gould

    Katrine, 

    No, just transformations. This can be accomplished via the API but does not count toward the rate limit referenced in the article above.

    0

Please sign in to leave a comment.