Aller au contenu
GET /v1/bohr

Bohr model

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/quantum-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/quantum-api/v1/bohr" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/quantum-api/v1/bohr", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/quantum-api/v1/bohr");
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/quantum-api/v1/bohr",
    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": "Bohr model: Eₙ = −13.606·Z²/n² eV, rₙ = 0.529·n²/Z Å. n = 1 is the ground state.",
        "inputs": {
            "level": 2,
            "atomic_number": 1
        },
        "energy_j": -5.449680900000001e-19,
        "energy_ev": -3.401423,
        "orbital_radius_nm": 0.2116708,
        "ionization_energy_ev": 3.401423,
        "orbital_radius_angstrom": 2.116708
    },
    "meta": {
        "timestamp": "2026-06-05T03:08:58.775Z",
        "request_id": "7cc88c4c-5a54-4382-b5c3-ee0720b2d7f8"
    },
    "status": "ok",
    "message": "Bohr model",
    "success": true
}