Try a URL

Paste any link to run it through the live engine. No API key needed.

Type
video
Resolved via
oembed
Provider
YouTube

Use it

curl "https://embedblocks.com/api/embed?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ&key=YOUR_KEY"
JSON response
{
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "requested_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "type": "video",
  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
  "description": null,
  "author_name": "Rick Astley",
  "author_url": "https://www.youtube.com/@RickAstleyYT",
  "provider_name": "YouTube",
  "provider_url": "https://www.youtube.com/",
  "thumbnail_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",
  "thumbnail_width": 480,
  "thumbnail_height": 360,
  "favicon": null,
  "html": "<div class=\"eb-embed\" style=\"margin-inline:auto;\"><div style=\"position:relative;width:100%;padding-top:56.5000%;\"><iframe loading=\"lazy\" style=\"position:absolute;top:0;left:0;width:100%;height:100%;border:0;\" src=\"https://www.youtube.com/embed/dQw4w9WgXcQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)\"></iframe></div></div>",
  "width": 200,
  "height": 113,
  "source": "oembed",
  "cache_age": 86400,
  "fetched_at": "2026-11-11T06:39:04.870Z"
}