Vai al contenuto
GET /v1/class

Meteorites of a classification

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/meteorites-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/meteorites-api/v1/class" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/meteorites-api/v1/class", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/meteorites-api/v1/class");
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/meteorites-api/v1/class",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "class": "l5",
        "count": 50,
        "total": 4817,
        "meteorites": [
            {
                "id": "10911",
                "lat": 19.22778,
                "lon": 56.14278,
                "fall": "Found",
                "mass": 1750000,
                "name": "Ghubara",
                "year": 1954,
                "recclass": "L5"
            },
            {
                "id": "24058",
                "lat": 48.7,
                "lon": 45.7,
                "fall": "Found",
                "mass": 1225300,
                "name": "Tsarev",
                "year": 1968,
                "recclass": "L5"
            },
            {
                "id": "10062",
                "lat": 35.98333,
                "lon": -101.9,
                "fall": "Found",
                "mass": 450000,
                "name": "Etter",
                "year": 1965,
                "recclass": "L5"
            },
            {
                "id": "23193",
                "lat": 20.51667,
                "lon": 56.66667,
                "fall": "Found",
                "mass": 450000,
                "name": "Sayh al Uhaymir 001",
                "year": 2000,
                "recclass": "L5"
            },
            {
                "id": "22609",
                "lat": -39.85,
                "lon": -69.48333,
                "fall": "Found",
                "mass": 280000,
                "name": "Rio Limay",
                "year": 1995,
                "recclass": "L5"
            },
            {
                "id": "11901",
                "lat": 41.8,
                "lon": -91.86667,
                "fall": "Fell",
                "mass": 230000,
                "name": "Homestead",
                "year": 1875,
                "recclass": "L5"
            },
            {
                "id": "5087",
                "lat": 29.87861,
                "lon": -96.87222,
                "fall": "Found",
                "mass": 153300,
                "name": "Bluff (a)",
                "year": 1878,
                "recclass": "L5"
            },
            {
                "id": "12150",
                "lat": 19.69362,
                "lon": 56.65432,
                "fall": "Found",
                "mass": 123374,
                "name": "Jiddat al Harasis 091",
                "year": 2002,
                "recclass": "L5"
            },
            {
                "id": "16804",
                "lat": 18.7,
                "lon": 4.8,
                "fall": "Fell",
                "mass": 110000,
                "name": "Mount Tazerzait",
                "year": 1991,
                "recclass": "L5"
            },
            {
                "id": "23509",
                "lat": 50.61667,
                "lon": 36.6,
                "fall": "Fell",
                "mass": 101000,
                "name": "Sevrukovo",
                "year": 1874,
                "recclass": "L5"
       
…