Dog Breeds API

Dog Breeds API

A Restful API that is scraping the Wikipedia pages for dog breeds in order to collect data.

API description

A Restful API that is scraping the Wikipedia pages for dog breeds in order to collect data.
The data are cached and refreshed every 24 hours.

About the API:

This Restful API will scrape Wikipedia pages in order to retrieve data for any dog breed of your choice. 

 

What this API receives and what your API provides (input/output)?

Just passing a dog breed you will be able to receive a JSON response with:

-Breed Origin.

-Image

-Height

-Weight.

-Coat

And many more... 

What are the most common uses cases of this API?

 

This API is ideal for those Dog Lovers that want to get structured information about any breed to use in their projects. 

Ideal for those PetShops that want to provide information about different breeds, images, and additional care. 

Pet Blogs are a good fit also for this API.  

 

Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations. 

API Documentation

Endpoints


This endpoint will return a list of all available dog breeds in JSON format.

 

Description

GET {BASE_URL}/dog_breeds

 

Example

 

{BASE_URL}/dog_breeds

Below you can see a part of the expected response

 


[
  ...,
[
{
"id": 1,
"breed": "Affenpinscher",
"origin": "Germany",
"url": "https://en.wikipedia.org/wiki/Affenpinscher",
"img": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Affenpinscher.jpg/220px-Affenpinscher.jpg",
"meta": {
"height": "23-30 cm (9-12 in)",
"weight": "3-6 kg (7-13 lb)",
"coat": "Wire",
"img_src_set": {
"1.5x": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Affenpinscher.jpg/330px-Affenpinscher.jpg",
"2x": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Affenpinscher.jpg/440px-Affenpinscher.jpg"
},
"life_span": "Not available",
"other_names": "Not available",
"common_nicknames": "AffenAffie",
"colour": "Not available",
"litter_size": "Not available",
"notes": "Not available",
"breed_status": "Not available",
"foundation_stock": "Not available"
}
},
{
"id": 2,
"breed": "Airedale Terrier",
"origin": "England",
"url": "https://en.wikipedia.org/wiki/Airedale_Terrier",
"img": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/52/Airedale_Terrier.jpg/220px-Airedale_Terrier.jpg",
"meta": {
"height": {
"dogs": "22-24 inches (56-61 cm)",
"bitches": "22-23 inches (56-58 cm)"
},
"weight": {
"dogs": "40-50 pounds (18-23 kg)",
"bitches": "35-40 pounds (16-18 kg)"
},
"coat": "Broken",
"img_src_set": {
"1.5x": "https://upload.wikimedia.org/wikipedia/commons/5/52/Airedale_Terrier.jpg"
},
"life_span": "Not available",
"other_names": "Waterside TerrierBingley Terrier",
"common_nicknames": "AiredaleKing of Terriers",
"colour": "Black saddle with tan ears, legs, and head; dark grizzle saddle (black mixed with gray and white)",
"litter_size": "Not available",
"notes": "Not available",
"breed_status": "Not available",
"foundation_stock": "Not available"
}
},
... ]



                                                                            
GET https://zylalabs.com/api/755/dog+breeds+api/472/get+all+dog+breeds
                                                                            
                                                                        

This endpoint will return information about a single breed in JSON format.

 

Description

GET {BASE_URL}/dog_breeds/breed/||breed||

 

Parameters

breed:  variable represents the breed to be found. The text is case-insensitive.

 

Example

The following API call will return the breed that matches the string cretan

{BASE_URL}/dog_breeds/breed/cretan

Below you can see the expected response

 


[
  {
    "id": 123,
    "breed": "Cretan Hound",
    "origin": "Greece (Crete)",
    "url": "https://en.wikipedia.org/wiki/Cretan_Hound",
    "img": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Kritikosichnilatis_1.jpg/220px-Kritikosichnilatis_1.jpg",
    "meta": {
      "height": {
        "dogs": "52-60 cm (20-24 in)",
        "bitches": "50-58 cm (20-23 in)"
      },
      "weight": "15-22 kg (33-49 lb)",
      "coat": "Short, smooth, hard, flat",
      "img_src_set": {
        "1.5x": "https://upload.wikimedia.org/wikipedia/commons/b/ba/Kritikosichnilatis_1.jpg"
      },
      "life_span": "Not available",
      "other_names": "Kritikos Lagonikos, Kressa Kyon, Kritikos Ichnilatis",
      "common_nicknames": "\"Ntopio\"",
      "colour": "Not available",
      "litter_size": "Not available",
      "notes": "Not available",
      "breed_status": "Not available",
      "foundation_stock": "Not available"
    }
  }
]



                                                                            
GET https://zylalabs.com/api/755/dog+breeds+api/474/get+information+of+a+breed
                                                                            
                                                                        
Get information of a breed - Endpoint Features
Object Description
breed [Required]

This endpoint will group the available data by the given property and the property value.
 
The API will return all dog breeds that are matching the property value that is given in JSON format.
 

Description

GET {BASE_URL}/dog_breeds/group/||property||/||property_value||

 

Parameters

property: the property to be grouped by. It is case-insensitive. The property can be any property of the JSON response object including the properties of the meta object.

property_value: the value of the property. It is case-insensitive.

 

Example

The following example will return the breeds that are in extinct breed_status.

GET {BASE_URL}/dog_breeds/group/breed_status/extinct

Below you can see a part of the expected response

 


[
  ...
{
    "id": 272,
    "breed": "Old English Terrier",
    "origin": "England",
    "url": "https://en.wikipedia.org/wiki/Old_English_Terrier",
    "img": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Old_English_Black_and_Tan_Terrier.jpg/220px-Old_English_Black_and_Tan_Terrier.jpg",
    "meta": {
      "height": "Not available",
      "weight": "9-20 lb (4.1-9.1 kg)",
      "coat": "Usually wire-haired, could be smooth or woolly",
      "img_src_set": {
        "1.5x": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Old_English_Black_and_Tan_Terrier.jpg/330px-Old_English_Black_and_Tan_Terrier.jpg",
        "2x": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Old_English_Black_and_Tan_Terrier.jpg/440px-Old_English_Black_and_Tan_Terrier.jpg"
      },
      "life_span": "Not available",
      "other_names": "Old English Black and Tan TerrierBroken Coated Working TerrierRough Coated Black and Tan TerrierOld Working TerrierOld English Terrier",
      "common_nicknames": "Not available",
      "colour": "Any combination of black, tan, red, blue, brown, sandy, grizzle, liver or white",
      "litter_size": "Not available",
      "notes": "Fell terrier breeds and the Welsh terrier descend from the Black and tan terrier",
      "breed_status": "Extinct",
      "foundation_stock": "Not available"
    }
  },
  {
    "id": 403,
    "breed": "Alaunt",
    "origin": "Pontic-Caspian Steppe",
    "url": "https://en.wikipedia.org/wiki/Alaunt",
    "img": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Alaunt_in_Adorazione_dei_Magi_by_Gentile_da_Fabriano.jpg/220px-Alaunt_in_Adorazione_dei_Magi_by_Gentile_da_Fabriano.jpg",
    "meta": {
      "height": "Not available",
      "weight": "Not available",
      "coat": "Not available",
      "img_src_set": {
        "1.5x": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Alaunt_in_Adorazione_dei_Magi_by_Gentile_da_Fabriano.jpg/330px-Alaunt_in_Adorazione_dei_Magi_by_Gentile_da_Fabriano.jpg",
        "2x": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Alaunt_in_Adorazione_dei_Magi_by_Gentile_da_Fabriano.jpg/440px-Alaunt_in_Adorazione_dei_Magi_by_Gentile_da_Fabriano.jpg"
      },
      "life_span": "Not available",
      "other_names": "AlãoAlanoAlangu",
      "common_nicknames": "Not available",
      "colour": "Not available",
      "litter_size": "Not available",
      "notes": "Not available",
      "breed_status": "Extinct",
      "foundation_stock": "Not available"
    }
  },
...
]



                                                                            
GET https://zylalabs.com/api/755/dog+breeds+api/475/find+dog+breeds+by+property+and+value
                                                                            
                                                                        

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Dog Breeds API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Custom quote

Need more? We offer unlimited API calls, Request Quote


Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

Service Level
40%
Response Time
605ms

API Provider: Mirwn Apostolakis

Useful links:


Category:


Tags:


Related APIs