microlink logo

Turn streamable.com into structured data

Microlink SDK

Make your content attractive

Microlink SDK converts streamable.com links into beautiful previews, engaging better your links.

iframe

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://streamable.com/46ont', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

large

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://streamable.com/46ont', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

normal

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://streamable.com/46ont', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

small

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://streamable.com/46ont', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Features

Capabilities under the hood.

  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Unified Metadata
    Normalized from Open Graph, JSON+LD or HTML markup, such as author, images, colors, dates, lang, etc.
  • Caching Level
    Using Microlink CDN to deliver a different resource each time the query string changes.
  • Color Detection
    Get predominant and complementary colors per every image detected.
  • Contextual Data
    Get more from any data, expanding it to get extra useful information.
  • Media Detection
    Get the original source of any image, video or audio.
  • Native Embeds
    Using oEmbed to get the embedded representation of any URL.
  • Prerender Ready
    Cloud based solution with superior operational performance.
  • Cloud Browsing
    Fast, scalable, and reliable browser automation.
  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Unified Metadata
    Normalized from Open Graph, JSON+LD or HTML markup, such as author, images, colors, dates, lang, etc.
  • Caching Level
    Using Microlink CDN to deliver a different resource each time the query string changes.
  • Color Detection
    Get predominant and complementary colors per every image detected.
  • Contextual Data
    Get more from any data, expanding it to get extra useful information.
  • Media Detection
    Get the original source of any image, video or audio.
  • Native Embeds
    Using oEmbed to get the embedded representation of any URL.
  • Prerender Ready
    Cloud based solution with superior operational performance.
  • Cloud Browsing
    Fast, scalable, and reliable browser automation.

Microlink API

Build APIs from websites

Microlink Query Language (MQL) is a programmatic way to getting content from any URL.

Using MQL (docs)

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://streamable.com/46ont', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Using Microlink CLI (docs)

$ microlink-api https://streamable.com/46ont
{
  "title": "jesus fuck - Streamable",
  "description": "Check out this video on Streamable using your phone, tablet or desktop.",
  "lang": "en",
  "author": null,
  "publisher": "Streamable",
  "image": {
    "url": "https://cdn.microlink.io/data/assets/streamable.com!46ont/cdn-b-east.streamable.com!image!46ont.jpg!expires=1581262200.jpg&token=GmloILH20_u4oNSYjlq4KA",
    "type": "jpg",
    "size": 183575,
    "height": 1080,
    "width": 1920,
    "size_pretty": "184 kB",
    "palette": [
      "#1470DC",
      "#DFC4A5",
      "#0B3D79",
      "#A3886A",
      "#BCA284",
      "#59413A"
    ],
    "background_color": "#DFC4A5",
    "color": "#0E509D",
    "alternative_color": "#0B3D79"
  },
  "audio": null,
  "url": "https://streamable.com/46ont",
  "iframe": {
    "html": "<iframe class=\"streamable-embed\" src=\"https://streamable.com/o/46ont\" frameborder=\"0\" scrolling=\"no\" width=\"1280\" height=\"720\" allowfullscreen></iframe>",
    "scripts": []
  },
  "date": "2020-02-09T13:30:22.058Z",
  "logo": {
    "url": "https://cdn.microlink.io/data/assets/streamable.com!46ont/statics.streamable.com!static!favicon.ico.ico",
    "type": "ico",
    "size": 5430,
    "height": 16,
    "width": 16,
    "size_pretty": "5.43 kB",
    "palette": [],
    "background_color": null,
    "color": null,
    "alternative_color": null
  },
  "video": {
    "url": "https://cdn.microlink.io/data/assets/streamable.com!46ont/cdn-b-east.streamable.com!video!mp4!46ont.mp4!expires=1581262200.mp4&token=teFAfVm-KWR8yTOvtzHsRQ",
    "type": "mp4",
    "duration": 44.562,
    "size": 40659092,
    "height": 720,
    "width": 1280,
    "duration_pretty": "45s",
    "size_pretty": "40.7 MB"
  },
  "screenshot": {
    "url": "https://cdn.microlink.io/screenshot/streamable.png"
  }
}