try to determinate api