Email → Mobile Device IDs
curl --request POST \
--url https://api.rb2b.com/api/v1/hem_to_maid \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"md5": "5d41402abc4b2a76b9719d911017c592",
"email": "alice@example.com"
}
'import requests
url = "https://api.rb2b.com/api/v1/hem_to_maid"
payload = {
"md5": "5d41402abc4b2a76b9719d911017c592",
"email": "alice@example.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({md5: '5d41402abc4b2a76b9719d911017c592', email: 'alice@example.com'})
};
fetch('https://api.rb2b.com/api/v1/hem_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 md5_or_email"
}{
"error": "missing_api_key"
}{
"error": "insufficient_api_credits",
"required": "1.0",
"remaining": "0.0"
}{
"error": "service_unavailable_for_key"
}{
"results": [
{}
]
}Email lookups
Email → Mobile Device IDs
Find the mobile advertising IDs linked to an email. Accepts a hashed or plaintext email.
Provide either a pre-computed md5 (32-character hex digest of the lowercased, trimmed email) or a plaintext email. Returns every mobile advertising ID (MAID) linked to the hashed email, each with its device type.
Billing: 1 credit per successful match (HTTP 200), regardless of how many device IDs are returned. Misses (404) and request errors (4xx) are not billed.
POST
/
api
/
v1
/
hem_to_maid
Email → Mobile Device IDs
curl --request POST \
--url https://api.rb2b.com/api/v1/hem_to_maid \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"md5": "5d41402abc4b2a76b9719d911017c592",
"email": "alice@example.com"
}
'import requests
url = "https://api.rb2b.com/api/v1/hem_to_maid"
payload = {
"md5": "5d41402abc4b2a76b9719d911017c592",
"email": "alice@example.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({md5: '5d41402abc4b2a76b9719d911017c592', email: 'alice@example.com'})
};
fetch('https://api.rb2b.com/api/v1/hem_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 md5_or_email"
}{
"error": "missing_api_key"
}{
"error": "insufficient_api_credits",
"required": "1.0",
"remaining": "0.0"
}{
"error": "service_unavailable_for_key"
}{
"results": [
{}
]
}Authorizations
Per-account API key. Also accepted as Api-Key or Authorization: Bearer <key>.
Body
application/json
Response
MAIDs found (1 credit charged)
One entry per mobile advertising ID linked to the hashed email.
Show child attributes
Show child attributes

