Quotify Hub API Documentation

Welcome to the Quotify Hub API documentation! This API allows you to retrieve inspirational and motivational quotes easily. It is designed for developers who want to integrate quotes into their applic

🌍 Base URL

https://quotifyhub.vercel.app/api/

📌 Endpoints

Endpoint
Method
Description

/random

GET

Returns a random quote

/random?category=motivation

GET

Returns a random quote from a specific category

/random?limit=10

GET

Returns multiple random quotes (limit specified)

/quotes

GET

Returns all available quotes

/quotes?category=motivation

GET

Fetch quotes from a specific category

/quotes?limit=10

GET

Fetch a limited number of quotes

/quotes/id/:id

GET

Fetch a quote by its ID

🏷️ Available Categories

Here are the categories you can use when filtering quotes:

  • Action

  • Age

  • Alone

  • Amazing

  • Anger

  • Anniversary

  • Architecture

  • Art

  • Attitude

  • Beauty

  • Best

  • Birthday

  • Business

  • Car

  • Change

  • Christmas

  • Communication

  • Computers

  • Cool

  • Courage

  • Dad

  • Dating

  • Death

  • Design

  • Diet

  • Dreams

  • Easter

  • Education

  • Environmental

  • Equality

  • Experience

  • Failure

  • Faith

  • Family

  • Famous

  • Fathersday

  • Fear

  • Finance

  • Fitness

  • Food

  • Forgiveness

  • Freedom

  • Friendship

  • Funny

  • Future

  • Gardening

  • God

  • Good

  • Government

  • Graduation

  • Great

  • Happiness

  • Health

  • History

  • Home

  • Hope

  • Humor

  • Imagination

  • Innovation

  • Inspirational

  • Intelligence

  • Jealousy

  • Knowledge

  • Leadership

  • Learning

  • Legal

  • Life

  • Love

  • Marriage

  • Medical

  • Memorialday

  • Men

  • Mom

  • Money

  • Morning

  • Mothersday

  • Motivation

  • Motivational

  • Movies

  • Movingon

  • Music

  • Nature

  • Newyears

  • Parenting

  • Patience

  • Patriotism

  • Peace

  • Pet

  • Poetry

  • Politics

  • Positive

  • Positivity

  • Possibility

  • Power

  • Relationship

  • Religion

  • Respect

  • Risk

  • Romantic

  • Sad

  • Saintpatricksday

  • Science

  • Self

  • Smile

  • Society

  • Sports

  • Strength

  • Success

  • Sympathy

  • Teacher

  • Technology

  • Teen

  • Thankful

  • Thanksgiving

  • Time

  • Travel

  • Trust

  • Truth

  • Valentinesday

  • War

  • Wedding

  • Wisdom

  • Women

  • Work

🚀 Example Responses

📜 Random Quote (/api/random)

🎯 Random Quote by Category (/api/random?category=motivation)

🔢 Multiple Random Quotes (/api/random?limit=2)

🔍 Quote by ID (/api/quotes/id/1)

📂 Quotes by Category (/api/quotes?category=motivation)

🔢 Limited Quotes (/api/quotes?limit=10)

📊 Rate Limiting

To prevent API abuse, rate limits are applied:

  • 200 requests per 10 minutes per IP.

  • If you exceed the limit, you'll receive this response:

📜 Usage Examples

Fetching a Random Quote (JavaScript Example)

Fetching All Quotes

Fetching a Quote by ID

🏆 Credits & Inspiration

This project was forked and inspired by Quotes-APIarrow-up-right. The original author of this repository is Ritu Raj Pratap Singharrow-up-right.

📜 License

This API is open-source and licensed under the MIT License.

🤝 Contributing

If you’d like to contribute:

  1. Fork the repository.

  2. Create a new branch (git checkout -b feature-branch).

  3. Make your changes and commit (git commit -m "Added a new feature").

  4. Push your changes (git push origin feature-branch).

  5. Open a Pull Request.

📬 Contact


Happy coding! 🚀

Last updated