IP → Mobile Device IDs
curl --request POST \
--url https://api.rb2b.com/api/v1/ip_to_maid \
--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_maid"
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_maid', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"device_id": "6D92078A-8246-4BA4-AE5B-76104861E7DC",
"device_type": "idfa"
}
]
}{
"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 → Mobile Device IDs
Find the mobile advertising IDs seen at an IP address.
Provide an IPv4 or IPv6 ip_address. We use our proprietary identity resolution technology to return the mobile advertising IDs (MAIDs) recently observed at the IP address.
Billing: 1 credit per successful lookup (HTTP 200), regardless of how many device IDs are returned. Misses (404) and request errors (4xx) are not billed.
POST
/
api
/
v1
/
ip_to_maid
IP → Mobile Device IDs
curl --request POST \
--url https://api.rb2b.com/api/v1/ip_to_maid \
--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_maid"
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_maid', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"device_id": "6D92078A-8246-4BA4-AE5B-76104861E7DC",
"device_type": "idfa"
}
]
}{
"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 of the visitor.
Example:
"203.0.113.42"
Response
Matches found (1 credit charged)
Mobile advertising IDs seen at the supplied IP address.
Show child attributes
Show child attributes

