Resonant x-ray reflectivity of the surface of the liquid phase of the Bi$_{43}$Sn$_{57}$ eutectic alloy reveals atomic-scale demixing extending over three near-surface atomic layers. Due to the absence of underlying atomic lattice which typically defines adsorption in crystalline alloys, studies of adsorption in liquid alloys provide unique insight on interatomic interactions at the surface. The observed composition modulation could be accounted for quantitatively by the Defay-Prigogine and Strohl-King multilayer extensions of the single-layer Gibbs model, revealing a near-surface domination of the attractive Bi-Sn interaction over the entropy.