API proposal