Each entry ends at a different round, so "beating" it depends on which one you're playing.
BTD1: no difficulty settings; the last round is 50.
BTD2: three difficulties, all ending at round 50.
BTD3: unclear.
BTD4: Easy 50, Medium 60, Hard 75, Sandbox has no rounds, Apocalypse is endless.
BTD5: Easy 50, Medium 65, Hard 85, with Sandbox, Deflation and Apocalypse all endless.
On the endless modes there's nothing to beat — survive as long as your defences hold.