API Documentation
REST API for integrating Ansview data into your own tools and workflows.
Authentication
All API requests require authentication via session cookies (NextAuth.js) or API keys (Enterprise plan). Every endpoint scopes data to the authenticated user.
Base URL
https://app.ansview.app/apiEndpoints
GET
/api/businessesPOST
/api/businessesGET
/api/businesses/:idPUT
/api/businesses/:idDELETE
/api/businesses/:idPOST
/api/businesses/:id/syncGET
/api/reviewsGET
/api/dashboard/statsGET
/api/dashboard/trendGET
/api/dashboard/sourcesGET
/api/alertsPOST
/api/alertsRate Limits
Free plan: 100 requests/hour. Pro plan: 1,000 requests/hour. Enterprise: custom limits. Rate limit headers are included in every response.
Need help with the API? Contact our team