/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/bloodtype-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bloodtype-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bloodtype-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/bloodtype-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Educational only. Educational only — actual transfusion requires laboratory cross-matching and clinical judgement. Not medical advice.",
"types": [
"O-",
"O+",
"A-",
"A+",
"B-",
"B+",
"AB-",
"AB+"
],
"service": "bloodtype",
"endpoints": {
"/v1/info": "Antigens, antibodies, who a type can give to / receive from, and frequency.",
"/v1/donors": "All compatible donor types for a recipient (red cells or plasma).",
"/v1/compatibility": "Whether a donor can give to a recipient (red cells and plasma)."
},
"description": "ABO + Rh blood-type compatibility: red-cell and plasma donor/recipient rules, antigens/antibodies and population frequency."
},
"meta": {
"timestamp": "2026-06-04T01:59:17.244Z",
"request_id": "5ab2bf1a-af68-45c1-b484-b979232af363"
},
"status": "ok",
"message": "Meta",
"success": true
}