v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📢 Public APIs

Get dogs

The API endpoint retrieves a list of dog objects.

When accessing this endpoint, you will receive a response containing a collection of dog objects.

Each dog object represents a specific dog breed and includes relevant details such as breed name, characteristics, temperament, and images.

get/public/dogs

Query parameters

pagestring
Example:1
limitstring
Example:10
querystring
Example:Affenpinscher

Response

Get dogs

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "currentPageItems": 1,
    "data": [
      {
        "bred_for": "Small rodent hunting, lapdog",
        "breed_group": "Toy",
        "height": {
          "imperial": "9 - 11.5",
          "metric": "23 - 29"
        },
        "id": 1,
        "image": {
          "height": 1199,
          "id": "BJa4kxc4X",
          "url": "https://cdn2.thedogapi.com/images/BJa4kxc4X.jpg",
          "width": 1600
        },
        "life_span": "10 - 12 years",
        "name": "Affenpinscher",
        "origin": "Germany, France",
        "reference_image_id": "BJa4kxc4X",
        "temperament": "Stubborn, Curious, Playful, Adventurous, Active, Fun-loving",
        "weight": {
          "imperial": "6 - 13",
          "metric": "3 - 6"
        }
      }
    ],
    "limit": 20,
    "page": 1,
    "totalItems": 1,
    "totalPages": 1
  },
  "message": "Dogs fetched successfully",
  "statusCode": 200,
  "success": true
}