/v1/meta
Endpoint catalogue & notes
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/cod-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cod-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cod-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "COD (the Crystallography Open Database) is the open, public-domain collection of crystal structures of organic, inorganic, metal-organic compounds and minerals — over 500,000 entries, each with unit-cell parameters, a space group, a chemical formula and the publication it came from. /v1/search?formula=TiO2 = find structures by chemical formula (any standard casing — TiO2, Al2O3, H2O — is normalised to COD's alphabetical form), or /v1/search?text=quartz = free-text search over mineral names, titles and comments; both return each match's COD id (e.g. 2100348), formula, mineral, space group and year. /v1/structure?id=2100348 = a single structure's crystallographic data — chemical and cell formula, space group (Hermann-Mauguin and Hall), full unit cell (a, b, c, alpha, beta, gamma and volume), the source publication (title, authors, journal, year, DOI) and links to the CIF file. Get a COD id from /v1/search. Data from the Crystallography Open Database (CC0 / public domain). A crystal-structure & materials database — distinct from molecule-property (chemistry/PubChem), protein-structure (PDB) and sequence databases. Ideal for materials science, solid-state chemistry, mineralogy and education.",
"source": "Crystallography Open Database (crystallography.net)",
"endpoints": [
"/v1/search",
"/v1/structure",
"/v1/meta"
]
},
"meta": {
"timestamp": "2026-06-01T16:23:15.134Z",
"request_id": "ef1b34c7-7697-4138-8256-330e0d5240f8"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}