Events API serious performance problem with $count
There's a serious performance issue with the $count= parameter in the Events API.
Without $count= a sample query returns in about 0.6 seconds. With $count the identical query takes over 22 seconds.
Consider the following query:
https://api.wildapricot.org/v2.3/accounts/[accountID]/events?$filter=EndDate ge 2026-02-23 and StartDate le 2026-02-24&$sort=ByStartDate asc
This query returns 8 events and returns in 0.562 seconds. Postman timeline:
The identical query with the addition of $count=true
https://api.wildapricot.org/v2.3/accounts/[accountID]/events?$filter=EndDate ge 2026-02-23 and StartDate le 2026-02-24&$sort=ByStartDate asc&$count=true
returns the correct count but takes 22.54 seconds to return. Postman timeline:
Attached are screenshots of Postman's timeline display for the two queries.