What precisely are you interested in?
If you just want the NS records and glue for all the ccTLDs they're in the root zone.
https://www.internic.net/domain/root.zone
If you want the complete zone files from every ccTLD that is a much bigger ask. I'm not sure but I imagine you would have to look into each ccTLD and find out if they're available.