Heap Analytics API

Provides programmatic access to Heap's autocapture product analytics platform for querying user events, funnels, retention, and behavioral data captured automatically without manual instrumentation.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Other analytics autocapture product-analytics session-replay funnels heap
⚙ Agent Friendliness
51
/ 100
Can an agent use this?
🔒 Security
75
/ 100
Is it safe for agents?
⚡ Reliability
69
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
72
Error Messages
70
Auth Simplicity
80
Rate Limits
55

🔒 Security

TLS Enforcement
100
Auth Strength
72
Scope Granularity
55
Dep. Hygiene
75
Secret Handling
75

API keys lack granular scopes. Autocapture collects broad behavioral data by default — agents should be aware of PII in captured events when exporting or processing data. TLS enforced.

⚡ Reliability

Uptime/SLA
72
Version Stability
68
Breaking Changes
65
Error Recovery
70
AF Security Reliability

Best When

Best when an agent needs to query behavioral analytics from a product with Heap's autocapture already implemented, particularly when the team has not manually instrumented events and needs to work with whatever was automatically captured.

Avoid When

Avoid when you need a strictly defined event taxonomy with standardized naming conventions, or when you require real-time event streaming rather than batch reporting queries.

Use Cases

  • Query funnel conversion rates between automatically captured UI interactions to identify where users drop off in a signup flow
  • Retrieve retention cohort analysis for users who performed a specific event to measure the impact of a product change on long-term engagement
  • Pull session-level event sequences for a specific user cohort to feed into a machine learning pipeline for churn prediction
  • Export raw event data for a date range to a data warehouse for custom analysis alongside other behavioral signals
  • Query feature adoption metrics for a new UI element by filtering on automatically captured click events without requiring engineering instrumentation

Not For

  • Real-time event streaming at high throughput — Heap's API is oriented toward batch reporting and data export, not sub-second event delivery to downstream systems
  • B2B company-level analytics as a primary use case — Heap can group by company with additional setup, but June or Amplitude are better optimized for account-level B2B SaaS metrics
  • Manual event instrumentation control — Heap's value is in autocapture; if you need tight control over exactly which events are captured and how they are named, a manual SDK like Mixpanel or Amplitude is more appropriate

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: api_key
OAuth: No Scopes: No

API authentication uses an App ID for event tracking (client-side) and a separate API key for server-side management and reporting endpoints. Keys are generated in Heap account settings.

Pricing

Model: freemium
Free tier: Yes
Requires CC: No

Heap was acquired by Contentsquare in 2023. Pricing and packaging may have evolved; verify current plans on the Heap/Contentsquare website.

Agent Metadata

Pagination
offset
Idempotent
Full
Retry Guidance
Not documented

Known Gotchas

  • Heap's autocapture creates large volumes of events with auto-generated names based on DOM selectors — agents querying by event name must handle the fragility of names changing when UI elements are renamed or restructured
  • The reporting API surface is more limited than the Heap UI; many complex analyses visible in the product (e.g., influence reports, journey maps) are not available via API and require using Heap Connect for warehouse exports
  • Heap was acquired by Contentsquare in 2023; API documentation, endpoint stability, and roadmap direction may shift — agents should verify current API status before building long-lived integrations
  • Data sampling may occur for large queries; agents should check whether responses include sampling indicators and account for potential undercount in high-volume properties
  • Event definitions in Heap (virtual events) are configured in the UI and not reflected in the raw autocaptured event names — agents querying raw events may miss the business logic encoded in virtual event definitions

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for Heap Analytics API.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-06.

5382
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered