COD wiki/ communicatingwithcod

Occasionally you will want to retrieve a structure from the COD database, or run a search from within your program or script, so that you can format results to your liking or process results automatically. There are several ways to do this:

For example, commands on Linux, Mac and other *x-like systems would be:

curl http://www.crystallography.net/1000000.cif

wget http://www.crystallography.net/1000000.cif