API Introduction
Access your AI Search Index analytics data programmatically with our REST API.
Base URL
https://aisearchindex.com/api/v1Authentication
All API requests require authentication using an API key. Include your API key in the x-api-key header.
curl -X GET https://aisearchindex.com/api/v1/websites \
-H "x-api-key: YOUR_API_KEY"Available Endpoints
Response Format
All API responses are in JSON format. Successful responses include a success: true field.
Successful Response
{
"success": true,
"data": {
// Response data here
}
}Error Response
{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid API key"
}
}Rate Limits
| Plan | Requests per Minute |
|---|---|
| Free | 10 req/min |
| Starter | 60 req/min |
| Pro | 300 req/min |
| Enterprise | Custom |
Rate limit headers are included in responses: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
SDKs & Libraries
While you can use the API directly with any HTTP client, we also provide:
- MCP Server — Query data through AI assistants
- TypeScript Types — Available in our npm packages