REST API
Read your analytics from your own code with an API key. Available on every plan.
Create a key under API keys (up to 25). The key is shown once; only a hash is stored.
curl -H "Authorization: Bearer ax_live_..." https://aydex.cloud/api/v1/sites curl -H "Authorization: Bearer ax_live_..." "https://aydex.cloud/api/v1/sites/SITE_ID/insights?period=7d"
| Item | Value |
|---|---|
| Reports | overview, timeseries, pages, referrers, channels, ai-referrals, countries, devices, browsers, campaigns, events, engagement, entry-exit, behavior, revenue, insights, funnels, heatmap |
| Periods | today, 7d, 30d, 90d (set with ?period=) |
| Rate limit | 120 requests a minute per key; beyond that you receive HTTP 429 |
| Access | Read-only. A key sees only the sites of the account that created it |