Neither Carfax nor Autocheck will give you details of an accident, just the level of damage. Plus both are guides not bibles.
I agree with PP, best bet is to check it over yourself and if it passes your eye check, take it to mechanic for pre-purchase inspection.
Some accidents can be superficial while others worse. Accidents that say car wasn’t drivable or that airbags were deployed are passes for me.