Domain Risk Analysis API

Fast, synchronous domain-level risk assessment for high-volume screening and real-time validation.

Overview

What is Domain Risk Analysis?

Domain Risk Analysis provides fast, synchronous risk assessment for domains and URLs. It checks for typosquatting, suspicious keywords, domain age, and SSL certificate issues—ideal for high-volume screening and real-time validation.

Synchronous
2-5 seconds
Pricing
$0.0025/scan
Domain Analysis
No content scraping

What It Analyzes

  • Domain patterns (typosquatting, suspicious keywords)
  • DNS and RDAP (domain age, registration)
  • SSL certificate validation

When to Use Domain Risk Analysis

  • High-volume URL screening (1000s/day)
  • Real-time validation requirements
  • Domain-level threat detection only
  • Cost-sensitive operations

Analyze a Domain

Send a POST request to analyze a domain for security risks. The analysis is synchronous and returns a risk ID and results immediately.

Endpoint

POST https://api.urlert.com/v1/domain-risks

Request Body

{
  "url": "https://secure-login.paypa1.com/verify-account"
}

Code Examples

curl -X POST https://api.urlert.com/v1/domain-risks \
  -H "Authorization: Bearer u_sk_your_api_token_here" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://secure-login.paypa1.com/verify-account"}'

Response (200 OK)

{
  "risk_id": "990e8400-e29b-41d4-a716-446655440004",
  "status": "completed",
  "created_at": "2024-01-15T10:30:00Z"
}

Response Schema

Detailed structure of the domain risk analysis response object.

Top-Level Fields

Field Type Description
risk_id string UUID of the domain risk analysis
url string The URL that was analyzed
created_at string ISO 8601 timestamp when analysis was performed
report object Risk assessment report

Example Responses

Rate Limits

Domain Risk Analysis endpoints are rate limited per organization, per minute.

Operation Limit Description
POST /v1/domain-risks 20/minute Analyze domains for risk
GET /v1/domain-risks/:risk_id 20/minute Retrieve analysis results

Best Practices

  • Screen in Bulk: Use this API for high-volume, cost-sensitive screening (1000s/day).
  • Validate in Real-Time: Integrate into signup flows or link validation for fast feedback (2-5s).
  • Handle All Assessments: Your integration should handle Malicious, Suspicious, Benign, and Unknown results.
  • Secure Your Token: Never expose your API token in client-side code or public repositories. Use environment variables.
  • Handle Errors: Always check response status codes and handle errors appropriately (insufficient balance, rate limits, etc.).