Quick Start
Get up and running with QuizAPI in under 5 minutes. Create quizzes, manage questions, and embed interactive content through our REST API.
https://quizapi.io/api/v1Get your API key
First, you will need an API key to authenticate your requests. Sign up for a free account, then generate a key from your dashboard.
Make your first request
Use the following curl command to fetch a list of quizzes. Replace YOUR_API_KEY with the key from the previous step.
curl -X GET "https://quizapi.io/api/v1/quizzes?limit=5" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Parse the response
The API returns JSON responses with a consistent structure. Every list endpoint returns a data array and a meta object for pagination.
{
"success": true,
"data": [
{
"id": "quiz_abc123",
"title": "JavaScript Fundamentals",
"description": "Test your knowledge of JS basics",
"category": "programming",
"difficulty": "MEDIUM",
"tags": ["javascript", "web"],
"questionCount": 10,
"plays": 1250
}
],
"meta": {
"total": 42,
"limit": 5,
"offset": 0
}
}OpenAPI Specification
The full API is described as an OpenAPI 3.1 specification. Import it into Postman, generate client SDKs, or use it with any OpenAPI-compatible tool.
https://quizapi.io/api/v1/openapi.jsonSDKs & Libraries
Official JavaScript/TypeScript and Python SDKs are coming soon. In the meantime, the REST API works with any HTTP client in any language.
View SDKsNext Steps
Authentication
Learn about API key auth, headers, and security best practices.
Quizzes API
Create, list, update, and manage quizzes via the API.
Questions API
Browse questions, batch import into quizzes, and manage content.
Webhooks
Get notified in real-time when events happen in your quizzes.
Rate Limits
Understand API rate limits and how to handle throttling.