Cat Facts (catfact.ninja) website screenshot

Cat Facts (catfact.ninja)

Cat Facts is a free, no-authentication community REST API at catfact.ninja that serves random cat trivia and a catalog of cat breeds. It exposes three documented endpoints — a single random fact, a paginated list of facts, and a paginated list of breeds — and ships a Swagger UI based OpenAPI 3.0 document at /docs. The service is widely used in API onboarding tutorials, demos, and sample apps because it requires no API key and returns small, predictable JSON payloads.

1 APIs 0 Features
AnimalsCatsTriviaPublic APIsCommunityNo AuthenticationREST

APIs

Cat Facts API

REST API exposing random cat trivia and a catalog of cat breeds. Three GET endpoints — /fact (a single random fact), /facts (paginated list of facts) and /breeds (paginated list...

Collections

Semantic Vocabularies

Cat Facts Catfact Context

9 classes · 22 properties

JSON-LD

API Governance Rules

Cat Facts (catfact.ninja) API Rules

37 rules · 8 errors 25 warnings 4 info

SPECTRAL

JSON Structure

Cat Facts Catfact Breed List Structure

13 properties

JSON STRUCTURE

Cat Facts Catfact Breed Structure

5 properties

JSON STRUCTURE

Cat Facts Catfact Cat Fact List Structure

13 properties

JSON STRUCTURE

Cat Facts Catfact Cat Fact Structure

2 properties

JSON STRUCTURE

Cat Facts Catfact Pagination Link Structure

3 properties

JSON STRUCTURE

Example Payloads

Resources

🔗
Website
Website
🔗
SwaggerUI
SwaggerUI
🔗
OpenAPI
OpenAPI
🔗
ContactEmail
ContactEmail
🔗
PublicAPIsListing
PublicAPIsListing
🔑
No Authentication Required
Authentication
🔧
MCP Server (Community — cursethevulgar)
Tools
🔧
MCP Server (Community — mtrmarko)
Tools
🔧
MCP Server (Community — Volspan)
Tools
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
JSONLDContext
JSONLDContext

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Cat Facts API
  version: 1.0.0
items:
- info:
    name: Facts
    type: folder
  items:
  - info:
      name: Get Random Fact
      type: http
    http:
      method: GET
      url: https://catfact.ninja/fact
      params:
      - name: max_length
        value: ''
        type: query
        description: Maximum length, in characters, of the returned fact.
    docs: Returns a single random cat fact. An optional max_length query parameter caps the returned fact length, which is
      useful for SMS, push notifications, and any other length-constrained surface.
  - info:
      name: Get a List of Facts
      type: http
    http:
      method: GET
      url: https://catfact.ninja/facts
      params:
      - name: max_length
        value: ''
        type: query
        description: Maximum length, in characters, of each returned fact.
      - name: limit
        value: ''
        type: query
        description: Number of facts to return per page.
    docs: Returns a paginated list of cat facts. Supports max_length (character cap per fact) and limit (page size) query
      parameters. The response follows Laravel's paginator format with current_page, per_page, total, last_page, links, and
      a data array of CatFact objects.
- info:
    name: Breeds
    type: folder
  items:
  - info:
      name: Get a List of Breeds
      type: http
    http:
      method: GET
      url: https://catfact.ninja/breeds
      params:
      - name: limit
        value: ''
        type: query
        description: Number of breeds to return per page.
    docs: Returns a paginated list of cat breeds with country, origin, coat, and pattern attributes. Supports a limit query
      parameter for page size. The response follows Laravel's paginator format with current_page, per_page, total, last_page,
      links, and a data array of Breed objects.
bundled: true