This document summarizes a framework called TraMaL that was developed to acquire 3D motion trajectories of large numbers of swarming animals. TraMaL stands for Tracking-Matching-Linking and uses a three step process to obtain 4D (3D+time) trajectories for each individual in a swarm. The framework was able to successfully obtain near real-time 3D flying trajectories for hundreds of fruit flies. Evaluation on simulated and real-world datasets showed the framework can effectively handle challenges like occlusions and provide high quality reconstructed trajectories. Future work aims to improve the matching model and apply the framework to other swarming species.