Retrieving more than 500 records in one call
Hello,
I need to extract the full list of cons info for a database of many 10's of thousands of records. The issue I have is that the API limit the number of records I can pull at any one time. I see you can set a limit which appears to allow you to change it to 5k however it still only ever pulls 500 records at any one time. I need to access full list of cons actions and gifts so it's not just bio info.
I currently use the db view and query/export however this is something that I trying to move away from as it doesn't work very well when exporting large amounts of data so I'm keen to get it working via the API.
Any ideas or workarounds?
Comments
-
@Jonathan Bird can you say which endpoint(s) you're calling where the limit query parameter isn't being respected (only returning 500 records)? That would certainly be a bug, and if confirmed I'd recommend that you contact Blackbaud Support to get a ticket filed and routed to the appropriate engineering team.
0 -
@Jonathan Bird
Hi Jonathan, the endpoint you are retrieving does have a 500 maximum limit, even if you key in 2000 it will retrieve 500 records PER CALL.
To pull larger datasets what you'll need your code to do is pull 500 records, then pull the next 500 records and append, then pull the next 500 records and append. And so on until you hit whatever dataset + filters/paramters you've keyed in.
Endpoint APIs usually keep a parameter that let's you know what the next entry is and your follow-up call will start from that entry.
Lucien Piekut
txtstring.com Data Development Services0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 403 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.2K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 656 Blackbaud Grantmaking™
- 577 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 940 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 249 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)

