Skip to main content
All CollectionsIntegrations & API
How to setup Kaspr API
How to setup Kaspr API

Kaspr is a powerful API designed for developers to seamlessly integrate data into external files, such as Google Sheets, for example.

Isabelle Riley avatar
Written by Isabelle Riley
Updated over a week ago

The Kaspr API is a REST-based service designed to empower developers with access to over 500 million consumer profiles, enabling them to create sophisticated, data-driven applications. With the Kaspr API, developers can retrieve consumer profiles directly from LinkedIn URLs. Integration is seamless: developers make requests to the Kaspr server, which returns the data in a format optimized for application integration.

🚨 Remark: Before using our API, we recommend reviewing the Terms and Conditions, including usage limits and the pricing model. Please ensure that your use of Kaspr's data enrichment service aligns with our Terms and Conditions. Reselling of data is strictly prohibited, and Kaspr will take legal action against any company found to be using or reselling our data.

Users are charged a specific amount of credits for each type of information fetched through API requests. Credits are consumed for B2B emails, Direct emails, and Phone numbers. One credit is spent per request. Additionally, one export credit will be charged for each successful API call. For more information on Kaspr credits, please read this article.

🔔 Remarks:

  • The API does not work with SalesNavigator URLs. Access to SalesNavigator data is only available with the Kaspr Google Chrome extension and sales automation workflows. Kaspr API is only compatible with standard formats of LinkedIn profile URLs.

  • In terms of Credits, users are charged a specific amount of Credits for each type of information fetched through API requests. Credits are consumed for B2B emails, Direct emails, and Phone numbers. Each successful request costs one credit. This applies even if multiple requests concern the same contact.

How to use Kaspr API

  1. Sign up for a Kaspr account: You need to create a Kaspr account to access the API and obtain an API key.

  2. Prepare your data: Make sure your customer data is in a format that can be uploaded to the Kaspr API, such as an Excel sheet or a Google Sheet.

  3. Integrate with the API: Integrate your data with the Kaspr API by making API calls to the relevant endpoints. You can use a programming language such as Python or a REST API client to make these calls.

  4. Enrich data: Use the API to enrich your customer data by sending a GET request to the API endpoint with the relevant parameters, the LinkedIn profile URLs.

  5. Retrieve enriched data: The API will return the enriched data in a JSON format, which you can then use to update your customer data.

Kaspr provides a robust set of features that make it easy to integrate consumer data into applications. With the Kaspr API, developers can quickly and easily build powerful data-driven applications that can provide valuable insights for businesses. The Kaspr team is committed to providing developers with the tools they need to build great applications.

Thank you for checking out the Kaspr API, we hope you find all the tools you need to make the most of your data.

Enrich CSV files with the Kaspr API

The Kaspr API allows you to enrich contact information stored in an excel or CSV sheet. Here are the steps to follow:

  1. Get API key: To use the Kaspr API, you need to have an API key, which you can obtain by signing up for a Kaspr account.

  2. Prepare Excel Sheet: Make sure your CSV sheet contains the contact information you want to enrich, such as name, email, and company name.

  3. Upload data: You can use the Kaspr API to upload the data in your excel sheet to the Kaspr platform. This can be done using a REST API call and sending a POST request to the API endpoint with the excel file attached.

  4. Enrich data: Once your data is uploaded, you can use the Kaspr API to enrich the contact information in your excel sheet. This can be done using another REST API call and sending a GET request to the API endpoint with the relevant parameters.

  5. Retrieve enriched data: The API will return the enriched data in a JSON format, which you can then use to update your excel sheet.

Click on "Extensions" -> App Script

function KASPR(name,id){
const url = 'https://api.developers.kaspr.io/profile/linkedin';

const payload = {
name,
id
};

const options = {
method: 'POST',
payload: JSON.stringify(payload),
headers : {
"Authorization" : "YOUR-API-KEY",
"Content-Type": "application/json"
}
};

const response = UrlFetchApp.fetch(url, options);
if (response.getResponseCode() == 200) {
return response.getContentText();
}
};


For further guidance on how to use the Kaspr API, including specific endpoints for uploading and enriching data, please refer to the Kaspr API Reference page: https://www.kaspr.io/developers-api

🚨 Remark:

Before using our API, we recommend reviewing the Terms and Conditions, including usage limits and the pricing model. Please ensure that your use of Kaspr's data enrichment service aligns with our Terms and Conditions. Reselling of data is strictly prohibited, and Kaspr will take legal action against any company found to be using or reselling our data.

Did this answer your question?