2
5 Comments

Microlink Proxy: How it works

All Microlink Pro plans come with a built-in proxy layer that does automatic proxy resolution and rotation based on the input URL.

What's wrong with URLs

The Internet is a wild place where every URL is different. That's an issue especially when you are doing things at scale.

When you are surfing the net and visit a website, there are situations you can't handle at all:

  • The are geographic location restrictions (e.g., visiting a site from China).
  • Your IP address is blacklisted (e.g., performing a request from a data center).
  • You have to validate your identity (e.g., filling a CAPTCHA).

You can quickly face these problems when sending enough traffic to popular sites, like Instagram or Bloomberg, which, in turn, makes getting a successful response inconsistent.

Resolving URLs gracefully

Wouldn't it be nice if every time you want to retrieve data from any URL, the Microlink API just returned the data all while handling any of the problems above transparently?

That's exactly what Microlink Proxy layer does. No failures. No maintenance. You don't need to do anything additional. It just works™.

The Microlink Proxy is enabled for all Microlink Pro plans and it will handle all the situations for the Top 500 most popular worldwide websites, in a transparent way, by default.

Just for informational purposes, you can check if a specific request was resolved using the proxy layer by checking x-fetch-mode response header.

$ microlink https://www.bloomberg.com/news/articles/2016-05-24/as-zenefits-stumbles-gusto-goes-head-on-by-selling-insurance

 SUCCESS  3.64 kB in 329ms

 cache HIT (19h 20m 54.8s left)
  mode prerender-proxy (8.5s)
   uri https://pro.microlink.io/?url=https://www.bloomberg.com/news/articles/2016-05-24/as-zenefits-stumbles-gusto-goes-head-on-by-selling-insurance&filter=statusCode
    id iad:paw98q36bHEIlAgsFBzy5

As you can see, the proxy layer respects other query parameters, such as prerender or ttl.

Also, you can always provide your own proxy, being HTTP, HTTPS, or SOCKS (v4 and v5) protocols supported.

Last but not least, Microlink Proxy is a cross-feature: it's available for all the Microlink products.

, Founder of Icon for microlink.io
microlink.io
on June 8, 2021
  1. 1

    Are you using a 3rd party proxy provider like crawlera, scraperapi or building your own infrastructure?

    1. 1

      We use a third party scraping; I'm using ScrapingBee these days.

      1. 1

        Ah cool. Would you recommend it? I am using scraperapi and it seems a bit slow in terms of response.

        1. 1

          It isn't bad, but it's still failing for some simple uses cases.

          I want to test ScrapingFish and ZenRows

          Take a look at https://github.com/lorien/awesome-web-scraping/blob/master/web_services.md

          1. 1

            yeah I also found a lot like scrapingant, scrapingdog 😂

            Previously I used to use crawlera. There are some expensive options too but I am too afraid to try them lol.