api comparison