Skip to main content
v2026.11,986 entries · CC-BY 4.0

Crystallography Open Database (COD): Open-Access Crystal Structure Repository

The Crystallography Open Database (COD) is a free, open-access repository of experimentally determined crystal structures in CIF format, with 520,000+ entries.

Written and maintained by CASRAI Editorial Board

Published · Last updated

On this page

The Crystallography Open Database (COD) is a free, open-access repository of experimentally determined crystal structures — primarily small organic molecules, metal–organic compounds, and inorganic materials with small to medium-sized unit cells. Founded in 2003 and maintained by a research center at Vilnius University, COD collects structures in the Crystallographic Information File (CIF) format defined by the International Union of Crystallography (IUCr) and makes every entry freely downloadable, reusable, and re-distributable without restriction. The PSDI-hosted mirror listed 535,078 entries on 16 November 2026, making COD one of the largest open collections of crystal structure data in any scientific field.

For research data managers, COD is a useful case study in domain-repository design: it is community-curated rather than commercially licensed, it accepts both published and unpublished (“personal communication” or pre-publication) depositions directly from researchers, and it runs its data through automated syntax and completeness checks before making entries public. This guide covers what COD contains, how it differs from other structural databases researchers commonly encounter, how deposition and retrieval work, and where it fits in a data management plan for crystallography or structural chemistry research.

COD, the Crystallography Open Database, is a free, open-access collection of experimentally determined crystal structures of small molecules and small to medium unit-cell crystals. Each entry is a CIF file with unit cell, space group and atomic coordinates, searchable on the COD website and downloadable without a licence fee. Use it for organic, metal–organic and inorganic structures; use the PDB for proteins.

What Counts as an Instance of COD Data

An entry qualifies for COD if it is a determined crystal structure — typically from single-crystal or powder X-ray diffraction, though other diffraction techniques are represented — expressed as a CIF file with the atomic coordinates, unit cell parameters, space group, and associated experimental metadata needed to reconstruct the structure. COD’s scope is deliberately broad within “small molecule” crystallography: organic compounds, metal–organic frameworks and coordination complexes, and inorganic structures with small to medium unit cells are all in scope. Large biological macromolecules (proteins, nucleic acids) are out of scope for COD; those belong in the Protein Data Bank (PDB) instead. For nucleotide sequence records rather than structures, see GenBank, NCBI’s DNA and genetic sequence database.

Founding, Governance, and Open-Access Model

COD began in February 2003, prompted by a call within the powder-diffraction research community (the Structure Determination by Powder Diffractometry mailing list) for a freely accessible alternative to the fee-based commercial crystallographic databases already in use. It is maintained by a team based at Vilnius University, with the project’s foundational description published as Gražulis et al., “Crystallography Open Database (COD): an open-access collection of crystal structures and platform for world-wide collaboration,” Nucleic Acids Research 40, D420 (2012), doi:10.1093/nar/gkr900. COD data is dedicated to the public domain under CC0, and users are asked to acknowledge the original authors; structures, derived results, and re-dissemination are all permitted without a licensing fee, which is the core distinction between COD and the commercial databases covering overlapping structural chemistry ground. The database is mirrored at multiple sites worldwide and offers public SQL query access for bulk or programmatic retrieval, in addition to its standard web search interface.

How COD Differs from Other Crystallography and Chemistry Databases

Researchers new to structural data management sometimes conflate COD with other repositories that sound similar but serve different scopes. The distinctions matter for choosing where to deposit or search:

  • COD vs. Cambridge Structural Database (CSD) — The CSD, maintained by the Cambridge Crystallographic Data Centre, covers overlapping small-molecule and metal–organic structural chemistry but has its own curation pipeline and counted 1,431,347 structures on 1 January 2026, of which 655,284 were organic. COD covers similar structural territory but is entirely open-access and community-deposited, with no license required to access or reuse the data. Check CCDC’s licensing pages for current CSD access terms.
  • COD vs. Inorganic Crystal Structure Database (ICSD) — ICSD, operated by FIZ Karlsruhe, specializes in completely identified inorganic crystal structures and listed 347,985 structures in its 30 October 2026 news item, adding about 12,000 new structures a year. COD’s inorganic coverage overlaps ICSD’s scope, and COD data is open under CC0.
  • COD vs. Protein Data Bank (PDB) — PDB is the global archive for macromolecular structures (proteins, nucleic acids, and large complexes), typically solved by X-ray crystallography, NMR, or cryo-EM. COD’s “small to medium-sized unit cell” scope is explicitly the complementary territory: small organic and inorganic molecules, not biological macromolecules. See CASRAI’s PDB guide for the macromolecular side of structural data management.
  • COD vs. PubChem — PubChem, operated by NIH/NLM’s National Center for Biotechnology Information, is a compound-and-bioassay repository: it stores computed and curated 2D/3D chemical structures alongside biological assay results, and much of its content is aggregated or predicted rather than experimentally determined by diffraction. COD, by contrast, holds only experimentally solved crystal structures with the raw crystallographic parameters (unit cell, space group, atomic coordinates) that a diffraction experiment actually produces. A compound can reasonably appear in both: PubChem as a chemical/bioassay record, COD as the diffraction-derived structural determination of that same compound. They answer different questions — “what is this compound and what has it been tested against” (PubChem) versus “what is its experimentally determined three-dimensional crystal structure” (COD) — and neither substitutes for the other in a data management plan that needs both angles covered.

Data Format and Structure: CIF

Every COD entry is a Crystallographic Information File (CIF), the standard machine-readable format defined and maintained by the IUCr for representing crystallographic data as labeled key-value tags — unit cell dimensions, space group, fractional atomic coordinates, thermal displacement parameters, and citation/experimental metadata. Because CIF is a single, widely adopted standard across the crystallography community (used by the CSD, ICSD, and most journal supporting-information submissions), a structure deposited to COD is immediately interoperable with the software crystallographers already use for structure visualization, refinement checking, and further analysis, without a format-conversion step.

Deposition and Quality Control

Researchers can deposit structures directly to COD, including structures that have not yet been published elsewhere, as personal communications or pre-publication depositions — a distinguishing feature relative to databases that only accept structures tied to a completed journal publication. Submitted CIFs go through automated checks for syntactic correctness and completeness, and COD maintainers perform manual review where automated checks flag possible semantic errors (for example, internally inconsistent unit cell or coordinate data), before an entry is made public. This checked-but-open model is part of why COD functions well as a companion resource for supporting information: a journal article’s crystallographic supporting information can be deposited to COD as an independently citable, openly accessible record, distinct from and complementary to the journal’s own repository.

Retrieval, Reuse, and Downstream Applications

COD structures can be searched via its web interface (by chemical formula, unit cell parameters, space group, author, or text search) or queried directly via public SQL access for bulk retrieval and programmatic workflows, such as training data sets for crystal-structure-prediction or machine-learning models, or systematic surveys across large numbers of related structures. Because every structure is released without reuse restriction, downstream applications extend beyond conventional visualization and analysis software: COD-derived 3D structural data has also been used as source input for 3D-printing physical molecular models, an application made feasible specifically because the underlying atomic coordinate data carries no licensing barrier.

How to Download COD Data and CIF Files

COD offers several routes, depending on whether you need one structure or the whole collection. The project’s own download guide and query guide describe each in detail.

Need Method Detail
One structure URL by COD ID The coordinates file for a COD ID such as 2002926 is at https://www.crystallography.net/cod/2002926.cif; structure factors, where deposited, use the .hkl extension. A specific revision is addressed by appending @ and the revision number.
A filtered set Web search form The COD search page can export results as a text list of COD numbers, which you then fetch in a script.
Metadata queries Public SQL A read-only account is available on host sql.crystallography.net, database cod, main table data, for example to select entries whose flags column contains “has Fobs”.
Whole collection rsync or Subversion rsync -av --delete rsync://www.crystallography.net/cif/ cif/ mirrors the latest revision; svn co svn://www.crystallography.net/cod also keeps history.
Offline snapshot HTTP archive Periodic CIF-plus-MySQL archives are published at www.crystallography.net/archives/, intended for use only when rsync and Subversion are unavailable.

When bulk-downloading over HTTP, the COD maintainers ask users to wait 10–30 seconds between requests and to cache files locally rather than overload the servers.

Using COD for XRD and Powder Diffraction Work

Searches such as “COD XRD” usually mean one of two things: finding a reference structure for an X-ray diffraction measurement, or calculating a diffraction pattern from a published structure. COD supports the second directly. Every CIF carries the unit cell, space group and atomic coordinates that powder-pattern software needs to simulate peak positions and intensities, and because the files are open you can script this over thousands of entries. COD is a structure repository, not a pattern-matching service: for phase identification against measured patterns, researchers typically combine COD structures with refinement or search-match software, or consult the commercial Powder Diffraction File. For the measurement technique itself, see CASRAI’s guides to XRD and X-ray crystallography.

Before relying on a structure, check the entry’s CIF for its source citation and refinement details, and validate files you plan to deposit or reuse with checkCIF. For fully inorganic structures where you need a licensed, curated alternative, compare with the ICSD.

Where COD Fits in a Data Management Plan

For a crystallography or structural-chemistry research project, COD is worth naming explicitly in a data management plan (DMP) as the designated repository for crystal structure outputs, alongside (not instead of) a general-purpose or institutional repository for the rest of a project’s research data. Because COD is domain-specific, discipline-appropriate, and free to deposit to, it typically satisfies funder expectations that data be deposited in “the most appropriate disciplinary repository” rather than a generic catalog-all repository, a distinction increasingly emphasized in funder FAIR data guidance. Structures deposited to COD receive a stable identifier and URL, supporting the kind of persistent, citable data record that funder and journal data-availability policies increasingly require.

Licence, Mirrors and Entry Counts

The COD mirror pages state that the data is dedicated to the public domain under CC0 and ask users to acknowledge the original authors. The UK Physical Sciences Data Infrastructure (PSDI) hosts a mirror at cod.psdi.ac.uk and does not claim ownership of the data; the University of Granada hosts another at qiserver.ugr.es/cod. On 18 November 2026 the PSDI mirror showed 535,078 entries (latest deposit number 3500176, dated 16 November 2026) and the Granada mirror 535,047, so counts differ slightly between mirrors and by day.

How to read entry counts across databases

The data table below the guide sets COD, CSD and ICSD side by side, but the counts are not strictly comparable. CCDC’s summary statistics count CSD “structures” (1,431,347 on 1 January 2026) and separately report 1,274,034 different compounds. Of the 1,431,347 structures, 655,284 are organic (45.8%), 653,119 contain a transition metal, 10,408 are powder studies (0.7%) and 2,732 are neutron studies. ICSD reports 347,985 structures as of its 30 October 2026 news item. On those dates COD (535,078) was larger than ICSD and smaller than CSD, and each database defines its scope differently.

Depositing Structures to COD in Detail

The COD wiki page on depositing describes a web deposition form with three deposition types: published, personal communication and prepublication. Deposition by the author is preferred, and structure factors and powder diffractograms are strongly encouraged alongside the CIF.

  • Prepublication hold. A depositor can hold an entry for up to one year, extendable by six months. During the hold only the cell constants, the brutto (summary) composition, the compound name and the authors are public.
  • Persistent COD number. The entry keeps the same COD number when the hold ends and the full record is released, so a number can be quoted in a manuscript before publication.
  • Scripted deposition. The RESTful API accepts a POST to the cif-deposit.pl script with a deposition_type of published, prepublication or personal, and a hold period of 0 to 12 months.

COD REST API

Besides the SQL, rsync and Subversion routes above, COD offers a search API at https://www.crystallography.net/cod/result, documented on the COD RESTful API wiki page. Parameters documented there are summarised below.

Purpose Parameters
Identify or text-search entries id, text
Chemistry and symmetry formula (Hill notation), spacegroup, el1 to el8 (elements), nel1 to nel4 (excluded elements)
Unit cell cell ranges such as amin and the matching maximum and angle parameters
Bibliography journal, year, DOI
Filters has_fobs (structure factors deposited), include_duplicates, include_errors, include_theoretical

Output formats are html, csv, json, lst (list of IDs), urls, zip (limited to a maximum number of entries) and count. A single entry is fetched at /cod/<ID>.cif, with .hkl for structure factors, .html or .rdf, and a revision is selected with @revision.

Worked example: counting entries before downloading

To check how large a result set is before fetching it, use the count output format with your filters, then switch to lst to obtain the COD IDs and fetch each .cif by ID, waiting between requests as the maintainers ask. For whole-collection needs, use rsync instead of looping over HTTP.

Theoretical COD (TCOD) and Citing COD Data

Calculated rather than experimentally determined structures are kept in the sister database Theoretical COD, at crystallography.net/tcod. The COD result API’s include_theoretical parameter controls whether such entries appear in a search.

To cite COD, cite the database paper (Gražulis et al., Nucleic Acids Research 40, D420, 2012, doi:10.1093/nar/gkr900) and quote the COD ID of each entry you used, plus the original structure publication named in the CIF. A published example of downstream reuse is the study of COD structures as sources for 3D-printed molecular models (Scalfani et al., Journal of Cheminformatics 8:66, 2016, doi:10.1186/s13321-016-0181-z).

Common Mistakes When Using COD

  • Treating the entry total as fixed: counts change daily and differ between mirrors, so state the date and mirror when you quote a number.
  • Comparing counts across databases as if the units were identical: CSD counts structures, and compounds are counted separately.
  • Assuming presence in COD means peer review: prepublication and personal-communication entries are accepted.
  • Forgetting that CC0 does not remove the scholarly norm of acknowledging the original authors.

Frequently Asked Questions

Is the Crystallography Open Database peer-reviewed?

Not in the journal sense. COD applies automated syntax/completeness checks and manual review for likely semantic errors, but structures can be deposited independently of, or prior to, journal publication. Many entries do correspond to structures published and peer-reviewed elsewhere (with the CIF deposited as supporting information), but COD accepts pre-publication and personal-communication depositions as well, so presence in COD is not itself a peer-review signal.

Does COD charge for access or impose reuse restrictions?

No. COD data is released as open access under CC0 (public domain) with no license fee — structures, and results derived from them, may be freely downloaded, used, and re-disseminated. The data is CC0 public domain; acknowledging the original authors is requested.

Can I deposit unpublished crystal structures to COD?

Yes. COD’s website supports registered users depositing both published and as-yet-unpublished structures, submitted as personal communications or pre-publication depositions.

What file format does COD use, and is it interoperable with other crystallography software?

COD stores structures as Crystallographic Information Files (CIF), the IUCr-defined standard format used broadly across crystallographic software, journal supporting-information workflows, and other major structural databases, so COD entries are directly usable without conversion in the tools crystallographers already use.

How is COD different from depositing crystallographic supporting information with a journal?

Journal supporting information is typically attached to, and only discoverable through, the specific article. Depositing the same CIF to COD gives the structure an independent, openly accessible, and separately citable record that remains retrievable and searchable even if the original article’s supplementary files become hard to access, and makes the structure discoverable through COD’s own search and bulk-query tools rather than only through the journal.

How many structures are in the COD?

The PSDI mirror listed 535,078 entries on 16 November 2026; the Granada mirror listed 535,047.

What licence does COD use?

COD data is dedicated to the public domain under CC0, and users are asked to acknowledge the original authors.

How do I download all COD CIF files?

Use rsync or Subversion for the whole collection, as described in the download table above, rather than looping over HTTP.

Can I keep a structure private before publication?

Yes. A prepublication deposition can be held for up to one year, extendable by six months; only cell constants, brutto composition, name and authors are public during the hold, and the COD number stays the same on release.

Is there a COD API?

Yes. The /cod/result endpoint supports searches by formula, elements, space group, cell ranges and bibliographic fields, with html, csv, json, lst, urls, zip and count output.

What is the difference between COD and TCOD?

COD holds experimentally determined structures; Theoretical COD (TCOD) holds calculated structures.

Is COD bigger than ICSD or CSD?

COD (535,078 entries, 16 November 2026) is larger than ICSD (347,985 structures, 30 October 2026) and smaller than CSD (1,431,347 structures, 1 January 2026); the databases count and scope their content differently.

Sources

Data: Size, scope and operator of three crystal structure databases (COD, CSD, ICSD), 2026

Entry counts compiled from the COD mirror pages (PSDI, Univ. Granada), the CCDC CSD summary statistics PDF and the FIZ Karlsruhe ICSD page, each as of the date given in the table. Counts use each database's own unit (entries or structures) and are not strictly comparable.

Period covered: 2026.

Size, scope and operator of three crystal structure databases (COD, CSD, ICSD), 2026
DatabaseOperator or hostScopeCount (entries or structures as reported by the)Count dateStated licence or access note
COD (PSDI mirror)Vilnius University team; mirror hosted by PSDISmall to medium unit-cell organic, metal-organic and inorganic crystal structures5350782026-11-16CC0 public domain; acknowledge original authors
COD (Granada mirror)Vilnius University team; mirror at Univ. of GranadaSame as COD5350472026-11-03 (latest deposit date)CC0 public domain; acknowledge original authors
CSDCCDCOrganic and metal-organic crystal structures (655,284 organic structures)14313472026-01-01Licensed access via CCDC; see CCDC licensing page
ICSDFIZ KarlsruheCompletely identified inorganic crystal structures3479852026-10-30Access via the FIZ Karlsruhe ICSD portal

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Crystallography Open Database (COD): Open-Access Crystal Structure Repository

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →