implemented quote api