> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# V3 store buyers

> The known agents with a transaction for one seller over an inclusive UTC date range: how many, how many were new (first payment or transaction with the seller inside the window), returning, repeat (two or more active UTC days), paid or trial-only; the same tiles for the equal-length previous window; seven-day new vs returning buckets ending on the window's last day; and one paged row per agent, ranked by revenue, with its first activity, transactions, verified payments, active days, paying wallet and whether a transaction came through a storefront journey. Returns 503 until the marts behind it exist.



## OpenAPI

````yaml https://api.zeroclick.io/openapi.json get /v1/analytics/sellers/{sellerId}/store-buyers
openapi: 3.0.0
info:
  title: ZeroClick API
  description: >-
    REST API for managing ZeroClick sellers, services, pricing, usage, and
    analytics. Authenticate with an API key from the ZeroClick dashboard.
  version: 1.0.0
servers:
  - url: https://api.zeroclick.io
security:
  - bearerAuth: []
tags:
  - name: API keys
  - name: Sellers
  - name: Services
  - name: Meters
  - name: Plans
  - name: Plan meter prices
  - name: Usage
  - name: Analytics
  - name: Agentify
  - name: Stripe Connect
  - name: Sandbox
  - name: Organizations
  - name: Users
paths:
  /v1/analytics/sellers/{sellerId}/store-buyers:
    get:
      tags:
        - Analytics
      summary: V3 store buyers
      description: >-
        The known agents with a transaction for one seller over an inclusive UTC
        date range: how many, how many were new (first payment or transaction
        with the seller inside the window), returning, repeat (two or more
        active UTC days), paid or trial-only; the same tiles for the
        equal-length previous window; seven-day new vs returning buckets ending
        on the window's last day; and one paged row per agent, ranked by
        revenue, with its first activity, transactions, verified payments,
        active days, paying wallet and whether a transaction came through a
        storefront journey. Returns 503 until the marts behind it exist.
      parameters:
        - schema:
            type: string
            format: date
            pattern: >-
              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
          in: query
          name: startDate
          required: true
        - schema:
            type: string
            format: date
            pattern: >-
              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
          in: query
          name: endDate
          required: true
        - schema:
            default: previous
            type: string
            enum:
              - previous
              - none
          in: query
          name: compare
          required: false
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
          in: query
          name: hideBots
          required: false
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
          in: query
          name: hideInternal
          required: false
        - schema:
            type: string
            minLength: 1
          in: query
          name: serviceId
          required: false
        - schema:
            type: string
            minLength: 1
            maxLength: 80
          in: query
          name: asOf
          required: false
        - schema:
            default: 50
            type: integer
            minimum: 1
            maximum: 1000
          in: query
          name: limit
          required: false
        - schema:
            default: 0
            type: integer
            minimum: 0
            maximum: 9007199254740991
          in: query
          name: offset
          required: false
        - schema:
            type: string
            minLength: 1
          in: path
          name: sellerId
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  buyers:
                    type: object
                    properties:
                      asOf:
                        type: string
                      window:
                        type: object
                        properties:
                          startDate:
                            type: string
                          endDate:
                            type: string
                        required:
                          - startDate
                          - endDate
                        additionalProperties: false
                      previousWindow:
                        nullable: true
                        type: object
                        properties:
                          startDate:
                            type: string
                          endDate:
                            type: string
                        required:
                          - startDate
                          - endDate
                        additionalProperties: false
                      filters:
                        type: object
                        properties:
                          hideBots:
                            type: boolean
                          hideInternal:
                            type: boolean
                          serviceId:
                            nullable: true
                            type: string
                        required:
                          - hideBots
                          - hideInternal
                          - serviceId
                        additionalProperties: false
                      totals:
                        type: object
                        properties:
                          agents:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          new:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          returning:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          repeat:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          paid:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          trialOnly:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                        required:
                          - agents
                          - new
                          - returning
                          - repeat
                          - paid
                          - trialOnly
                        additionalProperties: false
                      previousTotals:
                        nullable: true
                        type: object
                        properties:
                          agents:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          new:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          returning:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          repeat:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          paid:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          trialOnly:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                        required:
                          - agents
                          - new
                          - returning
                          - repeat
                          - paid
                          - trialOnly
                        additionalProperties: false
                      weekly:
                        type: array
                        items:
                          type: object
                          properties:
                            startDate:
                              type: string
                            endDate:
                              type: string
                            new:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            returning:
                              type: integer
                              minimum: 0
                              maximum: 9007199254740991
                          required:
                            - startDate
                            - endDate
                            - new
                            - returning
                          additionalProperties: false
                      total:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      limit:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      offset:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      rows:
                        type: array
                        items: {}
                    required:
                      - asOf
                      - window
                      - previousWindow
                      - filters
                      - totals
                      - previousTotals
                      - weekly
                      - total
                      - limit
                      - offset
                      - rows
                    additionalProperties: false
                required:
                  - buyers
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key created in the ZeroClick dashboard under Settings → API keys.
        Keys start with `zc_`. Send them as `Authorization: Bearer zc_...`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.