Cat Facts API · Example Payload

Breeds List Response

Cat FactsTriviaFunLearningFree

Breeds List Response is an example object payload from Cat Facts API, with 12 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

current_pagedatafirst_page_urlfromlast_pagelast_page_urlnext_page_urlpathper_pageprev_page_urltototal

Example Payload

Raw ↑
{
  "current_page": 1,
  "data": [
    {
      "breed": "Abyssinian",
      "country": "Ethiopia",
      "origin": "Natural/Standard",
      "coat": "Short",
      "pattern": "Ticked"
    },
    {
      "breed": "Aegean",
      "country": "Greece",
      "origin": "Natural/Standard",
      "coat": "Semi-long",
      "pattern": "Bi- or tri-colored"
    },
    {
      "breed": "American Curl",
      "country": "United States",
      "origin": "Mutation",
      "coat": "Short/Long",
      "pattern": "All"
    }
  ],
  "first_page_url": "https://catfact.ninja/breeds?page=1",
  "from": 1,
  "last_page": 49,
  "last_page_url": "https://catfact.ninja/breeds?page=49",
  "next_page_url": "https://catfact.ninja/breeds?page=2",
  "path": "https://catfact.ninja/breeds",
  "per_page": 10,
  "prev_page_url": null,
  "to": 10,
  "total": 487
}