/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/catfact-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/catfact-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/catfact-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/catfact-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": {
"service": "catfact-api",
"endpoints": {
"GET /v1/fact": "A single random cat fact (max_length=optional).",
"GET /v1/meta": "This document.",
"GET /v1/facts": "Page through the fact collection (limit=, page=, max_length=).",
"GET /v1/breeds": "Cat breeds with country, origin, coat & pattern (q=search, limit=)."
},
"description": "Cat trivia and breed data via the open Cat Fact API (catfact.ninja): pull a single random cat fact (optionally length-bounded), page through the full fact collection, or list and search cat breeds with their country, origin, coat and pattern. Real data, no key."
},
"meta": {
"timestamp": "2026-06-08T09:48:47.503Z",
"request_id": "eb18e02c-5ce4-43c1-aa6c-6de5854f6f13"
},
"status": "ok",
"message": "Meta",
"success": true
}