Run agent readiness scan
Start a scan of how ready a public website is for AI agents to discover, read and act on.\n Scanning is asynchronous: this operation only starts the scan, and the returned scan is usually pending with
Start a scan of how ready a public website is for AI agents to discover, read and act on.\n
Scanning is asynchronous: this operation only starts the scan, and the returned scan is usually pending
with no results yet. To get the results, poll the Get agent readiness scan operation with the same
domain every few seconds until its status is completed or failed. The scan itself is limited to 60 seconds,
plus any time it waits in the queue. A failed scan is not retried; run this operation again.\n
Starting a scan for a domain that already has a pending scan from the last 5 minutes
returns that scan instead of starting a new one.
API Token authentication
Domain name or full URL of the website to scan. Only the host is used.
example.comSuccess response
Domain name that was scanned
example.comScan status. Result fields are null until the status is completed.
completedPossible values: Agent readiness score from 0 to 100. Null unless completed, and null when unreachable.
78Letter grade for the score, from A to F. Null unless completed, and null when unreachable.
BWhether the website homepage could not be fetched
falseVersion of the scoring method that produced this scan
4Whether the scan was produced by an older scoring method than the current one
falseWhen the scan finished. Null unless completed.
2026-10-15T12:00:00ZScore breakdown per category. Null unless completed.
Categories where no check could be counted. They still cost their full weight. Null unless completed.
agent_interactionUnauthenticated response
Validation error response
Error response
POST /api/agent-readiness/v1/scans HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"domain": "example.com"
}{
"domain": "example.com",
"status": "completed",
"score": 78,
"grade": "B",
"is_unreachable": false,
"scanner_version": 4,
"is_outdated": false,
"scanned_at": "2026-10-15T12:00:00Z",
"categories": {
"crawl_permission": {
"score": 15,
"weight": 20,
"earned": 15,
"possible": 20
},
"findability": {
"score": 15,
"weight": 20,
"earned": 15,
"possible": 20
},
"readability": {
"score": 15,
"weight": 20,
"earned": 15,
"possible": 20
},
"structured_meaning": {
"score": 15,
"weight": 20,
"earned": 15,
"possible": 20
},
"commercial_legibility": {
"score": 15,
"weight": 20,
"earned": 15,
"possible": 20
},
"agent_native_content": {
"score": 15,
"weight": 20,
"earned": 15,
"possible": 20
},
"agent_interaction": {
"score": 15,
"weight": 20,
"earned": 15,
"possible": 20
}
},
"unassessed_categories": [
"agent_interaction"
],
"results": [
{
"check_id": "crawl_permission.robots_txt_valid",
"category": "crawl_permission",
"status": "pass",
"earned": 4,
"possible": 4,
"evidence": "robots.txt returned 200 and parsed cleanly",
"fix": null
}
]
}Last updated
Was this helpful?