PureVichar API Documentation

About This API

This API is completely free to use and provides a collection of quotes and shayari in Hindi and English. As we continue to grow, we will keep updating our database with more content to ensure a rich and diverse collection.

I created this API because I noticed that there were no proper resources available for quotes and shayaris in Hindi audio format. This API is an attempt to bridge that gap and provide users with meaningful and inspiring content.

1. Get Quotes

Endpoint: https://www.purevichar.in/api/quotes/

{
  "quotes": [
    {
      "_id": "6730e149c53cae752e22ec39",
      "quote": "I'm selfish, impatient and a little insecure...",
      "author": "Marilyn Monroe",
      "category": ["best", "life", "love"],
      "likes": 162477,
      "hindi_quote": "मैं स्वार्थी, अधीर और थोड़ा असुरक्षित हूँ...",
      "author_hindi": "मेरिलिन मन्रो",
      "timestamp": "2024-11-10T22:06:01.228Z"
    }
  ]
}

2. Get Shayari

Endpoint: https://www.purevichar.in/api/shayari/

{
  "shayari": [
    {
      "_id": "678a68602a24a236a86435d3",
      "quote": [
        "रूप की धूप कहाँ जाती है मालूम नहीं",
        "शाम किस तरह उतर आती है रुख़्सारों पर"
      ],
      "author": "इरफ़ान सिद्दीक़ी",
      "category": "philosophy",
      "likes": 1000,
      "timestamp": "2025-01-17T19:54:52.345Z"
    }
  ]
}