x402

GDPR Website Check (x402)

Scan a website for GDPR compliance indicators: cookie consent, privacy policy, tracking scripts, security headers. Returns score A-F.

get/x402/v2/gdpr-website-check

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/gdpr-website-check
  • Auth: none required

Query parameters

urlstring required

Response

Success

gradestring
gdpr_scoreinteger
tracking_scriptsobject
has_cookie_consentboolean
has_privacy_policyboolean

Example response

{
  "url": "https://www.google.com/",
  "grade": "D",
  "findings": [
    "No cookie consent mechanism detected",
    "No privacy policy link found",
    "Missing HSTS header",
    "Cookies set without Secure flag",
    "Cookies set without SameSite attribute"
  ],
  "gdpr_score": 30,
  "uses_https": true,
  "cookie_issues": [
    "Cookies set without Secure flag",
    "Cookies set without SameSite attribute"
  ],
  "tracker_count": 0,
  "security_headers": {
    "csp": false,
    "hsts": false
  },
  "tracking_scripts": {
    "hotjar": false,
    "segment": false,
    "mixpanel": false,
    "tiktok_pixel": false,
    "facebook_pixel": false,
    "google_analytics": false,
    "linkedin_insight": false
  },
  "has_cookie_policy": false,
  "has_cookie_consent": false,
  "has_privacy_policy": false,
  "has_terms_of_service": false
}

Changes

No recorded changes to this operation across all 1 revision of this API.