Pagination not working

Hi!

I request data from coinbase with a limit param, e.g. https://api.coinbase.com/v2/accounts?&limit=5. However it returns 224 records with pagination looking like this:

{
   ending_before: null,
   starting_after: null,
   previous_ending_before: null,
   next_starting_after: null,
   limit: 225,
   order: 'desc',
   previous_uri: null,
   next_uri: null
}

With transactions, it’s similar, it always returns 100 regardless of limit parameter and doesn’t give any next_uri.

Hello @stanwealthica Thank you for taking an interest in trying out Coinbase APIs. For the details regarding your concern, we will check on this for you with our team. We will get back to you once we have more information. Keep in touch!

Hello @stanwealthica!

During our investigation, if the limit in the API call is higher than the number of wallet accounts in the API key, the value of the limit in the response is not respected. With that said, can you confirm how many wallets your API key has access to?

1 Like