---
title: "Get quote by id"
method: GET
path: "/public/quotes/{quoteId}"
tags: ["📢 Public APIs"]
---

# Get quote by id

`GET /public/quotes/{quoteId}`

## Request

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

The API endpoint enables you to retrieve a specific quote based on the quote ID provided in the path variable.

When accessing this endpoint and providing a valid quote ID, you will receive a response containing the quote corresponding to that ID.

## Response `200`

Get quote by id

- 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)
