GO:0003858:   3-hydroxybutyrate dehydrogenase activity
Catalysis of the reaction: (R)-3-hydroxybutanoate + NAD(+) = acetoacetate + H(+) + NADH.