Enrich API Documentation
  • Introduction
    • Authentication
    • Rate Limit
    • Credit Usage
  • Reference
    • Check Credit Usage
    • Email to Profile data
    • Email to IP
    • Email Finder
    • Profile URL to Work Email V2
    • Profile URL to Personal Email
    • Verify Emails—Even Behind Catch-Alls
    • Company Lookup
    • Company Funding and Traffic
    • Linkedin Public Profile Enrichment
    • Phone Number Finder
    • Find post details by URL
    • Search Posts
    • Bulk enrichment
    • Email to Phone Number
    • Email to Person Lite
    • Reverse email append
    • Disposable/Spam Email Check
    • IP to Company
    • Logo API
    • Search People Activities
    • Search Company Activities
    • Search Post Reactions
    • Search Post Reactions by URL
    • Search Post Comments
    • Search Post Comments by URL
    • Search Company
    • Search Similar Companies
    • Search People
    • Sales Pointer - Dynamic Filters
    • Sales Pointer - People
    • Sales Pointer - People by URL
    • Sales Pointer - Company
    • Sales Pointer - Company by URL
    • Search Company Employees
    • Search Jobs
    • Web search
    • Serp Search
    • News Search
    • Maps Search
    • Places Search
    • Videos Search
    • Shopping Search
    • Image Search
  • Changelog
Powered by GitBook
On this page
  1. Reference

Profile URL to Work Email V2

Find work email address of an individual using their profile url.

cURL 'https://api.enrich.so/v2/api/linkedin-to-email?linkedin_profile=https://www.linkedin.com/in/williamhgates'
--header 'Authorization: Bearer <token>'
--header 'Content-Type: application/json'
const axios = require('axios');

axios.get('https://api.enrich.so/v2/api/linkedin-to-email?linkedin_profile=https://www.linkedin.com/in/williamhgates', {
    headers: {accept: 'application/json', Authorization: 'Bearer <token>'}
})
  .then(response => {
    console.log(response.data);
  })
  .catch(error => {
    console.log(error);
  });
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.enrich.so/v2/api/linkedin-to-email?linkedin_profile=https://www.linkedin.com/in/williamhgates")
  .get()
  .addHeader("accept", "application/json")
  .addHeader("authorization", "Bearer <token>")
  .build();

Response response = client.newCall(request).execute();
import requests
payload = {'linkedin_profile':'https://www.linkedin.com/in/williamhgates' }
headers = {'accept': 'application/json', 'authorization': 'Bearer <token>'}
resp = requests.get('https://api.enrich.so/v2/api/linkedin-to-email', params=payload, headers=headers)
print (resp.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.enrich.so/v2/api/linkedin-to-email?linkedin_profile=https://www.linkedin.com/in/williamhgates",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: application/json",
    "authorization: Bearer <token>"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
require 'uri'
require 'net/http'

url = URI("https://api.enrich.so/v2/api/linkedin-to-email?linkedin_profile=https://www.linkedin.com/in/williamhgates")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = 'application/json'
request["authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body

This API is an asynchronous endpoint that may return a status code 202 in case the request is taking longer to process, indicating that the request has been accepted and the client should retry the same payload after a short delay, as specified in the response message.

Example response

Status Code: 202 ACCEPTED

{
    "status": "in_progress",
    "message": "Your request has been queued. Please try again later"
}

Status Code: 200 OK

{
    "email": "username.lastname@example.com",
    "found": true,
    "total_credits": 25000,
    "credits_used": 229,
    "credits_remaining": 24771
}

Status code: 404 NOT FOUND

{
    "error": true,
    "message": "Sorry we couldn't find the email for https://www.linkedin.com/in/williamhgates"
}
PreviousEmail FinderNextProfile URL to Personal Email

Last updated 1 day ago