Agent URL & SSRF Firewall API
Validate URLs and redirect chains against SSRF, private IPs, and cloud metadata targets.
Audit CSP, HSTS, and browser security headers with an A+ to F grade and fix snippets. Audit HTTP security headers (CSP, HSTS, X-Frame-Options, COOP/COEP, Permissions-Policy) from a header map or live URL and get an A+ to F grade.
{
"ok": true,
"data": {
"target_url": null,
"http_status": null,
"score": 55,
"grade": "D",
"checks": {
"hsts": {
"status": "pass",
"score": 25,
"max_score": 25,
"value": "max-age=63072000; includeSubDomains; preload",
"issues": [],
"fix": null
},
"csp": {
"status": "fail",
"score": 0,
"max_score": 25,
"value": null,
"issues": [
"Missing Content-Security-Policy header"
],
"fix": "default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'"
},
"x_content_type_options": {
"status": "pass",
"score": 15,
"max_score": 15,
"value": "nosniff",
"issues": [],
"fix": null
},
"frame_protection": {
"status": "pass",
"score": 15,
"max_score": 15,
"value": "DENY",
"issues": [],
"fix": null
},
"referrer_policy": {
"status": "fail",
"score": 0,
"max_score": 10,
"value": null,
"issues": [
"Missing Referrer-Policy header"
],
"fix": "strict-origin-when-cross-origin"
},
"permissions_policy": {
"status": "warn",
"score": 0,
"max_score": 10,
"value": null,
"issues": [
"Missing Permissions-Policy header"
],
"fix": "geolocation=(), microphone=(), camera=()"
}
},
"cors": {
"allow_origin": null,
"allow_credentials": null,
"wildcard": false,
"misconfigured": false
},
"fixes": [
{
"header": "Content-Security-Policy",
"priority": "high",
"recommended_value": "default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'"
},
{
"header": "Referrer-Policy",
"priority": "medium",
"recommended_value": "strict-origin-when-cross-origin"
},
{
"header": "Permissions-Policy",
"priority": "low",
"recommended_value": "geolocation=(), microphone=(), camera=()"
}
]
},
"meta": {
"request_id": "req_sh_01",
"ms": 1
}
}
curl -X POST "https://api.tinplate.dev/v1/security-headers" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TINPLATE_KEY" \
-d '{"headers":{"strict-transport-security":"max-age=63072000; includeSubDomains; preload","x-content-type-options":"nosniff","x-frame-options":"DENY"}}'import { TinplateClient } from "@tinplate/sdk";
const tinplate = new TinplateClient({
apiKey: process.env.TINPLATE_API_KEY!,
});
const { data, meta } = await tinplate.call("/v1/security-headers", {
"headers": {
"strict-transport-security": "max-age=63072000; includeSubDomains; preload",
"x-content-type-options": "nosniff",
"x-frame-options": "DENY"
}
});
console.log(`[${meta.ms} ms]`, data);import requests
response = requests.post(
"https://api.tinplate.dev/v1/security-headers",
headers={
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_TINPLATE_KEY",
},
json={
"headers": {
"strict-transport-security": "max-age=63072000; includeSubDomains; preload",
"x-content-type-options": "nosniff",
"x-frame-options": "DENY"
}
}
)
print(response.json())const response = await fetch("https://api.tinplate.dev/v1/security-headers", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_TINPLATE_KEY",
},
body: JSON.stringify({
"headers": {
"strict-transport-security": "max-age=63072000; includeSubDomains; preload",
"x-content-type-options": "nosniff",
"x-frame-options": "DENY"
}
}),
});
const result = await response.json();
console.log(result);{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "tinplate_security_headers",
"arguments": {
"headers": {
"strict-transport-security": "max-age=63072000; includeSubDomains; preload",
"x-content-type-options": "nosniff",
"x-frame-options": "DENY"
}
}
}
}POST /v1/security-headers)| Parameter | Type & Constraints | Description |
|---|---|---|
url optional |
stringmaxLen: 2048 |
Target URL to fetch via private fetcher and inspect security headers. |
headers optional |
object |
Optional raw response headers to audit offline without making an HTTP request. |
data Object Fields (200 OK)| Field | Type | Description |
|---|---|---|
target_url |
string | null |
Field 'target_url' |
http_status |
integer | null |
Field 'http_status' |
score |
integer |
Field 'score' |
grade |
"A" | "B" | "C" | "D" | "F" |
Field 'grade' |
checks |
object |
Field 'checks' |
cors |
object |
Field 'cors' |
fixes |
object[] |
Field 'fixes' |
Release: v1.0.39 ·
Verified: 16 November 2026 ·
Portfolio Median: 0.318 ms in-Worker V8 compute (add 15–65 ms HTTPS RTT) ·
See Full Portfolio Benchmarks →
Direct Polar All-Access Keys unlock all 42 APIs (49 endpoints), /v1/pipeline, and /mcp on api.tinplate.dev:
Pro ($29/mo · 120 req/min · 100k/mo · 128 KB) or Team ($79/mo · 300 req/min · 500k/mo · 256 KB).
| Plan | Monthly Price | Included Requests | Rate Limit | Max Payload | Best For |
|---|---|---|---|---|---|
| BASIC | $0.00 / mo | 500 / month | 10 req / min | 64 KB | Evaluation & CI smoke tests |
| PRO | $9.99 / mo | 15,000 / month | 60 req / min | 128 KB | Solo devs & production apps |
| ULTRA | $29.99 / mo | 100,000 / month | 300 req / min | 256 KB | Growing SaaS & multi-agent pipelines |
| MEGA | $79.99 / mo | 500,000 / month | 1,000 req / min | 256 KB | High-volume enterprise workloads |
Yes! Pass the response headers map directly in the headers JSON field—no outbound URL fetch is required.
Yes, it parses every CSP directive and flags dangerous tokens like 'unsafe-inline', 'unsafe-eval', and data:/http: wildcards.
Yes, each finding includes a recommended header value snippet.
Stateless header evaluation; zero logging.
Worker Zero-Logging Guarantee: Cloudflare Workers Observability and invocation logging are disabled (observability.enabled = false, head_sampling_rate = 0, invocation_logs = false). Requests via RapidAPI or Zyla traverse marketplace proxies; use a Direct Bearer Key for zero-intermediary routing.
Validate URLs and redirect chains against SSRF, private IPs, and cloud metadata targets.
Audit MX, SPF 10-lookup limits, DMARC, DKIM, BIMI, and MTA-STS with a 0–100 score.
Audit which AI crawlers your robots.txt allows and generate a valid llms.txt file.