Video content with creator information, duration, engagement metrics (views, likes, dislikes, comments), category, tags, and publication date. Used for video sharing platforms, content management systems, and media libraries.
https://api.mockly.codes/videos?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/videosGet a collection of videos
/media/videos/videos/:idGet a single video by ID
/media/videos/:id/videos/metaGet resource metadata and schema
/media/videos/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/videos?q=laptopGET https://api.mockly.codes/videos?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 videos
fetch('https://api.mockly.codes/videos?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/videos?count=10'
)
data = response.json()curl "https://api.mockly.codes/videos?count=10"fetch('https://api.mockly.codes/videos?nocache=true')idintegerUnique identifier for the video
random_inttitlestringTitle of the video
sentencedescriptionstringVideo description or summary
paragraphcreatorstringFull name of the video creator or channel
namecreator_idintegerForeign key reference to the user or channel who created the video
random_intdurationintegerVideo duration in seconds
video_durationviewsintegerTotal number of times the video has been viewed
random_intlikesintegerNumber of likes or positive reactions
random_intdislikesintegerNumber of dislikes or negative reactions
random_intcomments_countintegerTotal number of comments on the video
random_intcategorystringVideo category (e.g., Entertainment, Education, Gaming, Music, Sports)
video_categorytagsarrayArray of tags for categorization and search
tagsthumbnailstringURL to the video thumbnail image
image_urluriurlstringURL to watch or download the video
urluripublished_atstringTimestamp when the video was published
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