Look up a phone number or hash.
Look up a phone number to generate its hash, or look up a hash to find its original number. Forward lookups are free and do not require an account. Reverse lookups cost KES 0.10 per match and require an account. Unmatched hashes are free.
Every lookup is recorded. View lookup history.
API request example
curl -X POST https://api.dehashit.com/api/v1/msisdn/decrypt/ \
-H "X-Api-Key: dh_live_..." -H "Content-Type: application/json" \
-d '{"msisdn_hash": "7132104d6aae9c3fac82095a42c2817952bca48e09d98d5bf4ac08218982fb90"}'import requests
res = requests.post(
"https://api.dehashit.com/api/v1/msisdn/decrypt/",
headers={"X-Api-Key": "dh_live_..."},
json={"msisdn_hash": "7132104d6aae9c3fac82095a42c2817952bca48e09d98d5bf4ac08218982fb90"},
timeout=10,
)
data = res.json()["data"]
print(data)const res = await fetch("https://api.dehashit.com/api/v1/msisdn/decrypt/", {
method: "POST",
headers: { "X-Api-Key": "dh_live_...", "Content-Type": "application/json" },
body: JSON.stringify({ msisdn_hash: "7132104d6aae9c3fac82095a42c2817952bca48e09d98d5bf4ac08218982fb90" }),
});
const { data } = await res.json();
console.log(data);package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
)
func main() {
body, _ := json.Marshal(map[string]string{
"msisdn_hash": "7132104d6aae9c3fac82095a42c2817952bca48e09d98d5bf4ac08218982fb90",
})
req, _ := http.NewRequest("POST", "https://api.dehashit.com/api/v1/msisdn/decrypt/", bytes.NewReader(body))
req.Header.Set("X-Api-Key", "dh_live_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
fmt.Println(res.Status)
}