API for Local