I checked Wikipedia and the "sides" fighting were:
the North German Confederation (22 independent states!),
and the South German states of Baden, Württemberg and Bavaria.
I doubt that there would be one military roster for the Germans, since Germany wasn't unified yet.
You would probably need to narrow it down to the specific state first.