add option to skip api call