Aller au contenu
GET /v1/rank

Rank isotopes by metric

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/isotopes-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/isotopes-api/v1/rank" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/isotopes-api/v1/rank", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/isotopes-api/v1/rank");
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/isotopes-api/v1/rank",
    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": {
        "count": 10,
        "order": "desc",
        "metric": "abundance",
        "ranking": [
            {
                "z": 4,
                "name": "Beryllium",
                "value": 1,
                "symbol": "Be",
                "position": 1,
                "abundance": 1,
                "atomic_mass": 9.0121822,
                "mass_number": 9,
                "standard_atomic_weight": 9.012182
            },
            {
                "z": 9,
                "name": "Fluorine",
                "value": 1,
                "symbol": "F",
                "position": 2,
                "abundance": 1,
                "atomic_mass": 18.99840322,
                "mass_number": 19,
                "standard_atomic_weight": 18.9984032
            },
            {
                "z": 11,
                "name": "Sodium",
                "value": 1,
                "symbol": "Na",
                "position": 3,
                "abundance": 1,
                "atomic_mass": 22.9897692809,
                "mass_number": 23,
                "standard_atomic_weight": 22.98976928
            },
            {
                "z": 13,
                "name": "Aluminium",
                "value": 1,
                "symbol": "Al",
                "position": 4,
                "abundance": 1,
                "atomic_mass": 26.98153863,
                "mass_number": 27,
                "standard_atomic_weight": 26.9815386
            },
            {
                "z": 15,
                "name": "Phosphorus",
                "value": 1,
                "symbol": "P",
                "position": 5,
                "abundance": 1,
                "atomic_mass": 30.97376163,
                "mass_number": 31,
                "standard_atomic_weight": 30.973762
            },
            {
                "z": 21,
                "name": "Scandium",
                "value": 1,
                "symbol": "Sc",
                "position": 6,
                "abundance": 1,
                "atomic_mass": 44.9559119,
                "mass_number": 45,
                "standard_atomic_weight": 44.955912
            },
            {
                "z": 25,
                "name": "Manganese",
                "value": 1,
                "symbol": "Mn",
                "position": 7,
                "abundance": 1,
                "atomic_mass": 54.9380451,
                "mass_number": 55,
                "standard_atomic_weight": 54.938045
            },
            {
                "z": 27,
                "name": "Cobalt",
                "value": 1,
                "symbol": "Co",
                "position": 8,
                "abundance": 1,
                "atomic_mass": 58.933195,
                "mass_number": 59,
                "standard_atomic_weight": 58.933195
            },
            {
                "z": 33,
                "name": "Arsenic",
                "value": 1,
                "symbol": "As",
     
…