Carstares was born at Cathcart, near Glasgow, Scotland, the son of the Rev. John Carstares, a Covenanter [REF].
During the Third Anglo-Dutch War, Carstares acted as an intelligence agent for the Prince of Orange, making journeys to England as "William Williams".