Deutsch DE
API-Referenz
API-Referenz

Auswertungen

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.

Liest nur MCP-Werkzeug get_visits

Autorisierung

  • Authorization string Header erforderlich

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

Query-Parameter

  • from string

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

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

  • to string

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

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

  • group_by string

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

    Mögliche Werte: daymonth

  • product_id integer

    Only this product (id from list_products).

    min. 1

Antwort

Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.

  • from string<date>

    Like 2026-01-31.

  • to string<date>

    Like 2026-01-31.

  • group_by string

    How the periods are grouped.

    Mögliche Werte: daymonth

  • product_id integer kann null sein

    The product ID.

  • visits integer

    All visits in the period.

  • periods array of object

    Every period, also without visits.

    2 Felder anzeigen Felder ausblenden
    • period string

      Like 2026-01-31 or 2026-01.

    • visits integer

      Number of visits.

  • products array of object

    Most visits first.

    3 Felder anzeigen Felder ausblenden
    • product_id integer

      The product ID.

    • title string kann null sein

      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.

Tippe, um zu suchen.