Scraper API
Udemyudemy.courseAvailable
Udemy course
What its page states: title, headline, category, rating and number of ratings, instructors, level, language, caption languages, length, last update, what it teaches, who it is for, and its sections with their lengths.
Give it a course's name in its address on Udemy, or that address.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 1, 1 required
- Record
- 19 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/udemy.course/runs
sent, and answered
a record of the run19 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 19 fields are set down here; the whole record is below.

What it is used for
- Compare courses on a subject
- Set the
rating,rating_count,duration_minutesandlast_updatedof several courses side by side before choosing one. - Keep a catalogue of courses
- Store a course's title, headline, category, instructors, level, language and what it teaches, as its page states them.
- See how a course is built
sectionslists the curriculum's sections in order with the length of each, to compare the outline of one course with another.
What you send
A course's name in its address on Udemy, or that address. It is the one input.
coursestring Required- The course's name in its address on Udemy, e.g.
the-complete-web-development-bootcamp; or that address itself (https://www.udemy.com/course/the-complete-web-development-bootcamp/).
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/udemy.course/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"course":"java-tutorial"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("udemy.course", {"course": "java-tutorial"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("udemy.course", { course: "java-tutorial" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "udemy.course", map[string]any{"course": "java-tutorial"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("udemy.course", Map.of("course", "java-tutorial"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run udemy.course --input course=java-tutorialInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
What its page states: title, headline, category, rating and number of ratings, instructors, level, language, caption languages, length, last update, what it teaches, who it is for, and its sections with their lengths. A record has 19 fields. One we could not read is null, never an empty string or a zero.
{
"slug": "java-tutorial",
"url": "https://www.udemy.com/course/java-tutorial/",
"title": "Java Tutorial for Complete Beginners",
"headline": "Learn to program using the Java programming language",
"category": "Development",
"rating": 4.4,
"rating_count": 103223,
"instructors": [
"John Purcell"
],
"level": "All Levels",
"language": "en-GB",
"caption_languages": [
"bg-BG [Auto]",
"cs-CZ [Auto]",
"da-DK [Auto]"
],
"duration_minutes": 970,
"last_updated": "2026-04-12",
"is_free": false,
"image": "https://img-c.udemycdn.com/course/480x270/24823_963e_14.jpg",
"what_you_learn": [
"Learn to program in Java"
],
"audience": [
"Anyone who wants to learn Java"
],
"sections": [
{
"title": "Introduction",
"minutes": 50
},
{
"title": "Programming Core Java",
"minutes": 622
},
{
"title": "The Java Collections Framework",
"minutes": 197
}
],
"fetched_at": "2026-11-19T18:07:41.694265Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: caption_languages: 22 items, the first 3 shown; sections: 8 items, the first 3 shown.
The fields of a record
slugstring- The course's name in its address, e.g.
the-complete-web-development-bootcamp. urlstring- The course's page on udemy.com.
titlestring- The course's title.
headlinestring or null- The line under the title that says what the course is.
categorystring or null- The category Udemy files the course in, e.g.
Development. ratingnumber or null- The average rating, 0.5 to 5. Null for a course without ratings.
rating_countinteger or null- The number of ratings.
instructorslist of strings- The instructors, as the page names them, e.g.
Dr. Angela Yu, Developer and Lead Instructor. levelstring or null- The level the course is for, e.g.
All Levels,Beginner. languagestring or null- The language the course is taught in, as a locale code, e.g.
en-US. caption_languageslist of strings- The languages of the captions, as locale codes;
[Auto]after a code marks captions made automatically. duration_minutesinteger or null- The length of all lectures together, in minutes.
last_updateddate or null- The day the course was last updated.
is_freeboolean or null- True for a course Udemy offers without payment.
imagestring or null- The course's cover image.
what_you_learnlist of strings- The points under "What you'll learn", in the page's order.
audiencelist of strings- Who the course is for, in the instructor's words.
sectionslist of objects- The sections of the curriculum, in order, each with its length. The page states the first 50 of a longer curriculum.Each holds
title,minutes. fetched_atdatetime- When the page was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- One run reads one course. There is no search: a course is named by its page.
- No price is returned: Udemy shows each visitor and country another one.
- Reviews, the number of students and the single lectures are not read.
Questions
What does Udemy course return?
What its page states: title, headline, category, rating and number of ratings, instructors, level, language, caption languages, length, last update, what it teaches, who it is for, and its sections with their lengths. A record has 19 fields, among them slug, url, title, headline, category and rating. A value that could not be read is null, never an empty string or a zero.
What do I send?
A course's name in its address on Udemy, or that address. The input course is required.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
What does it not do?
One run reads one course. There is no search: a course is named by its page. No price is returned: Udemy shows each visitor and country another one. Reviews, the number of students and the single lectures are not read.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id udemy.course and the same input. It costs what the same API call costs.
Udemy
A course's public page on Udemy, as a visitor who is not signed in sees it.
- Industry
- News, music and books
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.