Dev.to hub

Dev.to Videos API

Dev.to posts that carry a video, with the video and embed URLs already separated.

GET /v1/dev-to/videos

1 credit Failed requests are free

About this endpoint

GET /v1/dev-to/videos returns videos, a page of posts that carry a video. Each row has id, title, path, url, videoUrl, embedUrl, authorId and authorName. videoUrl is the video's own URL, usually on YouTube, and embedUrl is the URL Dev.to plays it from.

Use page and limit to walk the list, up to 1000 rows per request. Rows are the order Dev.to serves. Both video fields can be null on an older post whose video link is gone, so a missing value does not mean the post is not a video post.

Dev.to Videos API FAQ

What counts as a video post?

A Dev.to post that lists a video. The list includes the post and its video fields. It is not a transcript route, so there is no caption text here.

How many credits does a videos page cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth. Each paginated page is a separate billed request.

What is the difference between videoUrl and embedUrl?

videoUrl is the video's own address, usually a YouTube watch URL. embedUrl is the address Dev.to embeds. Use videoUrl when you store the original link and embedUrl when you render a player.