Cat Facts API
Random cat facts
- Our call
- HTTP 200
- Latency
- 494 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://catfact.ninja/factPress Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://catfact.ninja/fact");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://catfact.ninja/fact'import requests
r = requests.get("https://catfact.ninja/fact", timeout=10)
r.raise_for_status()
print(r.json())Cat Facts docsMore Animals APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://catfact.ninja/fact- Result
- HTTP 200 in 494 ms (680 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- application/json, 126 bytes, a JSON object
- Fields
factlength- Rate-limit headers
- limit 100, remaining 99
Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Animals
- Auth
- No key
- CORS
- Yes
- Docs link
- catfact.ninja answered 200 in 12590 ms on 2026-11-06 Measured
Cat Facts is listed in Animals. Cat Facts needs no key: you can call it without signing up. The list says it sends CORS headers, so JavaScript on a web page can call it straight from the browser.
The list has 21 Animals APIs: 16 need no key and 5 need an API key, and 12 of them are marked as allowing browser calls. 9 others have the same setup, such as Dog Pics, Dogs and HTTP Cat.
Cat Facts and other Animals APIs
| Fact | Cat Facts (this page) | Dog Pics | RandomDog | Cataas | Dogs |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Yes | Yes | Yes | No | Yes |
| Our test call Measured by us | 494 ms | 593 ms | 694 ms | Not tested | Not tested |
| Browser call Measured by us | Allowed | Allowed | Allowed | — | — |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does Cat Facts need an API key?
Cat Facts needs no key: you can call it without signing up.
Can I call Cat Facts from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the Cat Facts docs?
At https://catfact.ninja/. When we checked, the link answered 200 in 12590 ms.
What are some alternatives to Cat Facts?
Other Animals APIs in the list include Dog Pics, Dogs, HTTP Cat and HTTP Dog.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.