Integrate OnlineCorners scans into your own tools and workflows. Requires a PRO or AGENCY plan.
All API requests require an API key passed in the X-Api-Key header. Generate API keys in your dashboard.
curl -X POST https://onlinecorners.com/api/v1/scan \
-H "X-Api-Key: oc_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'| Plan | Scans / Day | API Keys |
|---|---|---|
| PRO | 150 | 5 |
| AGENCY | 1,000 | 20 |
/api/v1/scanStart a new website scan
Request body
{ "url": "https://example.com" }Response
{ "success": true, "data": { "scanId": "clxxx...", "status": "PENDING" } }/api/v1/scan/:idGet scan results by ID
Response
{ "success": true, "data": { "id": "clxxx...", "status": "COMPLETE", "overallScore": 87, "securityScore": 90, "technicalScore": 85, "seoScore": 84, "toolResults": [...] } }{
"slug": "ssl-checker",
"label": "SSL Certificate",
"status": "pass" | "fail" | "warn" | "info",
"score": 0-100,
"value": "string or object",
"details": "explanation string",
"fixSuggestion": "plain-English fix (on fail/warn only)",
"durationMs": 142
}