API operation · mail group
GET
/mail/trace/reverse
First published 15 Oct 2026
0.2.2Unchanged since publicationLook up reverse DNS names for IP addresses
Who may call it
AdministratorResellerCustomer
Token scope, any of
mailreadallAnswers200 OK
The operation looks up reverse DNS for up to 64 distinct IP addresses in parallel. The API ignores empty entries and returns 400 unless ips contains 1 to 64 nonempty entries, each 2 to 45 characters long and consisting only of hexadecimal digits, periods, and colons.
As a command
Run as root on the serverParameters
ipsquery ·string, up to 3000 charactersRequiredComma-separated IPv4 or IPv6 addresses, with no spaces. Supply 1 to 64 IP addresses.
Example
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X GET "$API/mail/trace/reverse?ips=text" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"ips": [
{
"country": "text",
"ip": "203.0.113.7",
"reverse": "text"
}
]
}Errors
15 errors, each a status and a sentence400--q, --id, --message-id, --reverse or --files is required400A Message-ID has the shape local@domain400A queue id is 6 to 20 uppercase hexadecimal characters400At most 64 addresses at once400Give an address, a queue id or a Message-ID to search for400Invalid setting key400Search for an address, a queue id (6 to 20 uppercase hexadecimal characters) or a Message-ID in angle brackets400dir is any, sender or recipient400ips is a list of IP addresses separated by commas400ips names 1 to 64 addresses401Authentication required404No message <qid> in the kept logs404No message with the Message-ID <<mid>> in the kept logs404No such user: <owner>404Setting '<key>' not foundNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.2 on 15 Oct 2026.
urbestack.com/docs/api/get-mail-trace-reverse/