Behavior analytics platform with heatmaps, session recordings, and surveys for understanding user experience.
| Integration | Available | Notes |
|---|---|---|
| API | ✓ | Surveys, Responses, Sites, Heatmaps, Recordings |
| MCP | - | Not available |
| CLI | ✓ | hotjar.js |
| SDK | ✓ | JavaScript tracking snippet, Identify API, Events API |
- Type: OAuth 2.0 Client Credentials
- Token endpoint:
POST https://api.hotjar.io/v1/oauth/token - Header:
Authorization: Bearer {access_token} - Get credentials: Hotjar Dashboard > Integrations > API
- Token expiry: 3600 seconds (1 hour)
POST https://api.hotjar.io/v1/oauth/token
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentials&client_id={client_id}&client_secret={client_secret}{
"access_token": "<token>",
"token_type": "Bearer",
"expires_in": 3600
}GET https://api.hotjar.io/v1/sites
Authorization: Bearer {access_token}GET https://api.hotjar.io/v1/sites/{site_id}/surveys
Authorization: Bearer {access_token}GET https://api.hotjar.io/v1/sites/{site_id}/surveys/{survey_id}/responses?limit=100
Authorization: Bearer {access_token}Supports cursor-based pagination with cursor and limit parameters.
GET https://api.hotjar.io/v1/sites/{site_id}/heatmaps
Authorization: Bearer {access_token}GET https://api.hotjar.io/v1/sites/{site_id}/recordings
Authorization: Bearer {access_token}GET https://api.hotjar.io/v1/sites/{site_id}/forms
Authorization: Bearer {access_token}response_id- Unique response identifieranswers- Array of question/answer pairscreated_at- Response timestampdevice_type- Desktop, mobile, tablet
url- Page URLclick_count- Total clicks trackedvisitors- Unique visitorscreated_at- Heatmap creation date
recording_id- Unique recording IDduration- Session durationpages_visited- Pages in sessiondevice- Device information
limit- Results per page (default: 100)cursor- Pagination cursor from previous responsesort- Sort order (default: created_at desc)
limit- Results per pagecursor- Pagination cursordate_from- Start date filterdate_to- End date filter
- Analyzing user behavior patterns on landing pages
- Collecting qualitative feedback via on-site surveys
- Identifying UX issues through session recordings
- Understanding scroll depth and engagement via heatmaps
- Validating CRO hypotheses with user behavior data
- Form abandonment analysis
- 3000 requests/minute (50 per second)
- Rate limited by source IP address
- Cursor-based pagination for large result sets
- cro
- ab-testing
- analytics
- ux-audit
- landing-page