Dogs
The Dog API provides a wealth of information on dog breeds, groups, and fun facts. Access and integrate this data into your website or application with our…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Dog API provides a wealth of information on dog breeds, groups, and fun facts. Access and integrate this data into your website or application with our easy-to-use JSON API.
Endpoints 7
Breeds
- GETlist breeds
/breedsReturns every breed, ordered by name and split into pages. Pages hold up to 1000 records. A missing, zero, negative or oversized page[size] falls back to that… - GETget breed
/breeds/:idReturns a single breed. Unknown and malformed ids both return 404. - GETget breed image
/breeds/:id/imageRedirects to a picture of the breed, so the URL can be used directly in an <img> tag. Returns 404 when the breed has no images yet. Images come from Wikimedia… - GETget a random breed image
/breeds/imageRedirects to a picture of a randomly chosen breed. Returns 404 while no images have been imported.
Groups
- GETlist groups
/groupsReturns every breed group, ordered by name and split into pages. Pages hold up to 1000 records, and there are only about 20 groups, so a plain request returns… - GETget group
/groups/:idReturns a single group. Unknown and malformed ids both return 404.
Facts
- GETlist facts
/factsReturns random dog facts. limit is clamped to 1..5: anything missing, zero, negative or non-numeric returns a single fact, and anything above 5 returns 5.…
API details
- Base URL
https://dogapi.dog/api/v2- Authentication
- None declared in the description
- Operations
- 7 operations on 7 pathsGET 7
- Main resources
- Breeds 4Groups 2Facts 1
- Response formats
application/json- Description format
- OpenAPI 3.0.1, API version
1.0.0 - Links
- OpenAPI document · Terms of service
- Listed from
- Dogapi's published OpenAPI description
How to test the Dogs in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Dogs collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “list breeds” (GET /breeds), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Dogs?
The Dog API provides a wealth of information on dog breeds, groups, and fun facts. Access and integrate this data into your website or application with our… It is listed under Data & analytics and has 7 endpoints.
Who publishes the Dogs?
It is listed from Dog API's public API description (an OpenAPI document), not published by Dog API on Swastik Codes. Anyone who controls dogapi.dog can claim the profile by adding a DNS TXT record.
What is the base URL of the Dogs?
Requests go to https://dogapi.dog/api/v2. Endpoint paths are added to this base URL.
How do I authenticate with the Dogs?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Dogs have?
7 operations on 7 paths (7 GET). The largest groups are Breeds, Groups, Facts.
Is forking the Dogs free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.