Skip to content

Open Trivia Based APIs For Current Affairs and General Knowledge For UPSC aspirants. Helping a lot of Developers and EdTech Companies to Work on their Products. Updated Daily with New questions.

License

prkhrv/Quick-Quiz-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Quick Quiz API 💡

Node.js CI Website shields.io GitHub release

Open Trivia Based APIs For Current Affairs and General Knowledge For UPSC aspirants. Helping a lot of Developers and EdTech Companies to Work on their Products. Updated Daily with New questions.

Endpoints 🔗

URL : /questions/{noOfQuestions}

Method : GET

Auth required : NO

Parameters

{noOfQuestions} : Integer
required: true
MaxLimit : 20
Default : 10

Success Response ✔️

Code : 200 OK ✔️

Content example

{
  "results": [
    {
      "incorrect_answers": [
        "Nagaland",
        "Odisha",
        "Uttarakhand"
      ],
      "question": " ‘Pakhui Wildlife Sanctuary’ is located in ",
      "correct_answer": "Arunachal Pradesh"
    }
  ]
}

Error Response ❌

Condition : If The {noOfQuestions} Parameter is not given.

Code : 404 NOT FOUND

Content :

<!DOCTYPE html>
  <html lang="en">
     <head>
       <meta charset="utf-8">
          <title>Error</title>
      </head>
   <body>
     <pre>Cannot GET /questions/</pre>
   </body>
</html>

📌 UPCOMING UPDATES

CONTRIBUTION PPROGRAM
API KEYS

Developed and Maintained by

PRAKHAR VARSHNEY 💻

Please Do Leave a ⭐ if the APIs Helped you for your Project.

About

Open Trivia Based APIs For Current Affairs and General Knowledge For UPSC aspirants. Helping a lot of Developers and EdTech Companies to Work on their Products. Updated Daily with New questions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published