Hotjar is a behavior analytics and user feedback platform that helps businesses understand how users interact with their websites. Their developer platform provides REST APIs for exporting survey data and managing user records, as well as client-side JavaScript APIs for sending custom events, identifying users, and integrating tracking into modern web applications.
URL: Visit APIs.json URL
- Type: Contract
- Position: Consuming
- Access: 3rd-Party
- Analytics, Heatmaps, Surveys, User Feedback, Behavior, Tracking
- Created: 2026-03-20
- Modified: 2026-03-20
The Hotjar REST API provides programmatic access to Hotjar data and functionality. It allows developers to export survey responses, automate user lookup and deletion requests, and integrate Hotjar data into external tools and workflows. The API uses OAuth client credentials authentication, returns JSON responses, supports cursor-based pagination, and is rate limited to 3000 requests per minute. It is available on Observe and Ask Scale plans.
Human URL: https://help.hotjar.com/hc/en-us/articles/36820005914001-Hotjar-API-Reference
- Analytics, Surveys, Heatmaps, Behavior, User Feedback
The Hotjar Events API is a client-side JavaScript API that allows developers to send custom events to Hotjar when specific actions take place on a website. These events can be used to filter collected Recordings and Heatmap data, trigger session capture, and target Surveys to appear based on user behavior. Events are sent using the Hotjar tracking code and are available on all pages where the tracking snippet is installed.
Human URL: https://help.hotjar.com/hc/en-us/articles/36819965075473-Events-API-Reference
- Events, Tracking, Heatmaps, Recordings, Surveys, Analytics
The Hotjar Identify API is a client-side JavaScript API that allows developers to pass user data to Hotjar, saving it as User Attributes. These attributes enable advanced filtering and segmentation of Hotjar data such as Recordings, Heatmaps, and Surveys. The Identify API must be called before the Events API in the execution order. It is used via the Hotjar tracking code on pages where the JavaScript snippet is installed.
Human URL: https://help.hotjar.com/hc/en-us/articles/36820006120721-Identify-API-Reference
- Users, Attributes, Segmentation, Analytics, Personalization
The Hotjar JavaScript SDK (@hotjar/browser) is an npm package that provides a programmatic interface for integrating Hotjar directly into JavaScript applications. It allows developers to initialize Hotjar with a site ID, identify users, and send custom events without manually embedding the tracking script. The SDK supports modern JavaScript frameworks including React, Vue, and Angular, and provides methods for all Hotjar client-side APIs including identify and event tracking.
Human URL: https://github.com/hotjar/hotjar-js
- JavaScript, SDK, Analytics, Tracking, Browser
FN: API Evangelist
Email: info@apievangelist.com