microlink logo

Turn netflix.com into structured data

Microlink SDK

Make your content attractive

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

large

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

module.exports = props => {

  const { status, data } = await mql('https://www.netflix.com/es-en/title/80057281', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

normal

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

module.exports = props => {

  const { status, data } = await mql('https://www.netflix.com/es-en/title/80057281', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

small

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

module.exports = props => {

  const { status, data } = await mql('https://www.netflix.com/es-en/title/80057281', {
    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://www.netflix.com/es-en/title/80057281', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Using Microlink CLI (docs)

$ microlink-api https://www.netflix.com/es-en/title/80057281
{
  "title": "Stranger Things | Netflix Official Site",
  "description": "When a young boy vanishes, a small town uncovers a mystery involving secret experiments, terrifying supernatural forces and one strange little girl.",
  "lang": "en",
  "author": null,
  "publisher": "netflix.com",
  "image": {
    "url": "https://cdn.microlink.io/data/assets/netflix.com!es-en!title!80057281/occ-0-3281-358.1.nflxso.net!dnm!api!v6!E8vDc_W8CLv7-yMQu8KMEC7Rrr8!AAAABVQ3r-RD5ggW7SMOGIC0ATHOhcyr_",
    "type": "jpg",
    "size": 298000,
    "height": 720,
    "width": 1280,
    "size_pretty": "298 kB",
    "palette": [
      "#AC1426",
      "#F18894",
      "#715F07",
      "#649BAB",
      "#B69691",
      "#684C41"
    ],
    "background_color": "#AC1426",
    "color": "#FBD9DD",
    "alternative_color": "#F0CB13"
  },
  "audio": null,
  "url": "https://www.netflix.com/es-en/title/80057281",
  "iframe": null,
  "date": "2016-07-15T12:00:00.000Z",
  "logo": {
    "url": "https://cdn.microlink.io/data/assets/netflix.com!es-en!title!80057281/logo.clearbit.com!netflix.com.png",
    "type": "png",
    "size": 3598,
    "height": 128,
    "width": 128,
    "size_pretty": "3.6 kB",
    "palette": [
      "#E30C14",
      "#F88185",
      "#88040C",
      "#91070C",
      "#91070C",
      "#040404"
    ],
    "background_color": "#F88185",
    "color": "#73060A",
    "alternative_color": "#79060A"
  },
  "video": {
    "url": "https://cdn.microlink.io/data/assets/netflix.com!es-en!title!80057281/occ-0-3281-358.1.nflxso.net!so!soa6!954!227086954.mp4!v=1.mp4",
    "type": "mp4",
    "duration": 169.94,
    "size": 21143351,
    "height": 720,
    "width": 1280,
    "duration_pretty": "3m",
    "size_pretty": "21.1 MB"
  },
  "screenshot": {
    "url": "https://cdn.microlink.io/screenshot/netflix.png"
  }
}