Turn any en.wikipedia.org link into structured data

Turn any en.wikipedia.org link into structured data

Microlink SDK

Turn websites into rich media

Microlink SDK converts en.wikipedia.org 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://en.wikipedia.org/wiki/Bob_Dylan' />
)

size=large (documentation)

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

export default () => (
  <Microlink size='large' url='https://en.wikipedia.org/wiki/Bob_Dylan' />
)

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://en.wikipedia.org/wiki/Bob_Dylan'
)

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

Microlink API (documentation)

$ microlink-api https://en.wikipedia.org/wiki/Bob_Dylan
{
  "lang": "en",
  "author": "Contributors to Wikimedia projects",
  "title": "Bob Dylan",
  "publisher": "Wikimedia Foundation, Inc.",
  "image": {
    "url": "https://microlink.io/card/wikimedia foundation, inc./image.jpg",
    "width": 1200,
    "height": 1600,
    "type": "jpg",
    "size": 268195,
    "size_pretty": "268 kB",
    "palette": [
      "#53312A",
      "#CBB5AA",
      "#986161",
      "#571D0B",
      "#ECCC9C",
      "#4C2C94"
    ],
    "background_color": "#53312A",
    "color": "#C7B8EA",
    "alternative_color": "#ECCC9C"
  },
  "description": "This article is about the musician. For his debut album, see Bob Dylan (album).",
  "date": "2019-06-17T03:04:04.000Z",
  "logo": {
    "url": "https://microlink.io/card/wikimedia foundation, inc./logo.png",
    "width": 260,
    "height": 60,
    "type": "png",
    "size": 4012,
    "size_pretty": "4.01 kB",
    "palette": [
      "#040404",
      "#4C4C4C",
      "#4C4C4C",
      "#424242",
      "#BCBCBC",
      "#7F7F7F"
    ],
    "background_color": "#040404",
    "color": "#BCBCBC",
    "alternative_color": "#7F7F7F"
  },
  "url": "https://en.wikipedia.org/wiki/Bob_Dylan",
  "video": {
    "url": "https://microlink.io/card/wikimedia foundation, inc./video.webm",
    "width": 854,
    "height": 480,
    "type": "webm",
    "size": 16671232,
    "size_pretty": "16.7 MB",
    "duration": 0,
    "duration_pretty": "0ms"
  },
  "audio": null
}