Retrieve LinkedIn Profiles

LinkedIn restricts users to approximately 100 profile views per day. To ensure your account remains safe, our system automatically enforces internal limits that comply with LinkedInโ€™s policies.

Example of retrieving LinkedIn profiles

Using route with URL ๐Ÿ”—

  1. You need to have already connected your LinkedIn account to proceed with this request.

  2. Make sure to use the X-AccountId in header of request.

  3. Use URL in Query Parameters example

    https://www.linkedin.com/in/mike-smith/

GET/api/v1/profiles/by-url

curl https://api.salesflow.io/public/api/v1/profiles/by-url \
  --header 'X-AccountId: 1234567890' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'


RESPONSE

{
  "profile": {
    "linkedInMemberId": "ACoAACt6x78B1gZ123ABC",
    "publicIdentifier": "jane-doe",
    "occupation": "Marketing Director at GrowthEdge",
    "profileId": "ACoAABR8yogBK_NdDPJLmF3brOxXpb0Uw0N-r1U",
    "firstName": "Jane",
    "lastName": "Doe",
    "headLine": "Helping B2B startups scale with marketing strategy | Speaker | Mentor",
    "summary": "Experienced marketing professional with over 10 years in B2B growth strategy. Passionate about helping SaaS startups accelerate revenue.",
    "location": "San Francisco Bay Area",
    "geoLocation": "US-CA",
    "industryName": "Marketing and Advertising",
    "backgroundPictureUrl": "https://media.licdn.com/bg-image.jpg",
    "profilePictureUrl": "https://media.licdn.com/profile-pic.jpg",
    "profilePictureUrlLarge": "https://media.licdn.com/profile-pic-large.jpg",
    "isStudent": false,
    "birthDate": {
      "day": 15,
      "month": 6,
      "year": 1985
    },
    "followersCount": 3200,
    "connectionsCount": 500,
    "following": true,
    "distance": 2,
    "isOpenLink": true,
    "isPremium": true,
    "isJobSeeker": false,
    "isInfluencer": false,
    "canSendClassicInmail": true,
    "authType": "OAuth",
    "authToken": "auth-token-abc123",
    "connectedAt": "2024-12-10T09:30:00Z",
    "contactInfo": {
      "email": "jane.doe@growthedge.com",
      "address": "123 Market Street, San Francisco, CA",
      "phones": [
        {
          "number": "+1-415-555-9876",
          "type": "mobile"
        }
      ],
      "internetMessengers": [
        {
          "id": "janedoe123",
          "provider": "Skype"
        }
      ],
      "websites": [
        {
          "url": "https://janedoe.com",
          "category": "personal"
        }
      ]
    },
    "invitation": {
      "id": "invite-001",
      "type": "CONNECT",
      "state": "PENDING"
    },
    "educations": [
      {
        "degree": "MBA",
        "school": "Harvard Business School",
        "fieldOfStudy": "Marketing",
        "grade": "3.9",
        "timePeriod": {
          "start": {
            "day": null,
            "month": 9,
            "year": 2008
          },
          "end": {
            "day": null,
            "month": 6,
            "year": 2010
          }
        }
      }
    ],
    "skills": [
      "Growth Marketing",
      "SaaS Strategy",
      "Team Leadership"
    ],
    "languages": [
      {
        "name": "English",
        "proficiency": "Native"
      },
      {
        "name": "Spanish",
        "proficiency": "Professional"
      }
    ],
    "primaryLocale": {
      "country": "US",
      "language": "en"
    },
    "workExperience": [
      {
        "position": "Marketing Director",
        "company": "GrowthEdge",
        "location": "Remote",
        "description": "Lead GTM strategy, demand generation, and content for B2B SaaS clients.",
        "industries": [
          "Marketing",
          "Technology"
        ],
        "employeeCountRange": {
          "from": 50,
          "to": 200
        },
        "timePeriod": {
          "start": {
            "day": 1,
            "month": 1,
            "year": 2020
          },
          "end": {
            "day": null,
            "month": null,
            "year": null
          }
        }
      }
    ],
    "certifications": [
      {
        "organization": "Google",
        "authority": "Google Digital Academy",
        "name": "Advanced Google Ads",
        "licenseNumber": "GA-5678",
        "url": "https://google.com/certification/GA-5678",
        "timePeriod": {
          "start": {
            "day": 1,
            "month": 4,
            "year": 2022
          },
          "end": {
            "day": null,
            "month": null,
            "year": null
          }
        }
      }
    ],
    "projects": [
      {
        "title": "SaaS Launch Accelerator",
        "description": "Developed and led a 6-week launch playbook for early-stage SaaS companies.",
        "timePeriod": {
          "start": {
            "day": 1,
            "month": 5,
            "year": 2023
          },
          "end": {
            "day": 1,
            "month": 7,
            "year": 2023
          }
        }
      }
    ],
    "volunteeringExperiences": [
      {
        "companyName": "Women in Tech",
        "description": "Mentored female entrepreneurs in early-stage funding strategy.",
        "role": "Mentor",
        "cause": "Education",
        "timePeriod": {
          "start": {
            "day": 1,
            "month": 3,
            "year": 2021
          },
          "end": {
            "day": 1,
            "month": 12,
            "year": 2022
          }
        }
      }
    ]
  }
}

Using route with profileId or Public Identifier ๐Ÿ”—

  1. You need to have already connected your LinkedIn account to proceed with this request.

  2. Make sure to use the X-AccountId in header of request.

  3. Use profileId in Variables example

    ACoAABR8yogBK_NdDPJLmF3brOxXpb0Uw0N-r1U. or public identifier that you can take from URL, where mike-smith is public identifier (https://www.linkedin.com/in/mike-smith/)

Get /api/v1/profiles/{id}

curl 'https://api.salesflow.io/public/api/v1/profiles/{id}' \
  --header 'X-AccountId: 1234567890' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'

RESPONSE


  {
  "profile": {
    "linkedInMemberId": "ACoAACt6x78B1gZ123ABC",
    "publicIdentifier": "jane-doe",
    "occupation": "Marketing Director at GrowthEdge",
    "profileId": "ACoAABR8yogBK_NdDPJLmF3brOxXpb0Uw0N-r1U",
    "firstName": "Jane",
    "lastName": "Doe",
    "headLine": "Helping B2B startups scale with marketing strategy | Speaker | Mentor",
    "summary": "Experienced marketing professional with over 10 years in B2B growth strategy. Passionate about helping SaaS startups accelerate revenue.",
    "location": "San Francisco Bay Area",
    "geoLocation": "US-CA",
    "industryName": "Marketing and Advertising",
    "backgroundPictureUrl": "https://media.licdn.com/bg-image.jpg",
    "profilePictureUrl": "https://media.licdn.com/profile-pic.jpg",
    "profilePictureUrlLarge": "https://media.licdn.com/profile-pic-large.jpg",
    "isStudent": false,
    "birthDate": {
      "day": 15,
      "month": 6,
      "year": 1985
    },
    "followersCount": 3200,
    "connectionsCount": 500,
    "following": true,
    "distance": 2,
    "isOpenLink": true,
    "isPremium": true,
    "isJobSeeker": false,
    "isInfluencer": false,
    "canSendClassicInmail": true,
    "authType": "OAuth",
    "authToken": "auth-token-abc123",
    "connectedAt": "2024-12-10T09:30:00Z",
    "contactInfo": {
      "email": "jane.doe@growthedge.com",
      "address": "123 Market Street, San Francisco, CA",
      "phones": [
        {
          "number": "+1-415-555-9876",
          "type": "mobile"
        }
      ],
      "internetMessengers": [
        {
          "id": "janedoe123",
          "provider": "Skype"
        }
      ],
      "websites": [
        {
          "url": "https://janedoe.com",
          "category": "personal"
        }
      ]
    },
    "invitation": {
      "id": "invite-001",
      "type": "CONNECT",
      "state": "PENDING"
    },
    "educations": [
      {
        "degree": "MBA",
        "school": "Harvard Business School",
        "fieldOfStudy": "Marketing",
        "grade": "3.9",
        "timePeriod": {
          "start": {
            "day": null,
            "month": 9,
            "year": 2008
          },
          "end": {
            "day": null,
            "month": 6,
            "year": 2010
          }
        }
      }
    ],
    "skills": [
      "Growth Marketing",
      "SaaS Strategy",
      "Team Leadership"
    ],
    "languages": [
      {
        "name": "English",
        "proficiency": "Native"
      },
      {
        "name": "Spanish",
        "proficiency": "Professional"
      }
    ],
    "primaryLocale": {
      "country": "US",
      "language": "en"
    },
    "workExperience": [
      {
        "position": "Marketing Director",
        "company": "GrowthEdge",
        "location": "Remote",
        "description": "Lead GTM strategy, demand generation, and content for B2B SaaS clients.",
        "industries": [
          "Marketing",
          "Technology"
        ],
        "employeeCountRange": {
          "from": 50,
          "to": 200
        },
        "timePeriod": {
          "start": {
            "day": 1,
            "month": 1,
            "year": 2020
          },
          "end": {
            "day": null,
            "month": null,
            "year": null
          }
        }
      }
    ],
    "certifications": [
      {
        "organization": "Google",
        "authority": "Google Digital Academy",
        "name": "Advanced Google Ads",
        "licenseNumber": "GA-5678",
        "url": "https://google.com/certification/GA-5678",
        "timePeriod": {
          "start": {
            "day": 1,
            "month": 4,
            "year": 2022
          },
          "end": {
            "day": null,
            "month": null,
            "year": null
          }
        }
      }
    ],
    "projects": [
      {
        "title": "SaaS Launch Accelerator",
        "description": "Developed and led a 6-week launch playbook for early-stage SaaS companies.",
        "timePeriod": {
          "start": {
            "day": 1,
            "month": 5,
            "year": 2023
          },
          "end": {
            "day": 1,
            "month": 7,
            "year": 2023
          }
        }
      }
    ],
    "volunteeringExperiences": [
      {
        "companyName": "Women in Tech",
        "description": "Mentored female entrepreneurs in early-stage funding strategy.",
        "role": "Mentor",
        "cause": "Education",
        "timePeriod": {
          "start": {
            "day": 1,
            "month": 3,
            "year": 2021
          },
          "end": {
            "day": 1,
            "month": 12,
            "year": 2022
          }
        }
      }
    ]
  }
}