---
title: "Analyze Privacy Compliance"
method: GET
path: "/api/v1/privacy"
tags: ["Analysis"]
---

# Analyze Privacy Compliance

`GET /api/v1/privacy`

## Request

- Base URL: `https://llmse.ai`
- URL: `https://llmse.ai/api/v1/privacy`
- Auth: one of:
  - none
  - HTTP bearer

Evaluates the visible privacy posture of a web page by checking for cookie consent mechanisms (OneTrust, Cookiebot, CookieYes, Termly, Usercentrics, and more), privacy and cookie policy links, CCPA 'Do Not Sell' links, third-party tracker script enumeration, consent-gated script loading patterns, and data processing disclosure text. Detects 40+ tracker domains and 20+ CMP platforms.

## Query parameters

- `url` string, uri, required

## Response `200`

Privacy compliance analysis result

- PrivacyResult: Privacy compliance analysis evaluating cookie consent, policy links, tracker scripts, and CCPA signals. Grade thresholds: A>=90, B>=80, C>=70, D>=60, F<60.
  - `url` string
  - `cached` boolean
  - `score` integer, required: Privacy compliance score (0-100). Deduction-based: no consent banner -15, no privacy policy -15, no cookie policy -5, no do-not-sell -5, excessive trackers -5, scripts not consent-gated -1, no data processing text -1.
  - `grade` 'A' | 'B' | 'C' | 'D' | 'F', required
  - `issues` CategorizedIssues, required: Issues grouped by severity level
    - `critical` Issue[], required
      - `code` string, required: Machine-readable issue code (e.g., 'SEO_NO_TITLE', 'EEAT_NO_AUTHOR')
      - `message` string, required: Human-readable issue description
      - `impact` string, required: Impact level of the issue
    - `warnings` Issue[], required
      - `code` string, required: Machine-readable issue code (e.g., 'SEO_NO_TITLE', 'EEAT_NO_AUTHOR')
      - `message` string, required: Human-readable issue description
      - `impact` string, required: Impact level of the issue
    - `info` Issue[], required
      - `code` string, required: Machine-readable issue code (e.g., 'SEO_NO_TITLE', 'EEAT_NO_AUTHOR')
      - `message` string, required: Human-readable issue description
      - `impact` string, required: Impact level of the issue
  - `meta` object, required: Detected privacy compliance metadata
    - `has_consent_banner` boolean: Cookie consent banner or CMP detected
    - `has_privacy_policy` boolean: Privacy policy link found
    - `has_cookie_policy` boolean: Separate cookie policy link found
    - `has_do_not_sell` boolean: CCPA 'Do Not Sell' or 'Do Not Share' link found
    - `has_consent_gated_scripts` boolean: Tracker scripts behind consent gate detected
    - `has_data_processing_text` boolean: Data processing disclosure text found
    - `tracker_count` integer: Number of third-party tracker scripts detected
    - `tracker_domains` string[]: Domains of detected tracker scripts
    - `consent_banner_type` string: Type of consent banner detected (CMP domain or 'banner-element')
  - `recommendations` string[], required
  - `signals` object, required: Summary of detected privacy signals
    - `consent_banner_type` string
    - `privacy_policy_urls` string[]
    - `cookie_policy_urls` string[]
    - `do_not_sell_urls` string[]
    - `tracker_domains` string[]
    - `data_processing_texts` string[]

## Other responses

- `400`: Invalid request
- `429`: Rate limited

---

[API](https://skmtc.dev/llmse/apis/llmse-api.md) · [All operations](https://skmtc.dev/llmse/apis/llmse-api/llms.txt) · [OpenAPI document](https://skmtc.dev/llmse/apis/llmse-api/revisions/8aedf67208e4?raw)
