Hi,
Thank you for your inquiry. FX API calculate the converted amount in the destination currency using buy-sell rate. The FX calculator websites usually source their convertion rates from the treasury tables. Can you tell us which FX calculator you are using?
Thank you,
Vaibhav