English EN
API Reference
API Reference

Reports

Visits

GET / v1 / reports / visits

Visits per day or month, with one number per product.

  • A browser session on the product page and its checkout counts as one visit, at most once per 30 minutes.
  • from and to are both included. Days are UTC.
  • Visits of the account owner and products that are not live are not counted.
  • Landing pages and the shop page have no visit counter.
  • There are no traffic sources and no unique visitors yet.

For orders and money, call GET /v1/orders or GET /v1/reports/revenue.

Reads only MCP tool get_visits

Authorization

  • Authorization string header required

    Bearer tnt_… · A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction

Query parameters

  • from string

    First day (UTC), like 2026-01-01. Default: 29 days before to.

    pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ Example: "2026-10-24"

  • to string

    Last day (UTC). Default today. 731 days at most.

    pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ Example: "2026-10-26"

  • group_by string

    day (default, 92 days at most) or month.

    Allowed values: daymonth

  • product_id integer

    Only this product (id from list_products).

    min 1

Response

Fields of the answer with status 200. Errors always have the same format, see Errors.

  • from string<date>

    Like 2026-01-31.

  • to string<date>

    Like 2026-01-31.

  • group_by string

    How the periods are grouped.

    Allowed values: daymonth

  • product_id integer can be null

    The product ID.

  • visits integer

    All visits in the period.

  • periods array of object

    Every period, also without visits.

    Show 2 fields Hide fields
    • period string

      Like 2026-01-31 or 2026-01.

    • visits integer

      Number of visits.

  • products array of object

    Most visits first.

    Show 3 fields Hide fields
    • product_id integer

      The product ID.

    • title string can be null

      The title.

    • visits integer

      Number of visits.

  • more_products boolean

    true = more products than this list.

  • admin_url string<uri>

    The page in the Tentary app.

Start typing to search.