Endpoint
POST https://agentfrendly.com/api/scan
No account or API key is needed. Send a JSON body with the Content-Type: application/json header:
{ "url": "https://your-product.com" }We scan only the homepage of the URL you send, so any path, query, or fragment is ignored. A scan takes up to about 20 seconds.
Response
A successful scan returns HTTP 200 with a report:
url: the homepage we scanned, after redirects.score: 0 to 100, ornullwhen an essential check could not be completed.checks: one entry per check, withid,status(pass,partial,fail, orunverified),evidence, and arecommendation. Therobots-txtcheck also listsbots: whether robots.txt allows each AI bot we check, and the rule that decides.limitations: what this scan could not see or verify.fixPrompt: instructions you can paste into a coding agent to fix every gap.
The OpenAPI description has the full schema.
Errors and limits
Failed requests return JSON with an error message.
400: the URL is not a public website, or the body is not valid JSON.403: the request came from a browser on another website. Call the API from a server, a script, or the command line.415: the request is missingContent-Type: application/json.429: too many scans. Each IP address can run 5 scans per minute. Wait for the seconds in theRetry-Afterheader.503: the scanner is busy or unavailable. Try again later.
Only scan sites you own or are allowed to check, as described in the terms of service.
Next steps
- API quickstart: your first scan from the command line.
- Runs API: add sites and start agent runs with an API key.
- OpenAPI description: generate a client or give it to your agent.
- llms.txt: a summary of this site for AI tools.