domains

Redirect Checker

Changed on

Follow 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 URL
    https://api.karma.domains
  • Auth
    HTTP 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

RedirectCheckerResultSchema 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, RedirectHopSchema[]

Ordered hop list (status, type, URL, headers)

Changes