curl -X POST https://api.dataforb2b.ai/enrich/profile \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"profile_identifier": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
"enrich_profile": true,
"enrich_work_email": true
}'
curl -X POST https://api.dataforb2b.ai/enrich/profile \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"profile_identifier": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
"enrich_profile": true,
"enrich_github": true
}'
curl -X POST https://api.dataforb2b.ai/enrich/profile \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"profile_identifier": "john-doe",
"enrich_phone": true
}'
import requests
# Full profile + work email + GitHub
response = requests.post(
"https://api.dataforb2b.ai/enrich/profile",
headers={
"api_key": "YOUR_api_key",
"Content-Type": "application/json"
},
json={
"profile_identifier": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
"enrich_profile": True,
"enrich_work_email": True,
"enrich_github": True
}
)
data = response.json()
print(f"Profile: {data.get('profile')}")
print(f"Work email: {data.get('work_email')}")
print(f"GitHub: {data.get('git_profile')}")
// Full profile + work email + GitHub
const response = await fetch('https://api.dataforb2b.ai/enrich/profile', {
method: 'POST',
headers: {
'api_key': 'YOUR_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
profile_identifier: 'prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj',
enrich_profile: true,
enrich_work_email: true,
enrich_github: true
})
});
const data = await response.json();
console.log('Profile:', data.profile);
console.log('Work email:', data.work_email);
console.log('GitHub:', data.git_profile);
{
"profile": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"headline": "<string>",
"location": "<string>",
"country": "<string>",
"industry": "<string>",
"summary": "<string>",
"profile_language": "<string>",
"profile_picture_url": "<string>",
"links": {
"linkedin": "<string>",
"twitter": {},
"github": {}
},
"experience": [
{
"company": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"logo_url": "<string>",
"size": "<string>",
"industry": "<string>"
},
"title": "<string>",
"description": "<string>",
"employment_type": "<string>",
"location": "<string>",
"duration_months": 123,
"start_date": "<string>",
"end_date": {},
"is_current": true
}
],
"education": [
{
"school": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"logo_url": "<string>"
},
"degree": "<string>",
"field_of_study": "<string>",
"start_date": "<string>",
"end_date": "<string>"
}
],
"skills": [
{}
],
"certifications": [
{
"name": "<string>",
"authority": "<string>",
"url": "<string>",
"start_date": "<string>",
"end_date": "<string>"
}
],
"languages": [
{
"name": "<string>",
"proficiency": "<string>"
}
],
"metrics": {
"followers": 123,
"skills_count": 123
}
},
"work_email": {},
"personal_email": {},
"phone": {},
"git_profile": {
"username": "<string>",
"display_name": "<string>",
"avatar_url": "<string>",
"bio": {},
"location": {},
"company": {},
"email": {},
"followers": {},
"following": {},
"repos_count": 123,
"starred_repos": 123,
"contributions_last_year": 123,
"pinned_repos": [
{
"name": "<string>",
"description": {},
"language": {},
"stars": 123,
"forks": 123,
"url": "<string>"
}
],
"readme_bio": {},
"achievements": [
{}
],
"highlights": [
{}
],
"github_url": "<string>"
}
}Enrichment
Enrich Profile
Enrich a profile with requested data (full profile, emails, phone)
POST
/
enrich
/
profile
curl -X POST https://api.dataforb2b.ai/enrich/profile \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"profile_identifier": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
"enrich_profile": true,
"enrich_work_email": true
}'
curl -X POST https://api.dataforb2b.ai/enrich/profile \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"profile_identifier": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
"enrich_profile": true,
"enrich_github": true
}'
curl -X POST https://api.dataforb2b.ai/enrich/profile \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"profile_identifier": "john-doe",
"enrich_phone": true
}'
import requests
# Full profile + work email + GitHub
response = requests.post(
"https://api.dataforb2b.ai/enrich/profile",
headers={
"api_key": "YOUR_api_key",
"Content-Type": "application/json"
},
json={
"profile_identifier": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
"enrich_profile": True,
"enrich_work_email": True,
"enrich_github": True
}
)
data = response.json()
print(f"Profile: {data.get('profile')}")
print(f"Work email: {data.get('work_email')}")
print(f"GitHub: {data.get('git_profile')}")
// Full profile + work email + GitHub
const response = await fetch('https://api.dataforb2b.ai/enrich/profile', {
method: 'POST',
headers: {
'api_key': 'YOUR_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
profile_identifier: 'prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj',
enrich_profile: true,
enrich_work_email: true,
enrich_github: true
})
});
const data = await response.json();
console.log('Profile:', data.profile);
console.log('Work email:', data.work_email);
console.log('GitHub:', data.git_profile);
{
"profile": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"headline": "<string>",
"location": "<string>",
"country": "<string>",
"industry": "<string>",
"summary": "<string>",
"profile_language": "<string>",
"profile_picture_url": "<string>",
"links": {
"linkedin": "<string>",
"twitter": {},
"github": {}
},
"experience": [
{
"company": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"logo_url": "<string>",
"size": "<string>",
"industry": "<string>"
},
"title": "<string>",
"description": "<string>",
"employment_type": "<string>",
"location": "<string>",
"duration_months": 123,
"start_date": "<string>",
"end_date": {},
"is_current": true
}
],
"education": [
{
"school": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"logo_url": "<string>"
},
"degree": "<string>",
"field_of_study": "<string>",
"start_date": "<string>",
"end_date": "<string>"
}
],
"skills": [
{}
],
"certifications": [
{
"name": "<string>",
"authority": "<string>",
"url": "<string>",
"start_date": "<string>",
"end_date": "<string>"
}
],
"languages": [
{
"name": "<string>",
"proficiency": "<string>"
}
],
"metrics": {
"followers": 123,
"skills_count": 123
}
},
"work_email": {},
"personal_email": {},
"phone": {},
"git_profile": {
"username": "<string>",
"display_name": "<string>",
"avatar_url": "<string>",
"bio": {},
"location": {},
"company": {},
"email": {},
"followers": {},
"following": {},
"repos_count": 123,
"starred_repos": 123,
"contributions_last_year": 123,
"pinned_repos": [
{
"name": "<string>",
"description": {},
"language": {},
"stars": 123,
"forks": 123,
"url": "<string>"
}
],
"readme_bio": {},
"achievements": [
{}
],
"highlights": [
{}
],
"github_url": "<string>"
}
}Credit Cost
| Data Type | Credits |
|---|---|
| Full profile info | 1.5 credits |
| Personal email | 1 credit |
| Professional email | 3 credits |
| Phone number | 10 credits |
| GitHub profile | 1 credit |
You can select which data to enrich. Credits are only charged for the data types you request (e.g., if you only request phone number, you’ll be charged 10 credits).
Request Body
Profile identifier. Supports multiple formats:
- Full URL:
https://www.linkedin.com/in/john-doe - Short URL:
linkedin.com/in/john-doe - Public ID:
john-doe - Member identity:
ACoAABxxxxxx - URN:
urn:li:fsd_profile:ACoAABxxxxxx - Encoded ID:
prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj⭐ (recommended)
Enrich the full profile data (experience, education, skills, etc.)
Enrich professional email address
Enrich personal email address
Enrich phone number
Enrich GitHub profile data (repositories, contributions, etc.). Requires the profile to have a GitHub link.
At least one
enrich_* field must be set to true.Response
Full profile data (only present if
enrich_profile: true)Show profile properties
Show profile properties
Encoded profile ID (prof_xxx)
First name
Last name
Professional headline
Current location
Country code
Industry
Profile summary/bio
Profile language code
Profile picture URL
Work experience history
Show experience item properties
Show experience item properties
Job title
Job description
Employment type (e.g., “Full-time”, “Contract”)
Job location
Duration in months
Start date (YYYY-MM format)
End date (YYYY-MM format), null if current
Whether this is the current position
Education history
Array of skill names (strings)
Professional email address (only present if
enrich_work_email: true). Example: “[email protected]”Personal email address (only present if
enrich_personal_email: true). Example: “[email protected]”Phone number (only present if
enrich_phone: true). Example: “+1 415 555 0123”GitHub profile data (only present if
enrich_github: true)Show git_profile properties
Show git_profile properties
GitHub username
GitHub display name
GitHub avatar URL
GitHub bio
Location from GitHub profile
Company from GitHub profile
Public email from GitHub profile
Number of followers
Number of following
Number of public repositories
Number of starred repositories
Number of contributions in the last year
Bio from profile README
GitHub achievements (array of strings)
GitHub highlights (array of strings)
GitHub profile URL
curl -X POST https://api.dataforb2b.ai/enrich/profile \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"profile_identifier": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
"enrich_profile": true,
"enrich_work_email": true
}'
curl -X POST https://api.dataforb2b.ai/enrich/profile \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"profile_identifier": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
"enrich_profile": true,
"enrich_github": true
}'
curl -X POST https://api.dataforb2b.ai/enrich/profile \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"profile_identifier": "john-doe",
"enrich_phone": true
}'
import requests
# Full profile + work email + GitHub
response = requests.post(
"https://api.dataforb2b.ai/enrich/profile",
headers={
"api_key": "YOUR_api_key",
"Content-Type": "application/json"
},
json={
"profile_identifier": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
"enrich_profile": True,
"enrich_work_email": True,
"enrich_github": True
}
)
data = response.json()
print(f"Profile: {data.get('profile')}")
print(f"Work email: {data.get('work_email')}")
print(f"GitHub: {data.get('git_profile')}")
// Full profile + work email + GitHub
const response = await fetch('https://api.dataforb2b.ai/enrich/profile', {
method: 'POST',
headers: {
'api_key': 'YOUR_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
profile_identifier: 'prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj',
enrich_profile: true,
enrich_work_email: true,
enrich_github: true
})
});
const data = await response.json();
console.log('Profile:', data.profile);
console.log('Work email:', data.work_email);
console.log('GitHub:', data.git_profile);
⌘I

