Documentation Index
Fetch the complete documentation index at: https://docs.neariq.io/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/v1/gap-analysis returns the latest cached consultant-style gap analysis for the active business, using data NearIQ already tracks.
This endpoint is available on Growth plans and higher.
Use an API key with the competitors:read scope.
The public API is read-only and does not regenerate an analysis. Generate or refresh the cache from the dashboard first, then read it here.
Response
Access
The endpoint uses the caller’s active personal or organization business context. Organization members only receive data for businesses they can access. Accounts below Growth receive403. API keys without competitors:read receive 403 requiredScope.
Cache behavior
Gap analysis is cached for 24 hours per business. The public API returnsstale: true when the latest cached analysis is past its expiration time.