---
title: "Get localized course price"
method: POST
path: "/public/get-course-price"
tags: ["Course"]
---

# Get localized course price

`POST /public/get-course-price`

Get price of a single course depending on the country of user requesting it

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

## Request body

- object
  - `data` object[], required
    - `data` object, required
      - `fermionCourseId` string, required — Course ID of the course. You can find IDs of your course using `get-all-courses` API endpoint
      - `fermionSchoolId` string, required — Your school ID
      - `discountCouponCode` union, required
        - string — Any discount code you want to apply to get updated prices. Send null if no discount code should be applied
        - unknown
        - unknown
      - `userCountryHint` string, nullable — Two letter country code of user to force apply regional pricing. If not provided then we will use the country code of the user making this request.

## Response `200`

API Response Body

- object[]
  - `output` union, required
    - object
      - `status` 'ok', required
      - `data` object, required
        - `prices` union[], required — Array of available pricing plans for the course. Each plan includes payment options, currency information, applicable discounts, and tax details
          - union
            - object
              - …
            - object
              - …
    - 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)
