Educational course or class offering with instructor, curriculum, enrollment, pricing, and certification information. Used for online learning platforms, universities, and training programs.
https://api.mockly.codes/courses?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/coursesGet a collection of courses
/education/courses/courses/:idGet a single course by ID
/education/courses/:id/courses/metaGet resource metadata and schema
/education/courses/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/courses?q=laptopGET https://api.mockly.codes/courses?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 courses
fetch('https://api.mockly.codes/courses?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/courses?count=10'
)
data = response.json()curl "https://api.mockly.codes/courses?count=10"fetch('https://api.mockly.codes/courses?nocache=true')idintegerUnique identifier for the course
random_inttitlestringCourse title or name (e.g., Introduction to Web Development, Data Science Fundamentals)
course_titledescriptionstringDetailed description of the course content, learning objectives, and what students will learn
paragraphinstructorstringFull name of the course instructor or teacher
namecategorystringCourse category or subject area (e.g., Programming, Business, Design, Science)
course_categorylevelstringDifficulty level or target audience (e.g., beginner, intermediate, advanced, all-levels)
course_leveldurationintegerTotal course duration in hours
course_durationlessonsintegerNumber of lessons or modules in the course
random_intenrolledintegerTotal number of students currently enrolled in the course
random_intratingnumberAverage student rating, typically on a scale of 1-5
ratingpricenumberCourse price or enrollment fee
pricecurrencystringISO currency code for the course price (e.g., USD, EUR, GBP)
currencylanguagestringLanguage code of the course content (e.g., en, es, fr)
languagecertificatebooleanWhether the course offers a certificate upon completion
booleanthumbnailstringURL to the course thumbnail or cover image
image_urluricreated_atstringTimestamp when the course was created
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request