Referrer-Policy Header Checker
Pricing
Pay per usage
Referrer-Policy Header Checker
Fetches URLs and validates the Referrer-Policy response header. Flags missing or risky policies (e.g., unsafe-url) and optionally checks against an expected policy. Outputs per-URL results plus SUMMARY and REPORT.
Pricing
Pay per usage
Rating
0.0
(0)
Developer

Bikram Adhikari
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Share
Checks whether a website returns a Referrer-Policy response header and whether the effective policy is safe.
Why it matters:
- The referrer can leak sensitive URL paths/query params to third parties.
- A modern default for many sites is
strict-origin-when-cross-origin.
What the Actor does
For each URL it:
- Fetches response headers (HEAD first, optional GET fallback)
- Parses
Referrer-Policy(supports multiple comma-separated policies) - Determines the effective policy (right-most valid value)
- Flags risky values like
unsafe-urlor missing headers (optional)
Input
- Start URLs (
startUrls): Request List Sources format - Request strategy (
requestStrategy): HEAD-only, GET-only, or HEAD→GET fallback - Expected effective policy (
expectedPolicy):ANY(no strict check) or a specific policy - Warn on missing (
warnOnMissing): warn if header is missing
Plus: maxUrls, timeoutSecs, followRedirects, maxRedirects, maxConcurrency, and proxyConfiguration.
Output
Dataset (per-URL results)
Each item includes:
startUrl,finalUrl,statusCode,redirected,checkedAt,usedMethodreferrerPolicyRaw,policies,effectivePolicyscore(0–100 heuristic),issues,warningCount,errorCount,ok
Key-value store
SUMMARY: aggregate counts and top issue codesREPORT: same as summary (structured JSON)
Example input
{"startUrls": [{"url":"https://example.com"}],"maxUrls": 1,"timeoutSecs": 20,"requestStrategy": "HEAD_THEN_GET","expectedPolicy": "ANY","warnOnMissing": true,"maxConcurrency": 2,"proxyConfiguration": {"useApifyProxy": false}}
Quick start
Store page: https://apify.com/scrappy_garden/referrer-policy-header-checker
Paste this into Input and click Run:
{"startUrls": [{"url": "https://example.com/"}],"proxyConfiguration": {"useApifyProxy": false}}
Outputs (what you get)
- Dataset: Dataset items typically include fields like:
startUrl,finalUrl,statusCode,referrerPolicyRaw,policies,effectivePolicy,score,ok,warningCount,errorCount. - Key-value store:
REPORT,SUMMARY
Tips (trust + predictable results)
- Start with 1–3 URLs to validate behavior, then scale up.
- If a target blocks requests, enable Proxy and/or slow down concurrency in Input.
- Use the
SUMMARY/REPORTkeys (when present) for automation pipelines and monitoring.
Related actors
- security-headers-checker (https://apify.com/scrappy_garden/security-headers-checker)
- hsts-header-checker (https://apify.com/scrappy_garden/hsts-header-checker)
- cache-control-checker (https://apify.com/scrappy_garden/cache-control-checker)
- content-type-header-validator (https://apify.com/scrappy_garden/content-type-header-validator)
Search keywords
referrer policy header checker, referrer-policy header checker - validate referrer leakage policy, website audit, seo, http headers

