Skip to main content
Question

API Call Limit - Trying to Understand

  • May 16, 2024
  • 1 reply
  • 90 views

dwilburn
Guide III
Forum|alt.badge.img+3

We are setting up to pass some data to another system that does not have a connector available.

If I use and endpoint and the end of the call (page size = 200) returns the following.

    "count": 200,
    "has_more_data": true,
    "cursor": null,
    "current_page": 1,
    "current_page_size": 200,
    "total_page_count": 87,
    "total_count": 17306

Is that 1 call? Or 200 calls?

If it is one, then 87 calls would get my data, but that seems too good to be true.

1 reply

  • Novice I
  • 3 replies
  • October 30, 2024

On the off chance that someone is looking for the same thing in the future:

 

You can define the page length in your call (like you did) and some of the APIs like course/v1/courses/enrollments will return the total number of pages (87 for you). 87 calls should get all of your data.

 

There’s some documentation about the maximum number of calls to the API in a period of time. In my experience that is more of a recommendation than a limit. 😉


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings