This piece was written for violin and first contributed to J.S. Bach as BWV1020. But I think it’s also nice to play on Eb-trumpet. Here a zip file for C, Bb and Eb trumpet with harpsichord.
I used this recording of Jean-Pierre Rampal for the frasing of the melody: