API Reference Overview
Complete API reference for RankVectors
Base URL
https://api.rankvectors.com
Authentication
All API requests require authentication using an API key:
Authorization: Bearer YOUR_API_KEY
Rate Limits
API requests are rate-limited based on your subscription:
- Free: 100 requests/hour
- Pro: 1,000 requests/hour
- Enterprise: Custom limits
Rate limit headers are included in all responses:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1625097600
API Endpoints
Projects
Manage your RankVectors projects:
POST /api/projects- Create a projectGET /api/projects- List projectsGET /api/projects/{projectId}- Get projectPATCH /api/projects/{projectId}- Update projectDELETE /api/projects/{projectId}- Delete project
Pages
Sync and manage page content:
POST /api/projects/{projectId}/pages/batch- Batch sync pagesGET /api/projects/{projectId}/pages- List pagesGET /api/projects/{projectId}/pages/{pageId}- Get page
Suggestions
Generate and manage link suggestions:
POST /api/projects/{projectId}/suggestions- Generate suggestionsGET /api/projects/{projectId}/suggestions- List suggestionsGET /api/projects/{projectId}/suggestions/{suggestionId}- Get suggestionPATCH /api/projects/{projectId}/suggestions/{suggestionId}- Update suggestionDELETE /api/projects/{projectId}/suggestions/{suggestionId}- Delete suggestion
Implementations
Manage link implementations:
POST /api/projects/{projectId}/implementations- Create implementationGET /api/projects/{projectId}/implementations- List implementationsGET /api/projects/{projectId}/implementations/{implementationId}- Get implementationPOST /api/projects/{projectId}/implementations/{implementationId}/rollback- Rollback implementation
Analytics
View project analytics:
GET /api/projects/{projectId}/analytics- Get project analytics
Response Format
All responses are in JSON format:
{
"data": {...},
"meta": {
"timestamp": "2024-01-01T00:00:00Z"
}
}
Error Format
Errors follow a consistent format:
{
"error": {
"message": "Error message",
"code": "ERROR_CODE",
"status": 400
}
}
OpenAPI Specification
Full OpenAPI specification available at:
SDK Support
Official SDKs available for: