I've found parameters inconsistency. When you are making /starname/query/accountsInDomain request to the REST api you should provide offset. But it behaves like page. I am pretty sure that page property name is much more informative than offset. Otherwise it leads to misunderstanding.