No cookies · No consent banner · Data stored in EuropeNo cookies · GDPR · EU data

English
REST API

REST API for your web analytics

Take your metrics to your own dashboards, reports and scripts: clear JSON and the same filters as the panel.

What you get

The same data as the panel

Metrics, daily evolution, breakdowns by 11 dimensions, goals, JavaScript errors and Core Web Vitals.

The same filters

Segment by channel, page, country, device, browser, language or UTM campaign, exactly as in the panel.

Clear answers

Paginated lists of up to 500 rows, and a 400 error that explains what’s wrong with an invalid parameter.

Set it up step by step

  1. Get your API token

    In the app, open the user menu → API. There you have your token and every function documented with its parameters and response.

    API token and documentation of the functions
  2. List your websites

    Every request carries your token in the Authorization header:

    curl -H "Authorization: Bearer YOUR_API_TOKEN" \
      https://api.overtracking.com/v1/websites
  3. Read the metrics of a period

    Visitors, sessions, page views, pages per session, bounce rate and average time, with the previous period if you add compare=true:

    curl -H "Authorization: Bearer YOUR_API_TOKEN" \
      "https://api.overtracking.com/v1/websites/123/overview?from=2026-10-01&to=2026-10-31&compare=true"
  4. Break the traffic down

    Use /breakdown/{dimension} with one of these dimensions:

    • pages, entry_pages, exit_pages
    • channels, referrals, llm
    • countries, cities, devices, browsers, os

Frequently asked questions

How many requests can I make?

Up to 2 per second per token. Above that you get a 429 with a Retry-After header, so chain your calls instead of firing them in parallel.

Can I create goals through the API?

Yes, with POST /v1/websites/{website_id}/goals. You can also create websites and manage the custom domain.

Which websites can I read?

The websites of your account and the ones shared with you.

Start measuring in 5 minutes

Try it free for 7 days. No cookies, no banners, no credit card.

Start your free trial