Question: how many innings pitched to get loss?
Answer: “A pitcher receives a win when he is the pitcher of record when his team takes the lead for good ... A starting pitcher must pitch at least five innings (in a traditional game of nine innings or longer) to qualify for the win.