---
title: "Count customers"
method: GET
path: "/billing/customers/count"
tags: ["billing"]
---

# Count customers

`GET /billing/customers/count`

## Query parameters

- `company_ids` string[]
- `name` string
- `provider_type` 'metronome' | 'orb' | 'schematic' | 'stripe'
- `q` string
- `limit` integer — Page limit (default 100)
- `offset` integer — Page offset (default 0)

## Response `200`

OK

- object
  - `data` CountResponse, required
    - `count` integer — The number of resources
  - `params` object, required — Input parameters
    - `company_ids` string[]
    - `limit` integer — Page limit (default 100)
    - `name` string
    - `offset` integer — Page offset (default 0)
    - `provider_type` 'metronome' | 'orb' | 'schematic' | 'stripe'
    - `q` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Server error

## Changes

> 125 revisions in range; 26 could not be searched.

- **2026-07-15** `3baa54bf8b3f` — 2 warning
  - for the `query` request parameter `limit`, the max was set to `250.00`
  - for the `query` request parameter `limit`, the min was set to `0.00`
- **2026-06-05** `c0d7b479cd11` — 1 warning, 1 info
  - added the new `metronome` enum value to the `params/provider_type` response property for the response status `200`
  - added the new enum value `metronome` to the `query` request parameter `provider_type`

[Change history](https://skmtc.dev/schematichq/apis/schematic-api/changes/billing/customers/count/get.md)

---

[API](https://skmtc.dev/schematichq/apis/schematic-api.md) · [All operations](https://skmtc.dev/schematichq/apis/schematic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/schematichq/schematic-api/revisions/0b238e148fa1/schema)
