microlink logo

Turn foxnews.com into structured data

Microlink SDK

Make your content attractive

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

large

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

module.exports = props => {

  const { status, data } = await mql('https://www.foxnews.com/auto/literally-like-new-1987-buick-gnx-muscle-car-up-for-auction-with-8-5-miles-on-it', {
    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.foxnews.com/auto/literally-like-new-1987-buick-gnx-muscle-car-up-for-auction-with-8-5-miles-on-it', {
    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.foxnews.com/auto/literally-like-new-1987-buick-gnx-muscle-car-up-for-auction-with-8-5-miles-on-it', {
    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.foxnews.com/auto/literally-like-new-1987-buick-gnx-muscle-car-up-for-auction-with-8-5-miles-on-it', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Using Microlink CLI (docs)

$ microlink-api https://www.foxnews.com/auto/literally-like-new-1987-buick-gnx-muscle-car-up-for-auction-with-8-5-miles-on-it
{
  "title": "Like-new 1987 Buick GNX muscle with 8.5 miles on it up for auction",
  "description": "Nothing beats that new car smell, even when it’s 32 years-old.",
  "lang": "en",
  "author": "Gary Gastelu",
  "publisher": "Fox News",
  "image": {
    "url": "https://cdn.microlink.io/data/assets/foxnews.com!auto!literally-like-new-1987-buick-gnx-muscle-car-up-for-auction-with-8-5-miles-on-it/static.foxnews.com!foxnews.com!content!uploads!2019!02!gnx-1.jpg.jpg",
    "type": "jpg",
    "size": 281293,
    "height": 720,
    "width": 1280,
    "size_pretty": "281 kB",
    "palette": [
      "#82B2CD",
      "#B4DCF2",
      "#254A5E",
      "#5488A4",
      "#A7B9D2",
      "#414540"
    ],
    "background_color": "#82B2CD",
    "color": "#27404D",
    "alternative_color": "#224456"
  },
  "audio": null,
  "url": "https://www.foxnews.com/auto/literally-like-new-1987-buick-gnx-muscle-car-up-for-auction-with-8-5-miles-on-it",
  "iframe": null,
  "date": "2019-02-16T14:02:30.000Z",
  "logo": {
    "url": "https://cdn.microlink.io/data/assets/foxnews.com!auto!literally-like-new-1987-buick-gnx-muscle-car-up-for-auction-with-8-5-miles-on-it/static.foxnews.com!static!orion!styles!img!fox-news!amp!fox-news-logo.png.png",
    "type": "png",
    "size": 5208,
    "height": 60,
    "width": 360,
    "size_pretty": "5.21 kB",
    "palette": [
      "#3F88BF",
      "#9BC1DD",
      "#1C3C54",
      "#265172",
      "#265172",
      "#265172"
    ],
    "background_color": "#9BC1DD",
    "color": "#204662",
    "alternative_color": "#265172"
  },
  "video": null,
  "screenshot": {
    "url": "https://cdn.microlink.io/screenshot/fox.png"
  }
}