curl --request POST \
--url https://api.rb2b.com/api/v1/ip_to_business_profile \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"ip_address": "203.0.113.42",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36",
"include_mobile_phone": false,
"require_email": false
}
'import requests
url = "https://api.rb2b.com/api/v1/ip_to_business_profile"
payload = {
"ip_address": "203.0.113.42",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36",
"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({
ip_address: '203.0.113.42',
user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36',
include_mobile_phone: false,
require_email: false
})
};
fetch('https://api.rb2b.com/api/v1/ip_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",
"seniority": "vp",
"functional_area": "Marketing",
"current_company": "Acme",
"current_industry": "Computer Software",
"country": "United States",
"linkedin_slug": "alice-123",
"company_employee_range": "51-200",
"company_revenue_range": "$10M-$50M",
"work_email_confirmed": "5f60af2947b32bde4bc824a30ad3f919",
"personal_emails": [
"<string>"
],
"mobile_phone": "+14155550123"
}
}{
"error": "missing ip_address"
}{
"error": "missing_api_key"
}{
"error": "insufficient_api_credits",
"required": "1.0",
"remaining": "0.0"
}{
"error": "service_unavailable_for_key"
}{
"result": {}
}IP → Business Profile
Resolve an IP (and browser details) straight to one work profile: name, title, company, and seniority. You’re only charged when a profile is returned.
Provide an IPv4 or IPv6 ip_address, optionally with the visitor’s user_agent. The first available work profile is returned using our proprietary identity resolution technology. Email fields are MD5-hashed by default.
Billing: 3 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/ip_to_business_profile \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"ip_address": "203.0.113.42",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36",
"include_mobile_phone": false,
"require_email": false
}
'import requests
url = "https://api.rb2b.com/api/v1/ip_to_business_profile"
payload = {
"ip_address": "203.0.113.42",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36",
"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({
ip_address: '203.0.113.42',
user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36',
include_mobile_phone: false,
require_email: false
})
};
fetch('https://api.rb2b.com/api/v1/ip_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",
"seniority": "vp",
"functional_area": "Marketing",
"current_company": "Acme",
"current_industry": "Computer Software",
"country": "United States",
"linkedin_slug": "alice-123",
"company_employee_range": "51-200",
"company_revenue_range": "$10M-$50M",
"work_email_confirmed": "5f60af2947b32bde4bc824a30ad3f919",
"personal_emails": [
"<string>"
],
"mobile_phone": "+14155550123"
}
}{
"error": "missing ip_address"
}{
"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
IPv4 or IPv6 address of the visitor.
"203.0.113.42"
Visitor's browser User-Agent. Optional; improves match confidence when provided.
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"
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 (3 credits charged)
Work profile for the matched contact. Only fields known for the contact are present.
Show child attributes
Show child attributes

