GET /v1/http-headersHTTP security headers analyzer
Web Intel lf-web-intel
Shows the headers a website sends back and flags the security ones that are missing or weak. Fetches HTTP headers from a URL and analyzes security-related headers like HSTS, CSP, X-Frame-Options, X-Content-Type-Options, etc.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | URL to analyze |
Response Schema
success (boolean): Operation success
url (string): Analyzed URL
status (integer): HTTP status
headers (object): All response headers
analysis (object): Security header analysis
cURL Example
curl 'https://lf-web-intel.laminarforge.dev/v1/http-headers?url=https://example.com' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-web-intel.laminarforge.dev/v1/http-headers'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'url': 'https://example.com'}
response = requests.get(url, headers=headers, params=params)
print(response.json())