Production-ready endpoints are designed for 99.99% uptime and documented status handling.
Used by people at amazing companies
Trust signals before you integrate
Transparent docs, authenticated requests, and visible reliability details make it easier to evaluate DomScan before you ship.
OpenAPI, Swagger, Postman, CLI, SDK, and MCP links are one click away.
Authenticated endpoints use API keys with clear credit costs before you call them.
Start with 10,000 monthly credits and upgrade only when usage grows.
What this API helps you ship
Use this page as a production brief: endpoints, examples, response shape, and the workflow pieces needed to plug DomScan into your own product.
Embed domain checks, DNS intelligence, risk signals, or enrichment into onboarding, search, and internal tools.
Replace repeated manual lookups with scheduled jobs, alerting, and reproducible investigation steps.
Use predictable fields, documented status codes, and credit costs instead of scraping provider pages.
Feed agents, dashboards, SOAR playbooks, and CRMs through OpenAPI, SDK, Postman, or MCP.
Integration workflow
A simple path from first request to repeatable production usage.
Send your API key with the documented header and keep requests consistent across services.
Start from the curl and HTTP samples, then map the parameters into your application code.
Use status codes, credit costs, and response fields to build retries, logs, and alerts.
Developer kit
Jump from this page into machine-readable docs, request collections, SDKs, or agent tooling.
Generate clients or inspect every request and response shape.
Postman collectionImport ready-made requests for manual testing and team handoff.
SDKs and CLIUse maintained packages and command-line workflows instead of writing boilerplate.
MCP integrationExpose domain intelligence to AI agents and internal assistant workflows.
Parameters and response map
Scan the inputs, output fields, and status codes before wiring the endpoint into your client.
Parameter
Example Response
HTTP Status Codes
Endpoints
/v1/redirects
Trust signals before you integrate
Transparent docs, authenticated requests, and visible reliability details make it easier to evaluate DomScan before you ship.
OpenAPI, Swagger, Postman, CLI, SDK, and MCP links are one click away.
Authenticated endpoints use API keys with clear credit costs before you call them.
Start with 10,000 monthly credits and upgrade only when usage grows.
Start from the curl and HTTP samples, then map the parameters into your application code.
Key Features
Follow up to 10 redirects to find the final destination.
Know when a URL upgrades from HTTP to HTTPS.
Identify when redirects cross to different domains.
See server software and content-type at each hop.
Get the title of the final landing page.
Total time to follow the entire redirect chain.
HTTP status code at each hop (301, 302, 200, etc.).
Useful for phishing detection and brand protection.
Example Request
curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/redirects?url=http://example.com"
Example Response
{
"original_url": "http://example.com",
"final_url": "https://www.example.com/",
"redirect_count": 2,
"hops": [
{"url": "http://example.com", "status_code": 301, "location": "https://example.com/"},
{"url": "https://example.com/", "status_code": 301, "location": "https://www.example.com/"},
{"url": "https://www.example.com/", "status_code": 200, "server": "nginx"}
],
"https_upgrade": true,
"domain_changed": false,
"final_status": 200,
"final_title": "Example Domain",
"total_time_ms": 342
}
Frequently Asked Questions
Redirect tracking is valuable for phishing detection, affiliate fraud investigation, ad verification, SEO audits, and understanding link shortener destinations.
The API follows up to 10 redirects before stopping. Most legitimate redirect chains are much shorter.
Yes, relative redirect URLs (like "/new-path") are properly resolved against the current URL.
Each request has a 5-second timeout. If a hop times out, the chain stops and an error is included in the response.
Related Tools & Resources
HTTP Status Codes
We document the HTTP status codes you should handle so you can distinguish successful responses, auth issues, credits, rate limits, missing data, and upstream failures.
Request successful
Invalid parameters
Not enough credits to run this request.
Rate limit exceeded
Internal error
Upstream RDAP error
Upstream service unavailable or temporarily rate limited.
Upstream lookup timed out.
Track URL Redirects