Skip to content

Quickstart

Sign in to the dashboard and click Generate new API key under API keys. Copy the key immediately — it is shown exactly once and cannot be retrieved again.

Terminal window
curl -X POST https://seo-audit.seoltys.pl/api/v1/audit \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'

A successful response looks like:

{ "report_id": 46, "status": "completed" }

An audit typically takes anywhere from a few seconds to a couple of minutes (it runs a full headless-Chrome Lighthouse pass plus an AI review), so keep your client’s timeout generous — at least 200 seconds.

The full report (findings, Core Web Vitals, structured data checks, AI commentary) is available as a PDF from your dashboard under Your reports. A direct, API-key-authenticated PDF download endpoint is planned but not yet available — for now, reports are viewed via the dashboard’s session-authenticated download link.

const resp = await fetch("https://seo-audit.seoltys.pl/api/v1/audit", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SEO_AUDIT_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ url: "https://example.com" }),
});
const data = await resp.json();
console.log(data); // { report_id: 46, status: "completed" }
import os
import requests
resp = requests.post(
"https://seo-audit.seoltys.pl/api/v1/audit",
headers={"Authorization": f"Bearer {os.environ['SEO_AUDIT_API_KEY']}"},
json={"url": "https://example.com"},
timeout=200,
)
print(resp.json()) # {"report_id": 46, "status": "completed"}