API

Test API endpoints and view code examples in multiple languages. Get your API key

Plug your data into any AI

Get instant answers about your traffic, revenue, and leads using Claude, ChatGPT, Cursor, or any AI you already use.

View API documentation

Available endpoints

7 endpoints your AI can call. Full documentation at /api-docs/llms.txt.

  • GET/v1/overview

    Top-level KPIs (sessions, users, revenue, leads) for a date range, with source breakdown.

    Try asking your AI: “How was last week?

  • GET/v1/revenue

    Revenue totals + breakdowns by source, product, and day. Use this for any 'how much money' question.

    Try asking your AI: “How much revenue last week?

  • GET/v1/leads

    Lead counts with source attribution.

    Try asking your AI: “How many leads last week?

  • GET/v1/pages

    Top 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?

  • GET/v1/products

    Per-product revenue and units.

    Try asking your AI: “Top-selling product?

  • GET/v1/users

    Unique visitor counts and segmentation (new vs returning, by source, by country).

    Try asking your AI: “How many unique visitors last month?

  • GET/v1/funnels

    All 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?