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

# Get a random quote

`GET /public/quotes/quote/random`

## Request

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

The API endpoint returns a random quote from a list of quotes.

When accessing this endpoint, you will receive a response containing a randomly selected quote.

## Response `200`

Get a random quote

- object
  - `data` object
    - `author` string
    - `authorSlug` string
    - `content` string
    - `dateAdded` string
    - `dateModified` string
    - `id` number
    - `length` number
    - `tags` 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)
