Turn any nasa.gov link into structured data

Turn any nasa.gov link into structured data

Microlink SDK

Turn websites into rich media

Microlink SDK converts nasa.gov 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='http://www.nasa.gov/feature/goddard/2018/update-on-the-hubble-space-telescope-safe-mode'
  />
)

size=large (documentation)

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

export default () => (
  <Microlink
    size='large'
    url='http://www.nasa.gov/feature/goddard/2018/update-on-the-hubble-space-telescope-safe-mode'
  />
)

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(
  'http://www.nasa.gov/feature/goddard/2018/update-on-the-hubble-space-telescope-safe-mode'
)

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

Microlink API (documentation)

$ microlink-api http://www.nasa.gov/feature/goddard/2018/update-on-the-hubble-space-telescope-safe-mode
{
  "lang": "en",
  "author": "Rob Garner",
  "title": "NASA’s Hubble Space Telescope Returns to Science Operations",
  "publisher": "NASA",
  "image": {
    "url": "https://microlink.io/card/nasa/image.jpg",
    "width": 3000,
    "height": 1993,
    "type": "jpg",
    "size": 946928,
    "size_pretty": "947 kB",
    "palette": [
      "#364857",
      "#907760",
      "#D7BDA1",
      "#4C84BC",
      "#DCCABE",
      "#844C0C"
    ],
    "background_color": "#364857",
    "color": "#F1B168",
    "alternative_color": "#AAC5DF"
  },
  "description": "NASA’s Hubble Space Telescope returned to normal operations late Friday, Oct. 26, and completed its first science observations on Saturday, Oct. 27 at 2:10 AM EDT.",
  "date": "2019-06-14T00:38:20.000Z",
  "logo": {
    "url": "https://microlink.io/card/nasa/logo.png",
    "width": 152,
    "height": 152,
    "type": "png",
    "size": 11840,
    "size_pretty": "11.8 kB",
    "palette": [
      "#1C5CAC",
      "#E62E41",
      "#864474",
      "#7C74A6",
      "#F9A1A9",
      "#D0A4BC"
    ],
    "background_color": "#1C5CAC",
    "color": "#FCE5E7",
    "alternative_color": "#FCCED2"
  },
  "url": "http://www.nasa.gov/feature/goddard/2018/update-on-the-hubble-space-telescope-safe-mode",
  "video": null,
  "audio": null
}