Turn any amazon.com link into structured data

Turn any amazon.com link into structured data

Microlink SDK

Turn websites into rich media

Microlink SDK converts amazon.com links into beautiful previews. Make your content attractive, engaging better your links.

size=normal (documentation)

import React from 'react'
import Microlink from '@microlink/react'

export default () => (
  <Microlink
    size='normal'
    url='https://www.amazon.com/All-new-Echo-Plus-Bundle-Philips/dp/B07H1QBW2L'
  />
)

size=large (documentation)

import React from 'react'
import Microlink from '@microlink/react'

export default () => (
  <Microlink
    size='large'
    url='https://www.amazon.com/All-new-Echo-Plus-Bundle-Philips/dp/B07H1QBW2L'
  />
)

Microlink API

Turns websites into structured data

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

Microlink Query Language (documentation)

const mql = require('@microlink/mql')
const { status, response, data } = await mql(
  'https://www.amazon.com/All-new-Echo-Plus-Bundle-Philips/dp/B07H1QBW2L'
)

console.log('status', status)
console.log('headers', response.headers)
console.log('data', data)

Microlink API (documentation)

$ microlink-api https://www.amazon.com/All-new-Echo-Plus-Bundle-Philips/dp/B07H1QBW2L
{
  "lang": "en",
  "author": "Amazon",
  "title": "Echo Plus (2nd Gen) with Philips Hue Bulb - Alexa smart home starter kit - Charcoal",
  "publisher": "Amazon",
  "image": {
    "url": "https://microlink.io/card/amazon/image.jpg",
    "width": 1006,
    "height": 1000,
    "type": "jpg",
    "size": 94459,
    "size_pretty": "94.5 kB",
    "palette": [
      "#45484B",
      "#EF9D33",
      "#C2B193",
      "#1B649E",
      "#58849F",
      "#ECE4CC"
    ],
    "background_color": "#45484B",
    "color": "#F1A849",
    "alternative_color": "#8BC1EB"
  },
  "description": "Amazon.com: Echo Plus (2nd Gen) with Philips Hue Bulb - Alexa smart home starter kit - Charcoal: Amazon Devices",
  "date": "2019-06-18T12:23:59.000Z",
  "logo": {
    "url": "https://microlink.io/card/amazon/logo.ico",
    "width": 48,
    "height": 48,
    "type": "ico",
    "size": 17542,
    "size_pretty": "17.5 kB",
    "palette": [],
    "background_color": null,
    "color": null,
    "alternative_color": null
  },
  "url": "https://www.amazon.com/All-new-Echo-Plus-Bundle-Philips/dp/B07H1QBW2L",
  "video": {
    "url": "https://microlink.io/card/amazon/video.mp4",
    "width": 720,
    "height": 404,
    "type": "mp4",
    "size": 9930879,
    "size_pretty": "9.93 MB",
    "duration": 60.1601,
    "duration_pretty": "1m"
  },
  "audio": null
}