USE CASE

Catch job changes before your CRM does

When a customer contact moves to a new company, you may have a new lead there and a gap where they left. Check your contacts' LinkedIn profiles on a schedule and compare their current company with what your CRM says.

Get API key 100 free credits with a work email

The fields that matter

experience
Each role has company, company_url, start_date and end_date. A current role has no end_date.
headline
Often updated first, and a hint when someone is between roles.
location
A move to a new city often comes with a new job.

How to set it up

  1. Export contacts with their LinkedIn URL and the company your CRM has for them.
  2. Fetch each profile and take the roles with no end_date.
  3. If none of them matches the CRM company, flag the contact. The new role's start_date tells you how recent the move is.
  4. Repeat monthly. Checking 5,000 contacts costs $2.50.

Python: flag contacts who moved

import os, requests

def get_profile(url):
    res = requests.post(
        "https://api.profilehunt.dev/v1/profile",
        headers={"Authorization": f"Bearer {os.environ['PROFILEHUNT_KEY']}"},
        json={"url": url},
    )
    res.raise_for_status()
    return res.json()["profile"]  # None when the profile is gone or unavailable (not charged)

contacts = [  # from your CRM export
    {"linkedin_url": "https://www.linkedin.com/in/williamhgates", "company": "Microsoft"},
]

for c in contacts:
    p = get_profile(c["linkedin_url"])
    if p is None:
        continue
    current = [e for e in p["experience"] if e["end_date"] is None]
    if current and all(e["company"] != c["company"] for e in current):
        print(f'{p["full_name"]}: {c["company"]} -> {current[0]["company"]} (since {current[0]["start_date"]})')

Questions

How fresh is the data?
Each call reads the public profile at that moment, so you see what LinkedIn shows logged-out visitors right then. scraped_at records when it was read.
Company names don't match exactly. What should I compare?
company_url, when you have it, is the LinkedIn company page and doesn't change with spelling. Otherwise compare lower-cased names without suffixes like Inc or GmbH.
Why is a role's title empty?
LinkedIn hides some job titles from logged-out visitors. ProfileHunt returns title for current roles only, and null when the profile doesn't show it.

More use cases

Set it up in

ProfileHunt returns only what a LinkedIn profile shows to logged-out visitors. You are responsible for how you use it: follow the privacy and anti-spam laws that apply to you, such as the GDPR or India's DPDP Act, and our Terms. ProfileHunt is not affiliated with LinkedIn Corporation.