A quick search of the forums found this post that might give you a start on how to build an API query for what you want.