# Track your credit usage

> See credits per day, service, member and API key in the dashboard or through the API.

## In the dashboard

Open **Usage** in your workspace sidebar. It shows the credits spent per day, and tables **By service**, **By member** and **By API key**, each with the most credits first. Days are counted in UTC.

Use it to find which app or key is spending, or to check a bulk upload's cost.

## Through the API

Two endpoints return the same data, with any API key of the workspace:

- `GET /credit-usage/breakdown` totals credits and requests for a date range, grouped by `date`, `user`, `api-key` or `service`.
- `GET /credit-usage/daily/list` lists the credits used per day, page by page.

```bash
curl --get "https://api.phone-check.app/credit-usage/breakdown" \
  --data-urlencode "workspaceId=$WORKSPACE_ID" \
  --data-urlencode "dateFrom=2026-07-01" \
  --data-urlencode "dateTo=2026-07-31" \
  --data-urlencode "groupBy=api-key,service" \
  -H "x-api-key: $API_KEY"
```

The answer has `totals` (`credits`, `requests`) and `groups`, highest-credit first. Dates are `YYYY-MM-DD`. All parameters are in the [API reference](https://api.phone-check.app/developers/reference).

AI agents can call the free `account_usage` and `account_whoami` tools of the [MCP server](https://support.phone-check.app/ai-agents-and-libraries/connect-an-ai-agent-with-mcp) instead.
