curl --request POST \
--url https://api.rb2b.com/api/v1/linkedin_slug_search \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"first_name": "Alice",
"last_name": "Smith",
"company_domain": "acme.com"
}
'import requests
url = "https://api.rb2b.com/api/v1/linkedin_slug_search"
payload = {
"first_name": "Alice",
"last_name": "Smith",
"company_domain": "acme.com"
}
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({first_name: 'Alice', last_name: 'Smith', company_domain: 'acme.com'})
};
fetch('https://api.rb2b.com/api/v1/linkedin_slug_search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"result": {
"linkedin_url": "https://linkedin.com/in/alice-123"
}
}{
"error": "missing first_name"
}{
"error": "missing_api_key"
}{
"error": "insufficient_api_credits",
"required": "1.0",
"remaining": "0.0"
}{
"error": "service_unavailable_for_key"
}{
"result": {}
}Find LinkedIn Profile
Look up a LinkedIn profile by name and company website.
All three fields are required. Matching is case-insensitive: anything after a comma in a name is ignored (“Smith, Jr.” matches as “smith”), and company_domain accepts a bare domain or a full URL (https://www.acme.com/about matches as acme.com).
Billing: 1 credit 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_slug_search \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"first_name": "Alice",
"last_name": "Smith",
"company_domain": "acme.com"
}
'import requests
url = "https://api.rb2b.com/api/v1/linkedin_slug_search"
payload = {
"first_name": "Alice",
"last_name": "Smith",
"company_domain": "acme.com"
}
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({first_name: 'Alice', last_name: 'Smith', company_domain: 'acme.com'})
};
fetch('https://api.rb2b.com/api/v1/linkedin_slug_search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"result": {
"linkedin_url": "https://linkedin.com/in/alice-123"
}
}{
"error": "missing first_name"
}{
"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
Contact's first name. Case-insensitive; anything after a comma is ignored.
"Alice"
Contact's last name. Case-insensitive; anything after a comma is ignored.
"Smith"
Company website domain. Accepts a bare domain or a full URL.
"acme.com"
Response
Profile found (1 credit charged)
Matched LinkedIn profile. Only fields known for the contact are present.
Show child attributes
Show child attributes

