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

# Get Statistics

> Returns aggregate dashboard analytics



## OpenAPI

````yaml GET /v1/stats
openapi: 3.0.3
info:
  title: Maverick Intelligence API
  description: >
    Programmatic access to your Maverick Intelligence data — identified website
    visitors,

    companies, events, and analytics.


    ## Authentication

    All endpoints (except `/v1/health`) require an API key passed in the
    `X-API-Key` header.


    ```bash

    curl -H "X-API-Key: mk_live_your_key_here"
    https://api-v1.maverickintelligence.co/v1/people

    ```


    ## Rate Limiting

    - **1,000 requests per hour** per customer (shared across all API keys)

    - Every response includes `X-RateLimit-Limit` and `X-RateLimit-Remaining`
    headers

    - When exceeded, you'll receive a `429` response with a `Retry-After` header


    ## Pagination

    List endpoints use cursor-based pagination. Pass the `nextCursor` from the
    response

    as the `cursor` query parameter to fetch the next page.


    ## Sorting

    Results are always sorted by most recently seen first (`lastSeen`
    descending).

    Custom sorting is not yet supported — passing a `sort` or `order` query

    parameter returns `400 bad_request`. Custom sorting options will be
    available

    in a future version.
  version: 1.0.0
  contact:
    name: Maverick Intelligence Support
    email: nick@maverickintelligence.co
    url: https://maverickintelligence.co
servers:
  - url: https://api-v1.maverickintelligence.co
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: System
    description: API health and status
  - name: People
    description: Identified website visitors
  - name: Events
    description: Behavioral events (page views, clicks, scrolls)
  - name: Companies
    description: Companies identified from visitors
  - name: Statistics
    description: Aggregate analytics
paths:
  /v1/stats:
    get:
      tags:
        - Statistics
      summary: Get statistics
      description: >
        Returns aggregate dashboard statistics including total people,
        companies,

        recent events, and daily averages.


        Note: This endpoint may have higher latency than list endpoints because

        it aggregates data across all records.
      responses:
        '200':
          description: Dashboard statistics
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Stats'
components:
  schemas:
    Stats:
      type: object
      properties:
        totalPeople:
          type: integer
        totalCompanies:
          type: integer
        recentEvents:
          type: integer
          description: Pixel events in the last 30 days
        periodDays:
          type: integer
        dailyAverage:
          type: number
        generatedAt:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key in format: mk_live_{40 hex chars}'

````