/v1/search
Search crystal structures by formula or text
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/cod-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cod-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cod-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/cod-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"mode": "formula",
"count": 25,
"query": "O2 Ti",
"total": 39,
"structures": [
{
"url": "https://www.crystallography.net/cod/1010942.html",
"year": 1924,
"title": "Zur Kristallstruktur von Anastas und Rutil. (II. Teil. Die Anastasstruktur).",
"cod_id": "1010942",
"formula": "O2 Ti",
"mineral": "Anatase",
"space_group": "I 41/a m d :1"
},
{
"url": "https://www.crystallography.net/cod/1526931.html",
"year": 2000,
"title": "Rietveld analysis of electron powder diffraction data from nanocrystalline anatase, Ti O2",
"cod_id": "1526931",
"formula": "O2 Ti",
"mineral": null,
"space_group": "I 41/a m d :2"
},
{
"url": "https://www.crystallography.net/cod/1528778.html",
"year": 2006,
"title": "Structure of beta - Ti O2",
"cod_id": "1528778",
"formula": "O2 Ti",
"mineral": null,
"space_group": "C 1 2/m 1"
},
{
"url": "https://www.crystallography.net/cod/1530026.html",
"year": 1988,
"title": "Ti O2-II. Ambient pressure and structure refinement",
"cod_id": "1530026",
"formula": "O2 Ti",
"mineral": null,
"space_group": "P b c n"
},
{
"url": "https://www.crystallography.net/cod/1530150.html",
"year": 1977,
"title": "An electron-diffraction investigation of titanium dioxide in thin films",
"cod_id": "1530150",
"formula": "O2 Ti",
"mineral": null,
"space_group": "P 42/m n m"
},
{
"url": "https://www.crystallography.net/cod/1530151.html",
"year": 1977,
"title": "An electron-diffraction investigation of titanium dioxide in thin films",
"cod_id": "1530151",
"formula": "O2 Ti",
"mineral": null,
"space_group": "I 41/a m d :1"
},
{
"url": "https://www.crystallography.net/cod/1532819.html",
"year": 2003,
"title": "Intergrown niobian rutile phases with Sc- and W-rich ferrocolumbite: an electron-microprobe and Rietveld study",
"cod_id": "1532819",
"formula": "O2 Ti",
"mineral": null,
"space_group": "P 42/m n m"
},
{
"url": "https://www.crystallography.net/cod/1534781.html",
"year": 1984,
"title": "High Temperature Structure
…