Access backlink and outbound hyperlink data for any site - Web Shrinker

Access backlink and outbound hyperlink data for any site

Access backlink and outbound hyperlink data for any site

When we first started crawling and analyzing sites, right away users were asking about the different types of APIs we could offer based on the data we collect. One of the most frequently requested services was for accessing the backlinks for websites. Today I’m happy to announce that’s exactly what we’re releasing: an easy to use API which allows you to scan through the backlinks for a site.

In addition to being able to query site backlinks, it’s also possible to see all of the outbound links from a site that we’ve analyzed. Outbound links are hyperlinks that originate on one site and point to an external location, such as a link on docs.webshrinker.com pointing to a page on www.webshrinker.com.

This is an example response when querying the backlinks for “example.com” with the results limited to 2 entries:

As shown in this example, there are two inbound links returned for the query. Each link shows the page that it was discovered on (“from”), the page it is linking to (“to”), when the link was discovered (“seen”), and any attributes about the link (“attrs”). The link attributes include the text displayed in the browser for the link, the target page (such as “_blank”), and any “title”, “rel”, and “alt” HTML tags.

You can also see in the example output there are more results that can be retrieved, as shown under the “paging” section. It’s estimating that there are about 1998 more records available for the query. To retrieve these extra records, simply make the same API call again but add an additional URL parameter called “page” with the value present in paging/cursors/after.

Here is code in Python that you can use to see similar results shown above, just remember to insert your own account API key and secret before running:

Pricing for backlink/outbound links is pretty straight forward, using just 1 API credit per 100 results returned.

Additional documentation on using these new features is available here: https://docs.webshrinker.com/v3/website-domain-api.html


Adam Spotton

The Founder of Web Shrinker LLC, a developer for 20+ years, and generally a fan of all things technology and security related. Adam holds various industry certifications including Network+, Linux+, as well as others like Big Data, Machine Learning, and looks for new ways they can be applied to improve the companies services in new and innovative ways.

Leave a Reply

Your email address will not be published. Required fields are marked *