---
title: "Udemy API: course search as JSON | Perceptlayer"
description: "Udemy API for course search by level, language and price, course details with enrollment and curriculum, and reviews as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/udemy
---

[APIs](https://perceptlayer.com/apis) / [Apps and media](https://perceptlayer.com/verticals/apps) / Udemy

1 credit per call 3 endpoints 18 datapoints 

# Udemy API

Udemy API for course search by level, language and price, course details with enrollment and curriculum, and reviews as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Udemy

GET /v1/udemy/search?query=python 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "2776760",
        "title": "100 Days of Code™: The Complete Python Pro Bootcamp",
        "headline": "Master Python by building 100 projects in 100 days. Learn data science, automation, build websites, games and apps!",
        "instructors": [
          "Dr. Angela Yu, Developer and Lead Instructor"
        ],
        "rating": 4.68,
        "rating_count": 440951,
        "duration_seconds": 204474,
        "level": "All Levels",
        "locale": "en-US",
        "last_updated": "2026-11-13T00:00:00Z",
        "image": "https://img-c.udemycdn.com/course/480x270/2776760_f176_10.jpg",
        "url": "https://www.udemy.com/course/100-days-of-code",
        "skills": [
          "You will master the Python programming language by building 100 unique projects over 100 days.",
          "You will learn automation, game, app and web development, data science and machine learning all using Python.",
          "You will be able to program in Python professionally"
        ],
        "is_free": false,
        "price": 104.99,
        "sale_price": 104.99,
        "discount": 83,
        "currency": "EUR"
      },
      {
        "id": "6413585",
        "title": "Complete 2026 Python Bootcamp: Learn Python from Scratch",
        "headline": "Master Python Programming from Scratch: Build Real-World Projects and Become Job-Ready in 2026",
        "instructors": [
          "Haris Ali Khan"
        ],
        "rating": 4.57,
        "rating_count": 19765,
        "duration_seconds": 63794,
        "level": "Beginner",
        "locale": "en-US",
        "last_updated": "2026-02-08T00:00:00Z",
        "image": "https://img-c.udemycdn.com/course/480x270/6413585_ec1f_2.jpg",
        "url": "https://www.udemy.com/course/codewithharry-python",
        "skills": [
          "Master Python Basics: Learn Python programming fundamentals, including variables, data types, loops, and Object-Oriented Programming.",
          "Work with Real-World Data: Gain hands-on experience using Python libraries like Flask, Requests and Shutil.",
          "Learn to code in the AI Era with tools like Cursor AI, GitHub Copilot to skyrocket your Productivity in Python."
        ],
        "is_free": false,
        "price": 19.99,
        "sale_price": 19.99,
        "discount": 40,
        "currency": "EUR"
      },
      {
        "id": "7054969",
        "title": "The Complete Python Bootcamp (13Hours): Go from Zero to Hero",
        "headline": "The Only Python Course with 200+ Visual Animations:  Learn Fast, Practice Hard & Build Real-World Projects",
        "instructors": [
          "Baraa Khatib Salkini"
        ],
        "rating": 4.77,
        "rating_count": 2239,
        "duration_seconds": 46705,
        "level": "All Levels",
        "locale": "en-US",
        "last_updated": "2026-10-27T00:00:00Z",
        "image": "https://img-c.udemycdn.com/course/480x270/7054969_57d0_2.jpg",
        "url": "https://www.udemy.com/course/the-complete-python-bootcamp-13hours-go-from-zero-to-hero",
        "skills": [
          "You’ll learn what Python is, how it works, and why it powers modern tech",
          "You’ll understand how Python executes code and manages variables in memory",
          "You’ll master core data types like strings, numbers, and booleans"
        ],
        "is_free": false,
        "price": 19.99,
        "sale_price": 19.99,
        "discount": 50,
        "currency": "EUR"
      }
    ],
    "pagination": {
      "page": 1,
      "page_size": 24
    }
  },
  "meta": {
    "pagination": "page",
    "filters": {
      "q": "python",
      "p": 1
    },
    "price_status": "ok",
    "unavailable_fields": {
      "enrollment": "The server-rendered search card has no enrollment count; it is returned on the course route."
    },
    "endpoint_family": "search",
    "upstream_requests": 1,
    "duration_ms": 9487,
    "request_id": "req_b1258893a1924a3eb44f2a402931fbfb",
    "credits_charged": 1,
    "credits_remaining": 4806
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | title string | headline string | instructors string\[\] | rating number | rating\_count integer | duration\_seconds integer | level string | locale string | last\_updated string | image url | url url | skills string\[\] | is\_free boolean | price number | sale\_price number | discount integer | currency string |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 2776760 | 100 Days of Code™: The Complete Python Pro Bootcamp | Master Python by building 100 projects in 100 days. Learn data science, automation, build websites, games and apps! | \[1 item\] | 4.68 | 440951 | 204474 | All Levels | en-US | 2026-11-13T00:00:00Z | https://img-c.udemycdn.com/course/480x270/2776760\_f176\_10.jpg | https://www.udemy.com/course/100-days-of-code | \[3 items\] | false | 104.99 | 104.99 | 83 | EUR |
| 2 | 6413585 | Complete 2026 Python Bootcamp: Learn Python from Scratch | Master Python Programming from Scratch: Build Real-World Projects and Become Job-Ready in 2026 | \[1 item\] | 4.57 | 19765 | 63794 | Beginner | en-US | 2026-02-08T00:00:00Z | https://img-c.udemycdn.com/course/480x270/6413585\_ec1f\_2.jpg | https://www.udemy.com/course/codewithharry-python | \[3 items\] | false | 19.99 | 19.99 | 40 | EUR |
| 3 | 7054969 | The Complete Python Bootcamp (13Hours): Go from Zero to Hero | The Only Python Course with 200+ Visual Animations: Learn Fast, Practice Hard & Build Real-World Projects | \[1 item\] | 4.77 | 2239 | 46705 | All Levels | en-US | 2026-10-27T00:00:00Z | https://img-c.udemycdn.com/course/480x270/7054969\_57d0\_2.jpg | https://www.udemy.com/course/the-complete-python-bootcamp-13hours-go-from-zero-to-hero | \[3 items\] | false | 19.99 | 19.99 | 50 | EUR |

Recorded from our API · 3 items shown · 18 datapoints per item GET /v1/udemy/search?query=python

18 datapoints

### Identity

-   id string
-   title string

### Contact

-   url url

### Reputation

-   rating number
-   rating\_count integer
-   image url

### Price

-   price number
-   sale\_price number
-   discount integer
-   currency string

### Other

-   headline string
-   instructors string\[\]
-   duration\_seconds integer
-   level string
-   locale string
-   last\_updated string
-   skills string\[\]
-   is\_free boolean

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/udemy/search?query=python" \
  -H "X-API-Key: $API_KEY"
```

Udemy · 3 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/udemy/course`](https://perceptlayer.com/apis/udemy/course) | `id` +1 optional | `id` `title` `headline` `description` `instructors` `rating` +13 more | 1 credit |
| [GET `/v1/udemy/reviews`](https://perceptlayer.com/apis/udemy/reviews) | `id` +1 optional | `id` `rating` `text` `created` `reviewer` | 1 credit |
| [GET `/v1/udemy/search`](https://perceptlayer.com/apis/udemy/search) | `query` +6 optional | `id` `title` `headline` `instructors` `rating` `rating_count` +12 more | 1 credit |

Overview

## About the Udemy API

## What you can get

The Udemy API returns Udemy course and review data as JSON through 3 endpoints.

-   **Search:** `search` takes a `query`, with `level` (Beginner, Intermediate, Expert or All Levels), `language`, `price` (free or paid), `free`, `sort` (relevance, most-reviewed, highest-rated or newest) and `page`.
-   **Courses:** `course` takes a course `id`.
-   **Reviews:** `reviews` takes a course `id`, with `page`.

The recorded search for "python" returns 24 `items` per page, each with `id`, `title`, `headline`, `instructors`, `rating`, `rating_count`, `duration_seconds`, `level`, `locale`, `last_updated`, `image`, `url`, `skills`, `is_free`, `price`, `sale_price`, `discount` and `currency`. The first was 100 Days of Code: The Complete Python Pro Bootcamp by Dr. Angela Yu, rated 4.68 from 440,951 ratings.

## How a call works

Search, then look up: `GET /v1/udemy/search?query=python` with your key in the `X-API-Key` header returns each course's `id`. Pass it to `course` or `reviews`, for example `GET /v1/udemy/course?id=2776760`. `course` adds `description`, `enrollment` (1,906,269 for that course), `review_summary` and the `curriculum` by section. Page with `page`; `reviews` returns a `next` page number. Every successful call costs 1 credit; failed calls cost nothing.

Apps and media JSON REST MCP

### More apps and media APIs

[Apple App Store](https://perceptlayer.com/apis/apple-app-store) [Apple Podcasts](https://perceptlayer.com/apis/apple-podcasts) [arXiv](https://perceptlayer.com/apis/arxiv) [Audible](https://perceptlayer.com/apis/audible) [Bandcamp](https://perceptlayer.com/apis/bandcamp) [Chrome Web Store](https://perceptlayer.com/apis/chrome-web-store) [CISA KEV](https://perceptlayer.com/apis/cisa-kev) [ClinicalTrials.gov](https://perceptlayer.com/apis/clinicaltrials) [Coursera](https://perceptlayer.com/apis/coursera) [crates.io](https://perceptlayer.com/apis/crates-io) [Crossref](https://perceptlayer.com/apis/crossref) [Discogs](https://perceptlayer.com/apis/discogs)

Use cases

### Find the highest-rated courses on a topic for one level

`Use the Udemy API to find the highest-rated courses on a topic for one level` 

### List free courses on a subject with \`price=free\`

`` Use the Udemy API to list free courses on a subject with `price=free` `` 

### Track a course's enrollment, rating and price over time

`Use the Udemy API to track a course's enrollment, rating and price over time` 

### Read the newest student reviews of a course

`Use the Udemy API to read the newest student reviews of a course` 

FAQ

## Questions

**How much does the Udemy API cost?**

Each successful call costs one credit, whichever endpoint you call, and each page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Does search return enrollment counts?**

No. Search results carry rating and rating count; \`enrollment\` comes from \`course\`.

**What do reviews return?**

Each review has \`id\`, \`rating\`, \`text\`, \`created\` and \`reviewer\`, newest first in the recording, with a \`next\` page number.

**Do I need a Udemy account?**

No. You call this Udemy API with your Perceptlayer key in the \`X-API-Key\` header, with no Udemy login.

**Is this the official Udemy API?**

No. Perceptlayer is an independent service and is not affiliated with Udemy. It returns Udemy data as JSON with a Perceptlayer key, so there is no Udemy developer account, app review or partner approval to get first. It only reads data: if Udemy has an official API and you need to act on your own Udemy account, such as posting, managing orders or reading private data, use that one.

**Should I build an Udemy scraper instead?**

You can, but an Udemy scraper is code you maintain: page changes break it, requests get blocked, and Udemy's terms govern how you collect data. The Udemy API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Udemy API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
