domains
Redirect Checker
Changed onFollow HTTP redirect chains (3xx Location and meta refresh) for one URL. Costs 1 credit from spendable balance for Pro (8 for agent accounts); cache hits free.
get/v1/domains/checker/redirect
Request
- Base URLhttps://api.karma.domains
- AuthHTTP bearer
Query parameters
url, string required
Public http(s) URL to trace (percent-encode)
user_agent, string nullable
User-Agent preset: browser, mobile, or tool (default browser)
Response
Successful Response
Redirect Checker Result Schema required
HTTP redirect chain result for a single URL
url, string required
Normalized start URL
domain, string required
Registrable domain of the start URL
final_url, string required
Last URL in the followed chain
hop_count, integer required
Number of hops recorded
loop_detected, boolean
True when a repeated URL stopped the chain
max_hops_reached, boolean
True when the hop cap stopped the chain
final_status, integer nullable
HTTP status of the last recorded hop
no_redirect, boolean
True when the first response had no HTTP 3xx Location and no meta-refresh hop was followed
user_agent, string
UA preset id used for the requests
hops, Redirect Hop Schema[]
Ordered hop list (status, type, URL, headers)
Changes
- info
endpoint added
- info