REST API · v1

API Reference

Integrate QuantLabs into your own tools, dashboards, or bots. All endpoints return JSON. Authentication uses Bearer tokens.

Authentication

Authenticate by including your API key as a Bearer token in the Authorization header. Generate keys from Account Settings.

Request example
curl -X GET \
  https://quantlabs.academy/api/v1/courses \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Courses

GET/v1/courses

Returns the full course catalogue with tier, module count, and enrolment status.

GET/v1/courses/:idAuth required

Returns full course detail including modules, lessons, and progress for the authenticated user.

POST/v1/courses/:id/enrolAuth required

Enrols the authenticated user into a course. Returns updated enrolment state.

Progress

GET/v1/progressAuth required

Returns the authenticated user's progress across all enrolled courses.

PATCH/v1/progress/:lessonIdAuth required

Marks a lesson as complete or updates progress state.

Assessments

GET/v1/assessment/:idAuth required

Returns a set of questions for the given assessment ID.

POST/v1/assessment/:id/submitAuth required

Submits answers for an assessment. Returns score, pass/fail, and feedback.

Certifications

GET/v1/certificationsAuth required

Returns all certifications earned by the authenticated user.

GET/v1/certifications/:certId/verify

Public endpoint. Verifies a certificate by ID and returns holder name, tier, and issue date.

Response format

All responses are JSON with a data key for the payload and a meta key for pagination.

Response example
{
  "data": [
    {
      "id": "t1-m1",
      "tier": "T1",
      "title": "Python for Traders",
      "modules": 12,
      "enrolled": true,
      "progress": 0.58
    }
  ],
  "meta": {
    "total": 12,
    "page": 1,
    "per_page": 20
  }
}