Test API endpoints and view code examples in multiple languages. Read the API guide
7 endpoints your AI can call.
/v1/overviewTop-level KPIs (sessions, users, revenue, leads) for a date range, with source breakdown.
Try asking your AI: “How was last week?”
/v1/revenueRevenue totals + breakdowns by source, product, and day. Use this for any 'how much money' question.
Try asking your AI: “How much revenue last week?”
/v1/leadsLead counts with source attribution.
Try asking your AI: “How many leads last week?”
/v1/pagesTop pages by pageviews. Optional ?limit=N (default 25, max 100). No source breakdown by design.
Try asking your AI: “Which page got the most traffic?”
/v1/productsPer-product revenue and units.
Try asking your AI: “Top-selling product?”
/v1/usersUnique visitor counts and segmentation (new vs returning, by source, by country).
Try asking your AI: “How many unique visitors last month?”
/v1/funnelsAll defined funnels for the site, with per-step counts and conversion rates. Returns empty array if no funnels defined.
Try asking your AI: “What's my conversion rate?”
Ask your workspace owner to upgrade to Unlimited to unlock API access