microlink logo

Turn ted.com into structured data

Microlink SDK

Make your content attractive

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

iframe

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

module.exports = props => {

  const { status, data } = await mql('https://www.ted.com/talks/jia_jiang_what_i_learned_from_100_days_of_rejection', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

large

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

module.exports = props => {

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

Using Microlink CLI (docs)

$ microlink-api https://www.ted.com/talks/jia_jiang_what_i_learned_from_100_days_of_rejection
{
  "title": "What I learned from 100 days of rejection",
  "description": "Jia Jiang adventures boldly into a territory so many of us fear: rejection. By seeking out rejection for 100 days -- from asking a stranger to borrow $100 to requesting a",
  "lang": "en",
  "author": "Jia Jiang",
  "publisher": "ted.com",
  "image": {
    "url": "https://cdn.microlink.io/data/assets/ted.com!talks!jia_jiang_what_i_learned_from_100_days_of_rejection/pi.tedcdn.com!r!talkstar-photos.s3.amazonaws.com!uploads!c4a42ee3-cf78-419d-88a0-cd5194b4432a!JiaJia",
    "type": "jpg",
    "size": 37925,
    "height": 550,
    "width": 1050,
    "size_pretty": "37.9 kB",
    "palette": [
      "#AE6C4C",
      "#DAAA94",
      "#795C0F",
      "#AB7462",
      "#C8ACCC",
      "#263253"
    ],
    "background_color": "#AE6C4C",
    "color": "#140F02",
    "alternative_color": "#FFFFFF"
  },
  "audio": null,
  "url": "https://www.ted.com/talks/jia_jiang_what_i_learned_from_100_days_of_rejection",
  "iframe": {
    "html": "<iframe src=\"https://embed.ted.com/talks/jia_jiang_what_i_learned_from_100_days_of_rejection\" width=\"560\" height=\"316\" frameborder=\"0\" scrolling=\"no\" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>",
    "scripts": []
  },
  "date": "2020-01-11T10:44:01.000Z",
  "logo": {
    "url": "https://cdn.microlink.io/data/assets/ted.com!talks!jia_jiang_what_i_learned_from_100_days_of_rejection/logo.clearbit.com!ted.com.png",
    "type": "png",
    "size": 1072,
    "height": 67,
    "width": 128,
    "size_pretty": "1.07 kB",
    "palette": [
      "#E42C1C",
      "#F49A93",
      "#76160E",
      "#881910",
      "#8A170E",
      "#881910"
    ],
    "background_color": "#E42C1C",
    "color": "#100302",
    "alternative_color": "#100302"
  },
  "video": {
    "url": "https://cdn.microlink.io/data/assets/ted.com!talks!jia_jiang_what_i_learned_from_100_days_of_rejection/video-subtitle.tedcdn.com!talk!podcast!2015X!None!JiaJiang_2015X-480p-zh-tw.mp4.mp4",
    "type": "mp4",
    "duration": 935.856667,
    "size": 109142888,
    "height": 480,
    "width": 854,
    "duration_pretty": "16m",
    "size_pretty": "109 MB"
  },
  "screenshot": {
    "url": "https://cdn.microlink.io/screenshot/ted.png"
  }
}