api beginning