/v1/facts
Page through facts
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/catfact-api/v1/facts" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/catfact-api/v1/facts", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/catfact-api/v1/facts");
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/facts",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"page": 1,
"count": 10,
"facts": [
{
"fact": "Unlike dogs, cats do not have a sweet tooth. Scientists believe this is due to a mutation in a key taste receptor.",
"length": 114
},
{
"fact": "When a cat chases its prey, it keeps its head level. Dogs and humans bob their heads up and down.",
"length": 97
},
{
"fact": "The technical term for a cat’s hairball is a “bezoar.”",
"length": 54
},
{
"fact": "A group of cats is called a “clowder.”",
"length": 38
},
{
"fact": "A cat can’t climb head first down a tree because every claw on a cat’s paw points the same way. To get down from a tree, a cat must back down.",
"length": 142
},
{
"fact": "Cats make about 100 different sounds. Dogs make only about 10.",
"length": 62
},
{
"fact": "Every year, nearly four million cats are eaten in Asia.",
"length": 55
},
{
"fact": "There are more than 500 million domestic cats in the world, with approximately 40 recognized breeds.",
"length": 100
},
{
"fact": "Approximately 24 cat skins can make a coat.",
"length": 43
},
{
"fact": "While it is commonly thought that the ancient Egyptians were the first to domesticate cats, the oldest known pet cat was recently found in a 9,500-year-old grave on the Mediterranean island of Cyprus. This grave predates early Egyptian art depicting cats by 4,000 years or more.",
"length": 278
}
],
"total": 332,
"per_page": 10
},
"meta": {
"timestamp": "2026-06-08T09:48:47.415Z",
"request_id": "16aebfef-c5fe-44c0-847d-c0268b474678"
},
"status": "ok",
"message": "Facts retrieved successfully",
"success": true
}