Yes, the API returns the profit in the account currency. It can apparently have more than 2 decimal places. I do not know the differences of FXCM's calculation of the profit in the account statement compared to the profit in the API, but a possible reason of small differences can be a different calculation method, a different currency conversion time, or simply a different rounding method.