1. Get an API key
- Sign in at profilehunt.dev/login with Google or an emailed sign-in link.
- Your first sign-in creates a workspace with a key named
Default, plus free credits: 100 with a work email, 10 with a personal one. - Copy the key from the Keys page and keep it on your server. Below it's
$PROFILEHUNT_KEY.
2. Fetch a profile
Send a public LinkedIn profile URL to POST /v1/profile. The call waits while the profile is read, usually a few seconds.
curl -X POST https://api.profilehunt.dev/v1/profile \
-H "Authorization: Bearer $PROFILEHUNT_KEY" \
-H "Content-Type: application/json" \
-d '{ "url": "https://www.linkedin.com/in/williamhgates" }'import os, requests
res = requests.post(
"https://api.profilehunt.dev/v1/profile",
headers={"Authorization": f"Bearer {os.environ['PROFILEHUNT_KEY']}"},
json={"url": "https://www.linkedin.com/in/williamhgates"},
)
profile = res.json()["profile"]
print(profile["full_name"], profile["headline"], profile["last_post_at"])const res = await fetch("https://api.profilehunt.dev/v1/profile", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROFILEHUNT_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ url: "https://www.linkedin.com/in/williamhgates" }),
});
const { profile } = await res.json();3. Read the response
A found profile comes back with status: "ok" and uses 1 credit. Shortened:
{
"status": "ok",
"profile": {
"public_id": "williamhgates",
"full_name": "Bill Gates",
"headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
"location": "Seattle, Washington, United States",
"country": "US",
"experience": [
{ "company": "Gates Foundation", "title": "Co-chair", "start_date": "2000", "end_date": null, ... }
],
"followers": 40725248,
"last_post_at": "2026-10-12T20:10:59.000Z",
"recent_posts": [ ... ],
"scraped_at": "2026-10-13T09:00:00.000Z",
...
}
}If there is no public profile at the URL you get status: "gone", and if LinkedIn didn't serve it just then, status: "unavailable". Both have profile: null and cost nothing.
Next
- Profile endpoint: every field and when it is null.
- Batch API: up to 100 URLs in one request.
- Playground: try any URL with your key, no code.