How do I connect Klipfolio and Ahrefs?

You can set up a connection between Klipfolio and Ahrefs to show your SEO metrics on a dashboard. Use the steps in this article to learn how to set up that connection.

What is Klipfolio?

Klipfolio integrates with many cloud services and tools to create meaningful data visualizations.

How do I get started with Ahrefs?

You can use the Connector Gallery to get your Ahrefs data into Klipfolio, and reference this article as a guide.


Authenticate with Ahrefs and enter a domain or URL

Connect with Ahrefs using the Connector Gallery in Klipfolio. The first thing you will be asked to do is authenticate and create a handshake connection between your Klipfolio and Ahrefs accounts.

  1. Select Ahrefs from the list of connectors.
  2. Select a data request.
  3. Click Connect an Account.
  4. Enter your Ahrefs login credentials.
  5. In the popup window, click Allow Access.
  6. Click Next Step.

    Note: You now have an OAuth Token for your Connected Account. Keep track of your tokens in the Account section under Connected Accounts.

You should now be on the New Data Source page. To get the right data from Ahrefs, you'll need to enter some additional information into the query provided.

Depending on the query,

  • Replace <yourDomain> with your domain.
  • Replace <yourURL> with the URL you want to track.
    Your URL can take any form, such as, acme.com or https://acme.com or https://www.acme.com/pricing.

Advanced: Build a data source yourself

Klipfolio connects to hundreds of services in the cloud that have a REST API. If you take the time to learn how to get data into Klipfolio using APIs, your possibilities are endless. Here's a quick and simple overview video on APIs and Klipfolio:

  Klipfolio API's 101

If you need help using APIs, enlist a data analyst or developer to help you.

If you want to edit a data source that you already created, check out How to edit or reconfigure a data source, and get step-by-step instructions.

Ahrefs quick reference table

Authentication Method

OAuth Token Authentication
API Documentation Ahrefs API documentation

Note: You must be logged in to Ahrefs to view the documentation.

API Explorer Ahrefs API Request Builder

Note:

Response Format JSON

 

Advanced query examples

You can build your own query in Klipfolio by writing one from scratch, or by editing one of the pre-built queries. Always have the Ahrefs API documentation open to see what data is available to you. You can also use the Ahrefs query explorer to build and test your queries before you use them to bring data into Klipfolio.

Anchors

http://apiv2.ahrefs.com?from=anchors&target=Your-Domain&mode=domain&limit=1000&output=json

Domain Metrics

http://apiv2.ahrefs.com?from=metrics&target=Your-Domain&mode=domain&limit=1000&output=json

Backlinks

http://apiv2.ahrefs.com?from=backlinks&target=Your-Domain-or-URL&mode=domain&limit=1000&order_by=ahrefs_rank%3Adesc&output=json

Related Links