---
title: "Get course metadata by slug"
method: POST
path: "/public/get-course-metadata-by-slug"
tags: ["Course"]
---

# Get course metadata by slug

`POST /public/get-course-metadata-by-slug`

Get detailed metadata of a specific course using its slug

Authentication with the "FERMION-API-KEY" header is required to use this endpoint.

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

## Request body

- object
  - `data` object[], required
    - `data` object, required
      - `courseSlug` string, required — The slug of the course to fetch metadata for

## Response `200`

API Response Body

- object[]
  - `output` union, required
    - object
      - `status` 'ok', required
      - `data` object, required
        - `title` string, required — Title of the course
        - `shortDescription` string, required — Short description of the course
        - `longDescription` string, required — Long description of the course
        - `thumbnailUrl` string, uri, required — URL of the course thumbnail image
        - `slug` string, required — URL-friendly slug of the course
        - `createdAt` string, date-time, required — Timestamp when the course was created
        - `lastUpdatedAt` string, date-time, required — Timestamp when the course was last updated
        - `ratingOutOf10` number, required — Course rating on a scale of 1-10
        - `instructors` object[], required — List of course instructors
          - `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
        - `faqs` object[], required — List of frequently asked questions about the course
          - `questionMarkdown` string, required — FAQ question in markdown format
          - `answerMarkdown` string, required — FAQ answer in markdown format
        - `courseItemCount` object, required — Count of different types of content in the course
          - `articlesCount` number, required — Number of articles in the course
          - `videosCount` number, required — Number of videos in the course
          - `quizzesCount` number, required — Number of quizzes in the course
          - `codingLabsCount` number, required — Number of coding labs in the course
          - `ebooksCount` number, required — Number of ebooks in the course
          - `contestsCount` number, required — Number of contests in the course
          - `assignmentsCount` number, required — Number of assignments in the course
        - `courseSpecificData` union, required
          - object
            - `type` 'CohortBasedCourse', required
            - `cohortStartDate` string, date-time, required
            - `cohortEndDate` string, date-time, required
          - object
            - `type` 'RecordedCourse', required
    - 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)
