Feature/api queries stars

@ulferts I know this is terrible but it should at least work correctly. I will try to refactor it ASAP.