---
title: "Get a random dog"
method: GET
path: "/public/dogs/dog/random"
tags: ["📢 Public APIs"]
---

# Get a random dog

`GET /public/dogs/dog/random`

## Request

- Base URL: `https://api.freeapi.app/api/v1`
- URL: `https://api.freeapi.app/api/v1/public/dogs/dog/random`
- Auth: none declared
- TypeScript: <https://skmtc.dev/hiteshchoudhary-ssesph/apis/freeapi/docs/public/dogs/dog/random/get.ts> (a function with typed inputs; its response is checked against the schema)

The API endpoint returns a randomly selected dog object from a list.

When accessing this endpoint, you will receive a response containing a dog object randomly chosen from the available list.

## Response `200`

Get a random dog

- object
  - `data` object
    - `bred_for` string
    - `breed_group` string
    - `height` object
      - `imperial` string
      - `metric` string
    - `id` number
    - `image` object
      - `height` number
      - `id` string
      - `url` string
      - `width` number
    - `life_span` string
    - `name` string
    - `reference_image_id` string
    - `temperament` string
    - `weight` object
      - `imperial` string
      - `metric` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.dev/hiteshchoudhary-ssesph/apis/freeapi.md) - [All operations](https://skmtc.dev/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/hiteshchoudhary-ssesph/apis/freeapi/revisions/a9f3a290e4dc?raw)
