---
title: "Get published courses"
method: POST
path: "/public/get-all-courses"
tags: ["Course"]
---

# Get published courses

`POST /public/get-all-courses`

Get details of all published courses with this API

Rate limit: Maximum 15 requests in a window of 1m.

## Request body

- object
  - `data` object[], required
    - `data` object, required
      - `searchFilter` object — Optional search filter to find specific courses
        - `searchTerm` string, required — Search term to filter courses
      - `fermionSchoolId` string, required — Your school ID

## Response `200`

API Response Body

- object[]
  - `output` union, required
    - object
      - `status` 'ok', required
      - `data` object, required
        - `courses` object[], required — List of published courses
          - `fermionCourseId` string, required — Unique identifier for the course
          - `courseName` string, required — Name of the course
          - `courseSlug` string, required — URL-friendly identifier for the course
          - `courseLink` string, uri, required — URL to access the course
          - `thumbnailUrl` string, uri, required — URL of the course thumbnail image
          - `createdAt` string, required — Timestamp when the course was created
          - `lastUpdatedAt` string, required — Timestamp when the course was last updated
          - `ratingOutOf10` number, required — Course rating on a scale of 1-10
          - `instructors` object[], required — List of instructors for the course
            - `name` string, required — Name of the instructor
            - `profilePhotoUrl` string, uri, required — URL of the instructor's profile photo
            - `longDescriptionMarkdown` string, nullable — Detailed markdown description of the instructor
            - `tagline` string, nullable — Short tagline or title of the instructor
    - object
      - `status` 'error', required
      - `errorMessage` string, required

---

[API](https://skmtc.net/fermion/apis/fermion-backend-api.md) · [All operations](https://skmtc.net/fermion/apis/fermion-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fermion/fermion-backend-api/revisions/7ce364c8820b/schema)
