Skip to main content
POST
/
api
/
udemy
/
courses
/
search
/udemy/courses/search
curl --request POST \
  --url https://api.anysite.io/api/udemy/courses/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "relevance",
  "language": "<string>",
  "caption_language": "<string>",
  "topic_id": "<string>",
  "certification_only": false
}
'
[
  {
    "id": "<string>",
    "course_title": "<string>",
    "@type": "UdemyCourseSearchResult",
    "headline": "<string>",
    "image": "<string>",
    "web_url": "<string>",
    "rating": 123,
    "rating_count": 123,
    "lecture_count": 123,
    "duration_seconds": 123,
    "level": "<string>",
    "language": "<string>",
    "is_free": true,
    "is_practice_test": true,
    "learning_outcomes": [],
    "instructors": [],
    "badges": [],
    "updated_date": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Search keyword

Minimum string length: 1
Examples:

"python"

"machine learning"

"excel"

count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:relevance

Result ordering

Available options:
relevance,
most_reviewed,
highest_rated,
newest
price
enum<string> | null

Filter by price (free or paid)

Available options:
free,
paid
level
enum<string> | null

Filter by difficulty level

Available options:
all,
beginner,
intermediate,
expert
duration
enum<string> | null

Filter by total video duration bucket

Available options:
extra_short,
short,
medium,
long,
extra_long
min_rating
enum<string> | null

Filter by minimum average rating

Available options:
4.5,
4.0,
3.5,
3.0
language
string | null

Filter by course language ISO code (e.g. 'en', 'es', 'de')

caption_language
string | null

Filter by available caption/subtitle language ISO code (e.g. 'en', 'es')

topic_id
string | null

Filter by numeric topic id (e.g. '7380' for Python)

certification_only
boolean
default:false

Return only certification-preparation courses

Response

Successful Response

id
string
required
course_title
string
required
@type
string
default:UdemyCourseSearchResult
headline
string | null
image
string | null
web_url
string | null
rating
number | null
rating_count
integer | null
lecture_count
integer | null
duration_seconds
integer | null
level
string | null
language
string | null
is_free
boolean | null
is_practice_test
boolean | null
learning_outcomes
string[]
instructors
object[]
badges
string[]
updated_date
string | null