Skip to main content
v1 docs

Platform

Quiz API Overview

IQ Earners API overview: architecture, base URL, JSON response format and the integration surfaces available to apps, schools and partner platforms.

IQ Earners exposes REST-style JSON endpoints under /api/*. The web app uses cookie sessions; partners and LMS integrations typically use organization API keys or server-side session proxies.

Production base URL: https://www.iqearners.online — always use HTTPS. Prefix every path below with this origin.

All successful responses use { ok: true, data?: … } unless noted. Errors return { ok: false, error: string } with an appropriate HTTP status.

  • Consumer quiz flow — bootstrap, practice demo, paid daily quiz, tournaments, leaderboard
  • User account — stats, achievements, certificates, wallet, referrals
  • Mock exams — catalog, start, submit, retakes
  • Organizations — multi-tenant portals, quiz authoring, analytics, API keys
{
  "ok": true,
  "data": { "example": "payload" }
}

Related in this guide

All guides

Quickstart

Getting Started

Get started with the IQ Earners API: make your first request, pick an environment, set up credentials and follow the recommended integration patterns.

Security

Authentication & Sessions

How authentication works in the IQ Earners API: session cookies, member-only gates, per-attempt tokens and organisation API keys for school integrations.

Core API

Quiz Lifecycle

Quiz lifecycle in the IQ Earners API: start an attempt, serve and answer questions, complete it and report results for enrolled members, step by step.

Quizzes

Practice & Daily Quizzes

Practice and daily quiz endpoints in the IQ Earners API: intro practice sets, cached topic practice packs and discovery of the current daily quiz.

Accounts

User Stats & Profile

User stats endpoints in the IQ Earners API: streaks, achievements, loyalty points, certificates and the data behind each member's dashboard.

Competition

Leaderboard & Tournaments

Leaderboard and tournament endpoints in the IQ Earners API: live rankings, tournament enrollment, schedules and results for timed competitive quiz events.

Billing

Payments & Enrollment

Payments in the IQ Earners API: entry fees, UPI checkout through Cashfree orders, payment verification and how membership is activated after payment.

Exams

Mock Exam API

Mock exam endpoints in the IQ Earners API: exam catalogue, secure question delivery, timed submission, retake rules and downloadable PDF score reports.

Enterprise

Organization API

Organisation endpoints in the IQ Earners API for schools and institutes: sign-in, private quizzes, analytics, API keys and LMS integration hooks.

Integrations

Webhooks & Events

Webhooks in the IQ Earners API: which outbound events are sent, the JSON payload shape, delivery retries and how to verify each request is genuine.

Reference

Errors & Rate Limits

Errors and rate limits in the IQ Earners API: HTTP status codes, error response format, when and how to retry, and the request limits per platform.