Aller au contenu
GET /v1/meta

Source & property list

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/chemistry-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/chemistry-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chemistry-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chemistry-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/chemistry-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": "Live chemical-compound data from PubChem (>100M compounds). Resolve any compound by common name, PubChem CID or SMILES; get molecular properties, synonyms and the canonical PubChem record link.",
        "source": "NIH PubChem (PUG REST)",
        "endpoints": [
            "/v1/compound",
            "/v1/synonyms",
            "/v1/search",
            "/v1/meta"
        ],
        "lookup_by": [
            "name",
            "cid",
            "smiles"
        ],
        "properties": [
            "molecular_formula",
            "molecular_weight",
            "iupac_name",
            "smiles",
            "connectivity_smiles",
            "inchi",
            "inchikey",
            "xlogp",
            "exact_mass",
            "monoisotopic_mass",
            "tpsa",
            "charge",
            "h_bond_donor_count",
            "h_bond_acceptor_count",
            "rotatable_bond_count",
            "heavy_atom_count"
        ]
    },
    "meta": {
        "timestamp": "2026-05-31T07:34:16.299Z",
        "request_id": "8cf4de88-53a7-44f3-af94-b54135949537"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}