---
title: "Get contact statistics"
method: GET
path: "/analytics/contact-stats"
tags: ["Analytics AI — Analytics & BI"]
---

# Get contact statistics

`GET /analytics/contact-stats`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/analytics/contact-stats`
- Auth: HTTP bearer

Business partner / contact statistics — document counts, storage, first/last document dates, and optional addresses (include_addresses=true).

## Query parameters

- `limit` number
- `period` '7d' | '30d' | '90d' | '365d' | 'all'
- `include_addresses` boolean

## Response `200`

Success

- object
  - `_billing` object
    - `credits` object
      - `total_monthly` integer
      - `remaining_monthly` integer
      - `credit_source` string
      - `api_handler` string
      - `tier_info` object
        - `tier` string
        - `name` string
        - `initial_credits` integer
        - `price_monthly` integer
        - `price_overage_per_credit` integer
      - `notice` string
      - `renewal_days` integer
      - `subscription_status` string
    - `job` object
      - `api_job_name` string
      - `app` string
      - `action` string
      - `default_credits` integer
      - `token` string
      - `credits_billed` integer
      - `pricing` object
        - `credits_per_unit` integer
        - `unit` string
        - `unit_count` integer
        - `addons` string
    - `requests` object
      - `limits` object
        - `second` integer
        - `minute` integer
        - `hour` integer
        - `day` integer
      - `current` object
        - `second` integer
        - `minute` integer
        - `hour` integer
        - `day` integer
      - `remaining` object
        - `second` integer
        - `minute` integer
        - `hour` integer
        - `day` integer
      - `next_possible_request_seconds` integer
    - `remaining_credits` integer
    - `total_monthly` integer
    - `account_id` integer
    - `plan` object
      - `tier` string
      - `name` string
    - `credits_billed` integer
  - `contacts` unknown[]
    - unknown
  - `financial_endpoint` string
  - `has_custom_meta_keys` boolean
  - `meta_mapping` object
    - `contacts` object
      - `configured` boolean
      - `ready` object
        - `amounts` boolean
        - `partners` boolean
        - `due_dates` boolean
        - `document_types` boolean
        - `location` boolean
      - `feature_ready` boolean
      - `reason` string
    - `location` object
      - `configured` boolean
      - `ready` object
        - `amounts` boolean
        - `partners` boolean
        - `due_dates` boolean
        - `document_types` boolean
        - `location` boolean
      - `feature_ready` boolean
      - `reason` string
    - `amounts` object
      - `configured` boolean
      - `ready` object
        - `amounts` boolean
        - `partners` boolean
        - `due_dates` boolean
        - `document_types` boolean
        - `location` boolean
      - `feature_ready` boolean
      - `reason` string
  - `processing_time` string
  - `status` string
  - `total_contacts` integer

## Other responses

- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api.md) · [All operations](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/revisions/c6a6228a4509?raw)
