api base class