API Reference
API Reference
13 REST endpoints for submitting audits, polling status, retrieving results, and accessing visibility reports.
Base URL
All endpoints are prefixed with this base URL.
Authentication
All requests require a Bearer token in the Authorization header.
See Authentication for details on creating keys, permissions, and rate limits.
Response Format
All successful responses return a data object and a meta object with a unique request ID and timestamp.
Success response
Paginated responses include page, per_page, and total in the meta object.
Paginated response
Error responses return an error object with a machine-readable code and a human-readable message.
Error response
Error Codes
| Code | Status | Description |
|---|---|---|
bad_request | 400 | Invalid parameters or malformed request body |
unauthorized | 401 | Missing or invalid API key |
forbidden | 403 | API key lacks the required permission for this endpoint |
not_found | 404 | The requested resource does not exist |
rate_limited | 429 | Per-key rate limit exceeded - retry after the reset window |
internal_error | 500 | Unexpected server error - contact support if persistent |
Endpoints
| Method | Path | Description | Permission |
|---|---|---|---|
| GET | /audits/[slug]/opportunities | Get prioritized opportunities and fixes | read |
| POST | /audits/[slug]/reaudit | Request fresh re-audit | write |
| GET | /audits/[slug] | Get full audit details | read |
| GET | /audits/[slug]/status | Check audit job status | read |
| POST | /audits | Submit a domain for audit | write |
| GET | /audits | List your audits | read |
| GET | /openapi.json | OpenAPI 3.0.3 specification document | read |
| POST | /plugin/heartbeat | WordPress plugin heartbeat | write |
| POST | /plugin/register | Register a WordPress site as a CMS connection | write |
| GET | /score/[slug] | Get cached AEO Site Rank for a domain | read |
| POST | /toolbar/check | Queue an instant audit from AEORank extension | write |
| POST | /toolbar/sync | Sync a locally-run audit from AEORank extension | write |
| GET | /visibility/[slug] | Get visibility report | read |