Turn any bbc.com link into structured data

Turn any bbc.com link into structured data

Microlink SDK

Turn websites into rich media

Microlink SDK converts bbc.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.bbc.com/news/technology-40762328' />
)

size=large (documentation)

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

export default () => (
  <Microlink size='large' url='https://www.bbc.com/news/technology-40762328' />
)

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.bbc.com/news/technology-40762328'
)

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

Microlink API (documentation)

$ microlink-api https://www.bbc.com/news/technology-40762328
{
  "lang": "en",
  "author": "BBC News",
  "title": "Elon Musk rolls out cheapest Tesla yet",
  "publisher": "BBC News",
  "image": {
    "url": "https://microlink.io/card/bbc news/image.jpg",
    "width": 1024,
    "height": 576,
    "type": "jpg",
    "size": 78221,
    "size_pretty": "78.2 kB",
    "palette": [
      "#B42928",
      "#AD625B",
      "#D8B1AF",
      "#6C1C27",
      "#E8C1BC",
      "#642C2C"
    ],
    "background_color": "#B42928",
    "color": "#F1E4E3",
    "alternative_color": "#030101"
  },
  "description": "The electric car maker hopes the Model 3, starting at $35,000, will bring mass market interest.",
  "date": "2017-07-29T10:38:38.000Z",
  "logo": {
    "url": "https://microlink.io/card/bbc news/logo.png",
    "width": 1024,
    "height": 576,
    "type": "png",
    "size": 21155,
    "size_pretty": "21.2 kB",
    "palette": [
      "#9C0C0C",
      "#9C0C14",
      "#DCB4B7",
      "#B45254",
      "#DAA4AC",
      "#8E0A12"
    ],
    "background_color": "#9C0C0C",
    "color": "#FAC0C3",
    "alternative_color": "#030000"
  },
  "url": "https://www.bbc.com/news/technology-40762328",
  "video": null,
  "audio": null
}