New API endpoint for book history