Zum Inhalt springen
GET /v1/search

Search crystal structures by formula or text

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cod-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
…