/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/sunscreen-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sunscreen-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sunscreen-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/sunscreen-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"notes": "Fitzpatrick skin type 1-6; UV index 0-16. Protected time ≈ unprotected × SPF; reapply every 2 hours. ~2 mg/cm² (≈ 1 oz full body). Educational estimates — not medical advice; people with sensitive skin or conditions should be cautious.",
"service": "sunscreen-api",
"endpoints": {
"GET /v1/spf": "SPF needed to stay out for a target number of minutes.",
"GET /v1/meta": "This document.",
"GET /v1/amount": "Sunscreen amount per application and reapplications for time outdoors.",
"GET /v1/burntime": "Unprotected and protected time to sunburn from skin type, UV index and SPF."
},
"description": "Sun-safety maths: time to sunburn by skin type/UV/SPF, the SPF needed for a target time, and sunscreen amount & reapplication."
},
"meta": {
"timestamp": "2026-06-06T15:30:48.918Z",
"request_id": "e2fbde2a-1db4-4bfb-84a1-c6f30a6e64b6"
},
"status": "ok",
"message": "Meta",
"success": true
}