POST
$0.02 default
/check/domain-similarityDescription
Compare a domain against a caller allowlist using edit distance and visual confusable skeleton similarity.
Pricing
$0.02 default
Request schema
{
"properties": {
"allowlist": {
"items": {
"type": "string"
},
"type": "array"
},
"domain": {
"type": "string"
}
},
"required": [
"domain",
"allowlist"
],
"type": "object"
}Response schema
{
"properties": {
"best_match": {
"type": "object"
},
"matches": {
"items": {
"type": "object"
},
"type": "array"
},
"suspicious": {
"type": "boolean"
}
},
"type": "object"
}Example request
{
"allowlist": [
"paypal.com"
],
"domain": "paypa1.com"
}Example response
{
"best_match": {
"allowed": "paypal.com",
"visual_distance": 0
},
"ok": true,
"suspicious": true
}