Client queries API directly.