curl --request POST \
--url https://api.rb2b.com/api/v1/linkedin_to_business_profile \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"linkedin_slug": "alice-123",
"linkedin_url": "https://www.linkedin.com/in/alice-123",
"include_mobile_phone": false,
"require_email": false
}
'import requests
url = "https://api.rb2b.com/api/v1/linkedin_to_business_profile"
payload = {
"linkedin_slug": "alice-123",
"linkedin_url": "https://www.linkedin.com/in/alice-123",
"include_mobile_phone": False,
"require_email": False
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
linkedin_slug: 'alice-123',
linkedin_url: 'https://www.linkedin.com/in/alice-123',
include_mobile_phone: false,
require_email: false
})
};
fetch('https://api.rb2b.com/api/v1/linkedin_to_business_profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"result": {
"first_name": "Alice",
"last_name": "Smith",
"title": "VP of Marketing",
"current_company": "Acme",
"linkedin_slug": "alice-123",
"business_email": "alice@acme.com",
"business_emails": [
"a.smith@acme.com",
"asmith@acme.com"
],
"company_employee_range": "51-200",
"company_revenue_range": "$10M-$50M",
"mobile_phone": "+14155550123"
}
}{
"error": "missing linkedin_slug or linkedin_url"
}{
"error": "missing_api_key"
}{
"error": "insufficient_api_credits",
"required": "1.0",
"remaining": "0.0"
}{
"error": "service_unavailable_for_key"
}{
"result": {}
}LinkedIn → Business Profile
Enrich a profile into a full work profile: name, title, company, size.
Provide either linkedin_slug or linkedin_url; at least one is required, and either field accepts a bare slug (e.g. alice-123) or a full profile URL (e.g. https://www.linkedin.com/in/alice-123). Set include_mobile_phone to also look up the contact’s mobile phone number.
Billing: 4 credits per successful match (HTTP 200). Misses (404) and request errors (4xx) are not billed.
curl --request POST \
--url https://api.rb2b.com/api/v1/linkedin_to_business_profile \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"linkedin_slug": "alice-123",
"linkedin_url": "https://www.linkedin.com/in/alice-123",
"include_mobile_phone": false,
"require_email": false
}
'import requests
url = "https://api.rb2b.com/api/v1/linkedin_to_business_profile"
payload = {
"linkedin_slug": "alice-123",
"linkedin_url": "https://www.linkedin.com/in/alice-123",
"include_mobile_phone": False,
"require_email": False
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
linkedin_slug: 'alice-123',
linkedin_url: 'https://www.linkedin.com/in/alice-123',
include_mobile_phone: false,
require_email: false
})
};
fetch('https://api.rb2b.com/api/v1/linkedin_to_business_profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"result": {
"first_name": "Alice",
"last_name": "Smith",
"title": "VP of Marketing",
"current_company": "Acme",
"linkedin_slug": "alice-123",
"business_email": "alice@acme.com",
"business_emails": [
"a.smith@acme.com",
"asmith@acme.com"
],
"company_employee_range": "51-200",
"company_revenue_range": "$10M-$50M",
"mobile_phone": "+14155550123"
}
}{
"error": "missing linkedin_slug or linkedin_url"
}{
"error": "missing_api_key"
}{
"error": "insufficient_api_credits",
"required": "1.0",
"remaining": "0.0"
}{
"error": "service_unavailable_for_key"
}{
"result": {}
}Authorizations
Per-account API key. Also accepted as Api-Key or Authorization: Bearer <key>.
Body
At least one of linkedin_slug or linkedin_url is required.
LinkedIn public profile slug. Also accepts a full profile URL.
"alice-123"
Full LinkedIn profile URL. Used only when linkedin_slug is absent.
"https://www.linkedin.com/in/alice-123"
Also look up the contact's mobile phone number and include it as mobile_phone in the result.
Only return and bill for profiles that contain an email address.
Response
Profile found (4 credits charged)
Work profile for the matched contact. Only fields known for the contact are present.
Show child attributes
Show child attributes

