Endpoints
Gap Analysis
Read prioritized competitive gaps for the active business.
GET
GET /api/v1/gap-analysis returns metadata and source coverage for the latest cached consultant-style gap analysis for the active business, using data NearIQ already tracks. The public v1 response is limited to raw stored facts and does not return generated analysis text, scores, gaps, strengths, or recommendations.
This endpoint is available on Growth plans and higher.
Use an API key with the analytics: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.
Your API key from Settings > API Keys
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 analytics: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.