The country code is the last portion of the networks CSV:
$ curl -sL ip.guide/bulk/networks.csv | head -n 2
prefix,asn,organization,country
1.0.0.0/24,13335,"Cloudflare, Inc.",US