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>"
},
"credits_used": 123
}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>"
},
"credits_used": 123
}Credit Cost
| Data Type | Credits |
|---|---|
| Full profile info | 1.5 credits |
| Personal email | 3 credits |
| Professional email | 1 credit |
| 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
string
required
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 - Encoded ID:
prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj⭐ (recommended) - Twitter/X URL or handle:
https://x.com/janedoe,x.com/janedoe,@janedoe
With a Twitter/X identifier, the person is resolved from their X profile and matched to enrich contact data. Email and phone are best-effort for X-sourced profiles — pass a LinkedIn identifier when you have one for the most complete results.
boolean
default:"false"
Enrich the full profile data (experience, education, skills, etc.)
boolean
default:"false"
Enrich professional email address
boolean
default:"false"
Enrich personal email address
boolean
default:"false"
Enrich phone number
boolean
default:"false"
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
object
Full profile data (only present if
enrich_profile: true)Show profile properties
Show profile properties
string
Encoded profile ID (prof_xxx)
string
First name
string
Last name
string
Professional headline
string
Current location
string
Country code
string
Industry
string
Profile summary/bio
string
Profile language code
string
Profile picture URL
object
array
Work experience history
Show experience item properties
Show experience item properties
object
string
Job title
string
Job description
string
Employment type (e.g., “Full-time”, “Contract”)
string
Job location
number
Duration in months
string
Start date (YYYY-MM format)
string | null
End date (YYYY-MM format), null if current
boolean
Whether this is the current position
array
array
Array of skill names (strings)
array
array
string | null
Professional email address (only present if
enrich_work_email: true). Example: “[email protected]”string | null
Personal email address (only present if
enrich_personal_email: true). Example: “[email protected]”string | null
Phone number (only present if
enrich_phone: true). Example: “+1 415 555 0123”object | null
GitHub profile data (only present if
enrich_github: true)Show git_profile properties
Show git_profile properties
string
GitHub username
string
GitHub display name
string
GitHub avatar URL
string | null
GitHub bio
string | null
Location from GitHub profile
string | null
Company from GitHub profile
string | null
Public email from GitHub profile
number | null
Number of followers
number | null
Number of following
number
Number of public repositories
number
Number of starred repositories
number
Number of contributions in the last year
array
string | null
Bio from profile README
array
GitHub achievements (array of strings)
array
GitHub highlights (array of strings)
string
GitHub profile URL
number
Credits charged for this request. Only successful enrichments are charged.
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

