# Event API Filter and Restrictions

**URL:** <https://forums.combatlogforums.com/t/event-api-filter-and-restrictions/2942>\
**Category:** Warcraft Logs\
**Created:** [March 16, 2017, 3:33pm UTC](https://forums.combatlogforums.com/t/event-api-filter-and-restrictions/2942 "2017-03-16T15:33:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kane49](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@Kane49](https://forums.combatlogforums.com/u/Kane49)\
**Post date:** [March 16, 2017, 3:33pm UTC](https://forums.combatlogforums.com/t/event-api-filter-and-restrictions/2942/1 "2017-03-16T15:33:14Z")

</div>

Yo !

Ive been fiddling around with the Event API Endpoint to be able to analyze how top healers are using their healing spells.

Ive hit two snags:

1. The API only returns 300 entries at a time, i know this is by design but when i try to load all events for a single encounter it results in 500+ requests. Im not certain but maybe 50 requests of 3000 entries would be easier on the server ?

2. Im only able to filter on very few fields via the filter parameter, maybe thats my own ineptitude though.

‘type=“cast”’ works perfectly, so do all others i have tested like ‘type=“cast” or type=“encounterend”’ also works.

However i was unable to write a filter that filter by sourceID even if i restrict the type to casts. Am i doing something wrong or is that just not implemented ?

Anyway i just wanted to let you know that the tools you created are incredible, i hope you can find a way to monetize them in a sensible maner. The bandwidth alone must cost a fortune ^^

---

<div class="post-metadata">

**Author:** ![Kihra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/kihra/32/1116_2.png) [@Kihra](https://forums.combatlogforums.com/u/Kihra)\
**Post date:** [March 16, 2017, 4:18pm UTC](https://forums.combatlogforums.com/t/event-api-filter-and-restrictions/2942/2 "2017-03-16T16:18:22Z")

</div>

The filter is any expression, so you can filter on anything pretty much. Just chain things with “and” and “or” if you need to make complex expressions.
