Find Privacy URL
find_privacy_urlLocate the privacy-policy URL for a given website domain.
Uses a waterfall strategy for maximum reliability:
1. robots.txt → extract Sitemap directives
2. sitemap.xml → search for privacy-related URLs in <loc> entries
3. Page scrape → footer / page body links (most reliable fallback)
USE FOR:
- Find a company's privacy policy URL before creating Lead Gen offers
- Auto-populate privacyUrl field in create_update_offer
- Verify privacy URL exists for GDPR/CCPA compliance checks
- Look up privacy page for any domain
WHEN TO USE:
- User asks "find the privacy URL for example.com"
- User wants to create an offer but doesn't know the privacy URL
- Before calling create_update_offer to auto-fill privacyUrl
- User asks "does this site have a privacy policy?"
RETURNS:
{
"privacy_url": "https://example.com/privacy-policy",
"source": "footer",
"link_text": "Privacy Policy",
"steps_tried": ["robots.txt + sitemap", "playwright-footer"],
"success": true
}
EXAMPLE: find_privacy_url(domain="metadata.io")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Company website URL or domain. Examples: 'metadata.io', 'www.bloomreach.com', 'https://example.com' |