Scanly for AI Agents & Autonomous Workflows
Give your AI agents real-time website intelligence. Audit Technical SEO, Core Web Vitals, WCAG 2.2 accessibility, and security headers via REST API in 60 seconds.
Autonomous AI agents require reliable, programmatic tools to interact with the physical web. When an agent is tasked with evaluating client websites, optimizing digital presence, or enforcing production quality gates, Scanly provides a unified, structured API that replaces multi-tool stacks.
REST API Endpoint
Synchronous real-time scan invocation with JSON response
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_SCANLY_API_KEY" \
-d '{"website_url":"https://example.com","report_format":"json","focus":"all"}'
Real-World AI Agent Use Cases
Automated CI/CD Quality Gates
Configure GitHub Actions or deployment agents to trigger a Scanly audit before staging merges. Block releases that introduce broken schemas, accessibility regressions, or insecure CSP headers.
See developer solutions →Autonomous Agency Audit Bots
Equip LangChain, CrewAI, or n8n agents with Scanly tool-calling capabilities. When prospective clients submit forms, your bot runs an audit and emails branded PDF reports automatically.
Explore agency reporting →Competitive Drift Monitoring
Scheduled cron agents audit your site against competitor URLs weekly. Track Core Web Vitals shifts, newly targeted keywords, and schema alterations without manual intervention.
View competitor benchmarking →Pre-Launch WCAG & Security Auditing
AI coding agents (e.g. Cursor, Claude Code, Copilot) can query Scanly to verify WCAG 2.2 AA compliance and production security headers (HSTS, CSP, X-Frame) right after spinning up web apps.
Inspect 100+ audit checks →Input & Output Schema Definition
Request Parameters (JSON)
- website_url: string (required)
Fully-qualified URL to analyze (http/https).
- competitor_urls: string[] (optional)
Up to 3 competitor URLs for benchmark comparison.
- report_format: "json" | "pdf" | "csv"
Format of output payload. Defaults to "json".
- focus: "all" | "seo" | "performance" | "accessibility" | "security"
Filter scope of audit analysis.
Response Structure (JSON)
- overall_score: number (0-100)
- scores: { seo, performance, accessibility, security }
- recommendations: Array<Finding>
Priority (high/med/low), code fix, and estimated impact.
- report_url: string
Shareable web report or signed download link.
LangChain & OpenAI Function Calling Example
// OpenAI Function / Tool Calling definition for Scanly
export const scanlyAuditTool = {
type: "function",
function: {
name: "scanly_website_audit",
description: "Audit website SEO, Core Web Vitals, WCAG accessibility, and security headers.",
parameters: {
type: "object",
properties: {
website_url: {
type: "string",
description: "The complete HTTP/HTTPS URL of the site to analyze."
},
report_format: {
type: "string",
enum: ["json", "pdf", "csv"],
description: "Desired output format."
}
},
required: ["website_url"]
}
}
};Frequently Asked Questions
How do AI agents authenticate with the Scanly API?
AI agents and autonomous scripts authenticate via standard HTTP Bearer token headers. Subscribers on the Scanly Scale plan can generate dedicated API keys in their account dashboard and pass them in the Authorization header: `Authorization: Bearer <SCANLY_API_KEY>`.
Can LLMs and agent frameworks directly read the OpenAPI spec?
Yes. Scanly exposes a valid OpenAPI 3.1 specification at https://scanly.site/openapi.json. Frameworks like LangChain, CrewAI, AutoGPT, and OpenAI Function Calling can fetch and parse this schema directly to register Scanly as an autonomous tool without custom wrappers.
What audit data does the API return for each scan?
The API returns structured JSON containing numerical scores (0-100) for overall health, Technical SEO, Core Web Vitals (LCP, CLS, INP), WCAG 2.2 accessibility, and production security headers. It also includes an array of prioritized recommendations with severity levels (high, medium, low), difficulty ratings, and estimated business impact.
Can an AI agent request client-ready PDF or CSV exports?
Yes. By specifying `"report_format": "pdf"` or `"report_format": "csv"` in the JSON request body, the API returns a signed download URL to an agency-ready, white-label report alongside the raw diagnostic JSON.
How fast do API requests complete?
Typical scans execute in approximately 45 to 60 seconds because Scanly performs live headless browser navigation, network telemetry capture, DOM accessibility tree traversal, and security header verification in real time.
What are the rate limits for the AI agent API?
The Scale plan includes unlimited monthly scans with a default concurrency limit of 5 simultaneous audits. Enterprise accounts can request higher concurrency and dedicated worker instances.
Equip Your Autonomous Agents Today
Try a free scan online first, or upgrade to the Scale plan for unlimited programmatic API calls, OpenAPI specs, and white-label client PDF exports.
Scale plan ($49/mo) includes API access, OpenAPI 3.1 endpoints, and white-label reporting.
Related Agent & Developer Resources