API Base Code for staging