curl --request POST \
--url https://bee.theswarm.com/v2/profiles/fetch \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"linkedinNames": [
"<string>"
],
"linkedinIds": [
123
],
"linkedinEntityIds": [
"<string>"
],
"fields": [
"profile_info"
]
}
'{
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connections": [
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_email": "<string>",
"user_linkedin_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"sources": [
{
"origin": "<string>",
"network": "<string>"
}
],
"connection_strength": 123,
"strength_normalized": 123,
"manual_strength": 123
}
],
"lists": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>"
}
],
"notes": [
{
"id": "<string>",
"content": "<string>"
}
],
"tags": [
{
"id": "<string>",
"name": "<string>"
}
],
"profile_info": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"headline": "<string>",
"about": "<string>",
"linkedin_url": "<string>",
"work_email": "<string>",
"personal_emails": [
"<string>"
],
"current_title": "<string>",
"current_function": "<string>",
"current_seniority": [
"<string>"
],
"current_company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_company_name": "<string>",
"current_company_logo_url": "<string>",
"current_company_website": "<string>",
"current_company_size": {
"min": 123,
"max": 123
},
"current_company_industry": "<string>",
"current_company_location": "<string>",
"current_company_linkedin_url": "<string>",
"experience": [
{
"is_current": true,
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"canonical_name": "<string>",
"name": "<string>",
"founded": "2023-11-07T05:31:56Z",
"industry": "<string>",
"website": "<string>",
"size": {
"min": 123,
"max": 123
},
"social_media": [
{
"network": "<string>",
"id": "<string>",
"slug": "<string>",
"url": "<string>",
"url_status": "<string>"
}
],
"locations": [
{
"name": "<string>",
"country": "<string>",
"headquarter": true
}
],
"logo": "<string>"
},
"title": "<string>",
"seniority": [
"<string>"
],
"function": "<string>",
"location": [
"<string>"
],
"description": "<string>",
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"status": "<string>"
}
],
"current_location": "<string>",
"other_locations": [
"<string>"
],
"interests": [
"<string>"
],
"skills": [
"<string>"
],
"education": [
{
"school": {
"name": "<string>",
"type": "<string>",
"id": "<string>",
"location": {
"name": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"street_address": "<string>",
"postal_code": "<string>"
},
"website": "<string>",
"linkedin_url": "<string>",
"linkedin_id": "<string>",
"social_media": [
{
"network": "<string>",
"id": "<string>",
"slug": "<string>",
"url": "<string>",
"url_status": "<string>"
}
]
},
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"degrees": [
"<string>"
],
"majors": [
"<string>"
],
"minors": [
"<string>"
],
"activities": "<string>",
"grade": "<string>",
"description": "<string>"
}
],
"profiles": [
{
"network": "<string>",
"id": "<string>",
"url": "<string>"
}
],
"linkedin_experience_count": 123,
"linkedin_education_count": 123,
"social_media": [
{
"network": "<string>",
"id": "<string>",
"slug": "<string>",
"url": "<string>",
"url_status": "<string>"
}
],
"investor_data": {
"description": "<string>",
"type": [
"<string>"
],
"industry_focus": [
"<string>"
],
"stage_focus": [
"<string>"
],
"geo_focus": [
"<string>"
],
"check_size": [
"<string>"
],
"portfolio_companies": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"smart_tags": [
"<string>"
],
"latest_role_change_at": "2023-12-25",
"latest_company_change_at": "2023-12-25",
"current_job_updated_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"last_refresh_at": "2023-11-07T05:31:56Z"
}
}
],
"notFound": [
"<string>"
]
}The Fetch endpoint within the API facilitates the retrieval of specific profiles from the database based on their unique identifiers (profile IDs or LinkedIn usernames). This endpoint is designed to provide detailed information about individual profiles stored in the database, allowing users to access profile connections, lists, notes, and tags.
curl --request POST \
--url https://bee.theswarm.com/v2/profiles/fetch \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"linkedinNames": [
"<string>"
],
"linkedinIds": [
123
],
"linkedinEntityIds": [
"<string>"
],
"fields": [
"profile_info"
]
}
'{
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connections": [
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_email": "<string>",
"user_linkedin_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"sources": [
{
"origin": "<string>",
"network": "<string>"
}
],
"connection_strength": 123,
"strength_normalized": 123,
"manual_strength": 123
}
],
"lists": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>"
}
],
"notes": [
{
"id": "<string>",
"content": "<string>"
}
],
"tags": [
{
"id": "<string>",
"name": "<string>"
}
],
"profile_info": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"headline": "<string>",
"about": "<string>",
"linkedin_url": "<string>",
"work_email": "<string>",
"personal_emails": [
"<string>"
],
"current_title": "<string>",
"current_function": "<string>",
"current_seniority": [
"<string>"
],
"current_company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_company_name": "<string>",
"current_company_logo_url": "<string>",
"current_company_website": "<string>",
"current_company_size": {
"min": 123,
"max": 123
},
"current_company_industry": "<string>",
"current_company_location": "<string>",
"current_company_linkedin_url": "<string>",
"experience": [
{
"is_current": true,
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"canonical_name": "<string>",
"name": "<string>",
"founded": "2023-11-07T05:31:56Z",
"industry": "<string>",
"website": "<string>",
"size": {
"min": 123,
"max": 123
},
"social_media": [
{
"network": "<string>",
"id": "<string>",
"slug": "<string>",
"url": "<string>",
"url_status": "<string>"
}
],
"locations": [
{
"name": "<string>",
"country": "<string>",
"headquarter": true
}
],
"logo": "<string>"
},
"title": "<string>",
"seniority": [
"<string>"
],
"function": "<string>",
"location": [
"<string>"
],
"description": "<string>",
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"status": "<string>"
}
],
"current_location": "<string>",
"other_locations": [
"<string>"
],
"interests": [
"<string>"
],
"skills": [
"<string>"
],
"education": [
{
"school": {
"name": "<string>",
"type": "<string>",
"id": "<string>",
"location": {
"name": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"street_address": "<string>",
"postal_code": "<string>"
},
"website": "<string>",
"linkedin_url": "<string>",
"linkedin_id": "<string>",
"social_media": [
{
"network": "<string>",
"id": "<string>",
"slug": "<string>",
"url": "<string>",
"url_status": "<string>"
}
]
},
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"degrees": [
"<string>"
],
"majors": [
"<string>"
],
"minors": [
"<string>"
],
"activities": "<string>",
"grade": "<string>",
"description": "<string>"
}
],
"profiles": [
{
"network": "<string>",
"id": "<string>",
"url": "<string>"
}
],
"linkedin_experience_count": 123,
"linkedin_education_count": 123,
"social_media": [
{
"network": "<string>",
"id": "<string>",
"slug": "<string>",
"url": "<string>",
"url_status": "<string>"
}
],
"investor_data": {
"description": "<string>",
"type": [
"<string>"
],
"industry_focus": [
"<string>"
],
"stage_focus": [
"<string>"
],
"geo_focus": [
"<string>"
],
"check_size": [
"<string>"
],
"portfolio_companies": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"smart_tags": [
"<string>"
],
"latest_role_change_at": "2023-12-25",
"latest_company_change_at": "2023-12-25",
"current_job_updated_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"last_refresh_at": "2023-11-07T05:31:56Z"
}
}
],
"notFound": [
"<string>"
]
}fields object that accepts the following values:
connections | List of team members who are connected to the given profile. The connection details are included (see Models > Profile) |
tags | Tags assigned to the profile |
lists | Lists the profile is assigned to |
notes | List of notes assigned to the profile. Private notes are not included. |
profile_info | Detailed profile data, e.g. work experience, education, etc. |
investorData is no longer a valid field in fetch requests. This information is now available as investor_data nested within the profile_info object. For more details on this structure change, please refer to the Models > Profile. documentation.The Swarm profile IDs
LinkedIn profile URL slugs
LinkedIn numeric profile IDs
LinkedIn alphanumeric entity IDs
1connections, lists, notes, tags, profile_info Was this page helpful?