Animals · head-to-head
Cat Facts vs RandomDuck
catfact.ninja is a free, keyless REST API built on Laravel that serves a curated database of cat trivia facts alongside a separate cat-breed dataset (coat, pattern, country of origin, and more). Its /fact endpoint returns one random fact, while /facts and /breeds paginate through the full ~166- and 98-page collections respectively. The API documents itself via a Swagger UI hosted at its own root and throttles unauthenticated requests to 100 per minute per IP.
Random-d.uk's /random endpoint returns a JSON object linking to a random duck photo or GIF, with a type query parameter to request JPG or GIF specifically. A companion /randomimg endpoint serves the image file directly instead of the JSON wrapper, and the service also accepts community-submitted duck photos.
| Cat Facts | RandomDuck | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON | JSON, JPEG, GIF |
| CORS | yes | no |
| HTTPS | Yes | Yes |
Cat Facts supports CORS, while RandomDuck doesn't — pick Cat Facts for direct browser calls.