Moved the api call to query params

All the stuff we implemented at Houndstooth.