Overview

Microlink Query Language (MQL) is the official client for interacting with Microlink API.
Any API parameter there is supported:
const mql = require('@microlink/mql')
const { data } = await mql('https://www.instagram.com')

console.log(data.description)
Also, it provides you a convenient way for getting data from any website:
const mql = require('@microlink/mql')

const instagram = (username) =>
  mql(`https://www.instagram.com/${username}`, {
    data: {
      avatar: {
        selector: 'meta[property="og:image"]',
        attr: 'content',
        type: 'image',
      },
    },
  })

const username = 'teslamotors'
const { data } = await instagram(username)

console.log(
  `The avatar URL is '${data.avatar.url}' (${data.avatar.size_pretty})`
)
The only thing you need to do is declare the data you wish to obtain.

Overview

Microlink Query Language (MQL) is the official client for interacting with Microlink API.
Any API parameter there is supported:
const mql = require('@microlink/mql')
const { data } = await mql('https://www.instagram.com')

console.log(data.description)
Also, it provides you a convenient way for getting data from any website:
const mql = require('@microlink/mql')

const instagram = (username) =>
  mql(`https://www.instagram.com/${username}`, {
    data: {
      avatar: {
        selector: 'meta[property="og:image"]',
        attr: 'content',
        type: 'image',
      },
    },
  })

const username = 'teslamotors'
const { data } = await instagram(username)

console.log(
  `The avatar URL is '${data.avatar.url}' (${data.avatar.size_pretty})`
)
The only thing you need to do is declare the data you wish to obtain.