/v1/element
All isotopes of an element
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/isotopes-api/v1/element" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/isotopes-api/v1/element", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/isotopes-api/v1/element");
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/element",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"name": "Tin",
"element": "Sn",
"isotopes": [
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": null,
"mass_number": 99,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": 99.93904,
"mass_number": 100,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": null,
"mass_number": 101,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": 101.9303,
"mass_number": 102,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": null,
"mass_number": 103,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": 103.92314,
"mass_number": 104,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": 104.92135,
"mass_number": 105,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": 105.91688,
"mass_number": 106,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": 106.91564,
"mass_number": 107,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
"atomic_mass": 107.911925,
"mass_number": 108,
"standard_atomic_weight": 118.71
},
{
"z": 50,
"name": "Tin",
"symbol": "Sn",
"abundance": null,
…