APIs / Apps and media / Udemy

1 credit per call3 endpoints18 datapointsChecked working 6 Dec 2026

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.

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 OKJSONX-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.

#idstringtitlestringheadlinestringinstructorsstring[]ratingnumberrating_countintegerduration_secondsintegerlevelstringlocalestringlast_updatedstringimageurlurlurlskillsstring[]is_freebooleanpricenumbersale_pricenumberdiscountintegercurrencystring
12776760100 Days of Code™: The Complete Python Pro BootcampMaster Python by building 100 projects in 100 days. Learn data science, automation, build websites, games and apps![1 item]4.68440951204474All Levelsen-US2026-11-13T00:00:00Zhttps://img-c.udemycdn.com/course/480x270/2776760_f176_10.jpghttps://www.udemy.com/course/100-days-of-code[3 items]false104.99104.9983EUR
26413585Complete 2026 Python Bootcamp: Learn Python from ScratchMaster Python Programming from Scratch: Build Real-World Projects and Become Job-Ready in 2026[1 item]4.571976563794Beginneren-US2026-02-08T00:00:00Zhttps://img-c.udemycdn.com/course/480x270/6413585_ec1f_2.jpghttps://www.udemy.com/course/codewithharry-python[3 items]false19.9919.9940EUR
37054969The Complete Python Bootcamp (13Hours): Go from Zero to HeroThe Only Python Course with 200+ Visual Animations: Learn Fast, Practice Hard & Build Real-World Projects[1 item]4.77223946705All Levelsen-US2026-10-27T00:00:00Zhttps://img-c.udemycdn.com/course/480x270/7054969_57d0_2.jpghttps://www.udemy.com/course/the-complete-python-bootcamp-13hours-go-from-zero-to-hero[3 items]false19.9919.9950EUR

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

18 datapoints

Identity

  • idstring
  • titlestring

Contact

  • urlurl

Reputation

  • ratingnumber
  • rating_countinteger
  • imageurl

Price

  • pricenumber
  • sale_pricenumber
  • discountinteger
  • currencystring

Other

  • headlinestring
  • instructorsstring[]
  • duration_secondsinteger
  • levelstring
  • localestring
  • last_updatedstring
  • skillsstring[]
  • is_freeboolean

Playground

Run this API

cURLshell
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.

EndpointRequired parametersReturnsCost
GET/v1/udemy/course
id+1 optional
idtitleheadlinedescriptioninstructorsrating+13 more
1 credit
GET/v1/udemy/reviews
id+1 optional
idratingtextcreatedreviewer
1 credit
GET/v1/udemy/search
query+6 optional
idtitleheadlineinstructorsratingrating_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 mediaJSONRESTMCP

More apps and media APIs

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.