Reports
Visits
/ 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.
fromandtoare 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.
Authorization
-
Authorizationstring header requiredBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction
Query parameters
-
fromstringFirst 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" -
tostringLast day (UTC). Default today. 731 days at most.
pattern
^[0-9]{4}-[0-9]{2}-[0-9]{2}$Example:"2026-10-26" -
group_bystringday (default, 92 days at most) or month.
Allowed values:
daymonth -
product_idintegerOnly this product (id from list_products).
min
1
Response
Fields of the answer with status 200. Errors always have the same format, see Errors.
-
fromstring<date>Like 2026-01-31.
-
tostring<date>Like 2026-01-31.
-
group_bystringHow the periods are grouped.
Allowed values:
daymonth -
product_idinteger can be nullThe product ID.
-
visitsintegerAll visits in the period.
-
periodsarray of objectEvery period, also without visits.
Show 2 fields Hide fields
-
periodstringLike 2026-01-31 or 2026-01.
-
visitsintegerNumber of visits.
-
-
productsarray of objectMost visits first.
Show 3 fields Hide fields
-
product_idintegerThe product ID.
-
titlestring can be nullThe title.
-
visitsintegerNumber of visits.
-
-
more_productsbooleantrue = more products than this list.
-
admin_urlstring<uri>The page in the Tentary app.