Docs/Agent Tools/GET /v1/gdpr-consent

GET /v1/gdpr-consentCheck URL for GDPR consent mechanisms

Agent Tools lf-agent-tools

Checks whether a website asks visitors for cookie and privacy consent. Scans a URL's HTML for GDPR consent indicators: cookie banners, consent management libraries, and privacy policy links.

Query Parameters

ParameterTypeRequiredDescription
urlstringYesURL to check

Response Schema

url (string): URL checked
score (string): Compliance score (e.g. 2/3)
indicators (object): Detected indicators
assessment (string): Overall assessment

cURL Example

curl 'https://lf-agent-tools.laminarforge.dev/v1/gdpr-consent?url=https://example.com' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-agent-tools.laminarforge.dev/v1/gdpr-consent'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'url': 'https://example.com'}
response = requests.get(url, headers=headers, params=params)
print(response.json())