microlink logo

Turn castbox.fm into structured data

Microlink SDK

Make your content attractive

Microlink SDK converts castbox.fm links into beautiful previews, engaging better your links.

large

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

module.exports = props => {

  const { status, data } = await mql('https://castbox.fm/episode/Episodio-9-%E2%80%9CLos-mandamientos%E2%80%9D-(-)-id1368872-id89380408', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

normal

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

module.exports = props => {

  const { status, data } = await mql('https://castbox.fm/episode/Episodio-9-%E2%80%9CLos-mandamientos%E2%80%9D-(-)-id1368872-id89380408', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

small

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

module.exports = props => {

  const { status, data } = await mql('https://castbox.fm/episode/Episodio-9-%E2%80%9CLos-mandamientos%E2%80%9D-(-)-id1368872-id89380408', {
    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://castbox.fm/episode/Episodio-9-%E2%80%9CLos-mandamientos%E2%80%9D-(-)-id1368872-id89380408', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Using Microlink CLI (docs)

$ microlink-api https://castbox.fm/episode/Episodio-9-%E2%80%9CLos-mandamientos%E2%80%9D-(-)-id1368872-id89380408
{
  "title": "Episodio 9 “Los mandamientos” (?)",
  "description": "Links:<br /><br />The Mother Of All Demos: <br />https://www.youtube.com/watch?v=yJDv-zdhzMY<br /><br />The Future Of Programming (Bret Victor):<br />https://www.youtube.com/watch?v=8pTEmbeENF4<br /><br />Bret Victor:<br />https://twitter.com/worrydream<br /><br />Java Concurrency In Practice:<br />…",
  "lang": "en",
  "author": "Sin Humo",
  "publisher": "castbox.fm",
  "image": {
    "url": "https://cdn.microlink.io/data/assets/castbox.fm!episode!Episodio-9-“Los-mandamientos”-(-)-id1368872-id89380408/d3t3ozftmdmh3i.cloudfront.net!staging!podcast_uploaded_nologo!782427!782427-1531334842268-19e527dff2",
    "type": "jpg",
    "size": 687971,
    "height": 3000,
    "width": 3000,
    "size_pretty": "688 kB",
    "palette": [
      "#F2AF2B",
      "#F5F439",
      "#93790C",
      "#80825A",
      "#919007",
      "#555531"
    ],
    "background_color": "#F2AF2B",
    "color": "#FFFFFF",
    "alternative_color": "#464503"
  },
  "audio": {
    "url": "https://cdn.microlink.io/data/assets/castbox.fm!episode!Episodio-9-“Los-mandamientos”-(-)-id1368872-id89380408/d3ctxlq1ktw2nl.cloudfront.net!production!2018-7-21!4189766-44100-2-5ee445a4d241.mp3.mp3",
    "type": "mp3",
    "duration": 2871.170667,
    "size": 68912192,
    "duration_pretty": "48m",
    "size_pretty": "68.9 MB"
  },
  "url": "https://castbox.fm/episode/Episodio-9-%E2%80%9CLos-mandamientos%E2%80%9D-(-)-id1368872-id89380408",
  "iframe": null,
  "date": "2020-01-11T10:42:20.000Z",
  "logo": {
    "url": "https://cdn.microlink.io/data/assets/castbox.fm!episode!Episodio-9-“Los-mandamientos”-(-)-id1368872-id89380408/logo.clearbit.com!castbox.fm.png",
    "type": "png",
    "size": 4794,
    "height": 120,
    "width": 120,
    "size_pretty": "4.79 kB",
    "palette": [
      "#F45C24",
      "#FC926D",
      "#7E2606",
      "#912C07",
      "#952903",
      "#912C07"
    ],
    "background_color": "#F45C24",
    "color": "#461301",
    "alternative_color": "#451503"
  },
  "video": null,
  "screenshot": {
    "url": "https://cdn.microlink.io/screenshot/castboxfm.png"
  }
}