Microsoft Clarity Data Export API
Marketing & SEO Free key (no card)
Documentation: learn.microsoft.com ยท Checked Sep 13, 2026
About
Microsoft Clarity is a free behavior-analytics tool (heatmaps, session recordings, rage clicks), and its Data Export API lets you pull aggregated traffic and engagement numbers as data. You get metrics like sessions, engagement time, rage and dead clicks, errors, devices, countries, referrers, and top URLs. The API key comes from your free Clarity project's settings, and the project itself is free forever.
Details
Free to start. You may need a free key, but no credit card.
Auth: Free key (no card)
Rate limit: Free; 10 requests per project per day, covering the last 1 to 3 days, up to 1,000 rows per call with no pagination.
Verified: 2026-09-13
Best for: analytics marketing ux seo
Setup
- Create a free Clarity account and add your website project
- Install the Clarity tracking script on your site
- In project settings, generate an API token
- Call the export-data endpoint with the token as a Bearer header
- Request once a day and store results, since history is only 1 to 3 days
GET https://www.clarity.ms/export-data/api/v1/project-live-insights with header Authorization: Bearer <token>Use cases
- Track which landing pages get rage clicks and fix them first
- Compare engagement by device and country each morning
- Feed Clarity traffic numbers into a weekly growth report