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

# V3 transaction or payment facts

> One row per charged or completed funded, trial or free call, or per verified payment when kind=payments, with the totals, attribution and payment-lane splits, top buyers and exclusive paid/trial-only agent counts of every matching fact. view=grouped pages completed and failed calls by UTC day, service, buyer, funding and status with the credit they drew. Transaction dates use request creation; payment dates use payment creation. Repeat with offset and the first page's asOf for a complete export. Returns 503 until the marts behind it exist.



## OpenAPI

````yaml https://api.zeroclick.io/openapi.json get /v1/analytics/sellers/{sellerId}/activity-facts
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}/activity-facts:
    get:
      tags:
        - Analytics
      summary: V3 transaction or payment facts
      description: >-
        One row per charged or completed funded, trial or free call, or per
        verified payment when kind=payments, with the totals, attribution and
        payment-lane splits, top buyers and exclusive paid/trial-only agent
        counts of every matching fact. view=grouped pages completed and failed
        calls by UTC day, service, buyer, funding and status with the credit
        they drew. Transaction dates use request creation; payment dates use
        payment creation. Repeat with offset and the first page's asOf for a
        complete export. 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:
            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
            enum:
              - 'true'
              - 'false'
          in: query
          name: hideBots
          required: false
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
          in: query
          name: hideInternal
          required: false
        - schema:
            default: transactions
            type: string
            enum:
              - transactions
              - payments
          in: query
          name: kind
          required: false
        - schema:
            default: rows
            type: string
            enum:
              - rows
              - grouped
          in: query
          name: view
          required: false
        - schema:
            type: string
            minLength: 1
          in: query
          name: serviceId
          required: false
        - schema:
            type: string
            minLength: 1
          in: query
          name: planId
          required: false
        - schema:
            type: string
            minLength: 1
          in: query
          name: agentId
          required: false
        - schema:
            type: string
            enum:
              - website
              - storefront_only
              - direct
          in: query
          name: attribution
          required: false
        - schema:
            type: string
            enum:
              - x402_wallet
              - mpp_wallet
              - agent_card
              - human_card
              - plan_credit
              - free_trial
              - unknown
          in: query
          name: method
          required: false
        - schema:
            type: string
            minLength: 1
            maxLength: 64
          in: query
          name: rail
          required: false
        - schema:
            type: string
            minLength: 1
            maxLength: 64
          in: query
          name: protocol
          required: false
        - schema:
            type: string
            enum:
              - payment
              - plan_credit
              - free
          in: query
          name: fundingMethod
          required: false
        - schema:
            type: string
            enum:
              - completed
              - failed
              - forwarded
          in: query
          name: requestStatus
          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:
                  activity:
                    type: object
                    properties:
                      asOf:
                        type: string
                      kind:
                        type: string
                        enum:
                          - transactions
                          - payments
                      view:
                        type: string
                        enum:
                          - rows
                          - grouped
                      window:
                        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
                          planId:
                            nullable: true
                            type: string
                          agentId:
                            nullable: true
                            type: string
                          attribution:
                            nullable: true
                            type: string
                          method:
                            nullable: true
                            type: string
                          rail:
                            nullable: true
                            type: string
                          protocol:
                            nullable: true
                            type: string
                          fundingMethod:
                            nullable: true
                            type: string
                          requestStatus:
                            nullable: true
                            type: string
                        required:
                          - hideBots
                          - hideInternal
                          - serviceId
                          - planId
                          - agentId
                          - attribution
                          - method
                          - rail
                          - protocol
                          - fundingMethod
                          - requestStatus
                        additionalProperties: false
                      total:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      amountUsd:
                        type: string
                      splits:
                        type: array
                        items: {}
                      methods:
                        type: array
                        items: {}
                      buyers:
                        type: array
                        items: {}
                      agents: {}
                      paging:
                        type: object
                        properties:
                          total:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          limit:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          offset:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                        required:
                          - total
                          - limit
                          - offset
                        additionalProperties: false
                      rows:
                        type: array
                        items: {}
                      groups:
                        type: array
                        items: {}
                    required:
                      - asOf
                      - kind
                      - view
                      - window
                      - filters
                      - total
                      - amountUsd
                      - splits
                      - methods
                      - buyers
                      - agents
                      - paging
                      - rows
                      - groups
                    additionalProperties: false
                required:
                  - activity
                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.