IP → Company
curl --request POST \
--url https://api.rb2b.com/api/v1/ip_to_company \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"ip_address": "203.0.113.42"
}
'import requests
url = "https://api.rb2b.com/api/v1/ip_to_company"
payload = { "ip_address": "203.0.113.42" }
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'})
};
fetch('https://api.rb2b.com/api/v1/ip_to_company', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"domain": "acme.com",
"percentage": 0.9
}
]
}{
"error": "missing ip_address"
}{
"error": "missing_api_key"
}{
"error": "insufficient_api_credits",
"required": "1.0",
"remaining": "0.0"
}{
"error": "service_unavailable_for_key"
}{
"results": "<unknown>"
}Identity Resolution
IP → Company
Identify the company or organization behind an IP address.
Provide an IPv4 or IPv6 ip_address. Returns the candidate company domains with their match percentages. When no traffic-share breakdown is available, one domain is returned with percentage "1.0".
Billing: 1 credit per successful lookup (HTTP 200), regardless of how many companies are returned. Misses (404) and request errors (4xx) are not billed.
POST
/
api
/
v1
/
ip_to_company
IP → Company
curl --request POST \
--url https://api.rb2b.com/api/v1/ip_to_company \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"ip_address": "203.0.113.42"
}
'import requests
url = "https://api.rb2b.com/api/v1/ip_to_company"
payload = { "ip_address": "203.0.113.42" }
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'})
};
fetch('https://api.rb2b.com/api/v1/ip_to_company', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"domain": "acme.com",
"percentage": 0.9
}
]
}{
"error": "missing ip_address"
}{
"error": "missing_api_key"
}{
"error": "insufficient_api_credits",
"required": "1.0",
"remaining": "0.0"
}{
"error": "service_unavailable_for_key"
}{
"results": "<unknown>"
}Authorizations
Per-account API key. Also accepted as Api-Key or Authorization: Bearer <key>.
Body
application/json
IPv4 or IPv6 address to resolve.
Example:
"203.0.113.42"
Response
Company found (1 credit charged)
Candidate companies resolved for the supplied IP.
Show child attributes
Show child attributes

