Skip to main content
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
  }'
{
  "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>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.dataforb2b.ai/llms.txt

Use this file to discover all available pages before exploring further.

Credit Cost

Data TypeCredits
Full profile info1.5 credits
Personal email1 credit
Professional email3 credits
Phone number10 credits
GitHub profile1 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
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
  • Member identity: ACoAABxxxxxx
  • URN: urn:li:fsd_profile:ACoAABxxxxxx
  • Encoded ID: prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj ⭐ (recommended)
enrich_profile
boolean
default:"false"
Enrich the full profile data (experience, education, skills, etc.)
enrich_work_email
boolean
default:"false"
Enrich professional email address
enrich_personal_email
boolean
default:"false"
Enrich personal email address
enrich_phone
boolean
default:"false"
Enrich phone number
enrich_github
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

profile
object
Full profile data (only present if enrich_profile: true)
work_email
string | null
Professional email address (only present if enrich_work_email: true). Example: “[email protected]
personal_email
string | null
Personal email address (only present if enrich_personal_email: true). Example: “[email protected]
phone
string | null
Phone number (only present if enrich_phone: true). Example: “+1 415 555 0123”
git_profile
object | null
GitHub profile data (only present if 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": "prof_PVXj1LZJg54zXKcnKNBusu8LgvJX5SYm5QYj",
    "enrich_profile": true,
    "enrich_work_email": true
  }'