API CatalogURL Safety Checker

URL Safety Checker API

Check a URL for redirects, final destination, status code, homograph risk, threat indicators, and safety status. Use it in link scanners, moderation tools, website audits, and user-generated content workflows.

Endpoint

POST /v1/utility/url/safety

Request body

FieldTypeRequiredDescription
urlstringYesURL to check.

Example request

curl --request POST \
  --url https://apimask-email-domain-validation-api.p.rapidapi.com/v1/utility/url/safety \
  --header "Content-Type: application/json" \
  --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
  --header "X-RapidAPI-Host: apimask-email-domain-validation-api.p.rapidapi.com" \
  --data '{"url":"https://example.com"}'

Example response

{
  "success": true,
  "data": {
    "url": "https://example.com",
    "final_url": "https://example.com",
    "redirect_count": 0,
    "redirect_chain": [],
    "is_safe": true,
    "threat_types": [],
    "is_homograph": false,
    "status_code": 200
  },
  "error": null,
  "meta": {}
}