Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (26 sloc) 1.16 KB
title
Endpoint

Microlink API is shipped as a HTTP microservice exposed over SSL.

Two endpoints are available:

  • free (api.microlink.io): The endpoint to be used for unauthenticated requests.
  • pro (pro.microlink.io): The endpoint to be used for authenticated requests. It needs a previously register API key.

Just you need to call the endpoint with method GET, nothing else.

microlink-api https://instagram.com/p/BeV6tOhFUor&userAgent=Googlebot

It does not matter if you use a camel or snake case; both are supported.

microlink-api https://instagram.com/p/BeV6tOhFUor&user_agent=Googlebot

If you are using Microlink Query Language, the endpoint is automatically determined in case you provide an API Key.

const { status, data, response } = await mql(
  'https://instagram.com/p/BeV6tOhFUor', {
    userAgent: 'GoogleBot',
    apiKey: 'MyApiKey'
  }
)
You can’t perform that action at this time.