This app is built using Node.js, Express, and MongoDB. It uses the Hindi Jokes API to fetch random jokes in Hindi language. The app is deployed on Render.
Unlimited API calls
Endpoint: /jokes
Example: https://hindi-jokes-api.onrender.com/jokes?api_key=Your api key
Response:
{
"_id": "631c381d798f9e2887b4cba1",
"status": "Success",
"jokeContent": "рдЖрдУ 2 Min рдореМрди рд░рдЦреЗ рдЙрди рд▓рдбрд╝рдХрд┐рдпреЛрдВ рдХреЗ рд▓рд┐рдП.. рдЬрд┐рдирдХреА рд╢рдХреНрд▓ Nokia 1100 рдЬреИрд╕реА рд╣реИ рдФрд░ рдШрдордВрдб Iphone14 рдЬреИрд╕рд╛тАж. ЁЯШЖЁЯдгЁЯШЛЁЯШЙ",
"jokeNo": 116,
"created_by": "Amit Sharma"
}
In order to get multiple jokes in a single request specify the count with the following endpoint.
Endpoint: /jokes/{count}
Example: https://hindi-jokes-api.onrender.com/jokes/2?api_key=Your api key
Response:
{
"status": "Success",
"created_by": "Amit Sharma",
"totalJokes": "2",
"data": [
{
"_id": "63199fb5f02231a5ee2965a5",
"jokeContent": "рд╢рд╛рджреА рдХреЗ рджреЛ рджрд┐рди рдмрд╛рдж рджреВрд▓реНрд╣рд╛ рдЙрд╕ рдмреНрдпреВрдЯреА рдкрд╛рд░реНрд▓рд░ рдореЗрдВ рдЧрдпрд╛ рдЬрд╣рд╛рдВ рд╕реЗ рдЙрд╕рдХреА рдмреАрд╡реА рдиреЗ рд╢рд╛рджреА рдХреЗ рд▓рд┐рдП рдореЗрдХрдЕрдк рдХрд░рд╡рд╛рдпрд╛ рдерд╛ рдЙрд╕рдиреЗ рдкрд╛рд░реНрд▓рд░ рд╡рд╛рд▓реА рдореИрдбрдо рдХреЛ рдЖрдИрдлреЛрди 14 рдЧрд┐рдлреНрдЯ рдХрд┐рдпрд╛ рдФрд░ рдереИрдВрдХреНрдпреВ рдмреЛрд▓рдХрд░ рдЪрд▓рд╛ рдЖрдпрд╛ рдореИрдбрдо рдиреЗ рдЦреБрд╢реА рдЦреБрд╢реА рдЖрдИрдлреЛрди рдХрд╛ рдбрдмреНрдмрд╛ рдЦреЛрд▓рд╛ рддреЛ рдЙрд╕рдореЗрдВ рдиреЛрдХрд┐рдпрд╛ 1100 рдкрдбрд╝рд╛ рдерд╛ рд╕рд╛рде рдореЗрдВ рдПрдХ рдкрд░реНрдЪреА рднреА рдереА рдЬрд┐рд╕ рдкрд░ рд▓рд┐рдЦрд╛ рдерд╛ рдореБрдЭреЗ рднреА рдРрд╕рд╛ рд╣реА рдорд╣рд╕реВрд╕ рд╣реБрдЖ рдерд╛ЁЯШЖЁЯдгЁЯШЛЁЯШЙ ",
"jokeNo": 71
},
{
"_id": "63217239def3f928de48b025",
"jokeContent": "рдердкреНрдкрдб рдорд╛рд░рдиреЗ рдкрд░ рдирд╛рд░рд╛рдЬ рд╡рд╛рдИрдл рд╕реЗ рд╣рд╕рдмрдВрдб рдмреЛрд▓рд╛: ...рдЖрджрдореА рдЙрд╕реА рдХреЛ рдорд╛рд░рддрд╛ рд╣реИ рдЬрд┐рд╕рд╕реЗ рд╡реЛ рдкреНрдпрд╛рд░ рдХрд░рддрд╛ рд╣реИ. ..рд╡рд╛рдИрдл рдиреЗ рд╣рд╕рдмрдВрдб рдХреЛ 2 рдердкреНрдкрдб рдорд╛рд░реЗ рдФрд░ рдмреЛрд▓реА ...рдЖрдк рдХреНрдпрд╛ рд╕рдордЭрддреЗ рд╣реИ рдореИ рдЖрдкрд╕реЗ рдкреНрдпрд╛рд░ рдирд╣реА рдХрд░рддреА ... ЁЯШЖЁЯдгЁЯШЛЁЯШЙ",
"jokeNo": 141
}
]
}
You can use this API in your projects. Just make a GET request to the API endpoint and you will get a random joke in Hindi language. You can also use the API in your browser by visiting the API endpoint in your browser.
You can contribute to this project by adding more jokes to the jokes.json file. Go to the GitHub repository Add more jokes to the jokes.json file and then make a pull request.
This is a open source project and you can use it for free. Jokes in this API are taken from popular social media platforms like Facebook, WhatsApp, Instagram, etc. If you find any joke offensive or if you want to remove any joke from the API then please write a issue on GitHub