---
title: "Detailed statistics"
method: GET
path: "/stats"
tags: ["API Keys"]
---

# Detailed statistics

`GET /stats`

Returns detailed API usage statistics broken down by operation type. Requires authentication — these figures include revenue and are not public.

## Response `200`

Statistics overview

- StatsOverview
  - `total_operations` integer, required
  - `by_type` object, required
    - `iban_validate` object
      - `total` integer
      - `valid_count` integer
      - `success_rate` number
    - `iban_batch` object
      - `total` integer
      - `valid_count` integer
      - `success_rate` number
    - `bic_lookup` object
      - `total` integer
      - `found_count` integer
      - `hit_rate` number
  - `total_revenue_usdc` number, required — Deprecated alias for total_revenue_attempted_usdc. Use /admin/revenue for on-chain settled USDC.
  - `total_revenue_attempted_usdc` number — SUM of revenue_usdc in daily_stats. Reflects x402 calls that PASSED the payment middleware verify step, NOT a confirmation of on-chain settlement. For settled USDC see /admin/revenue.
  - `revenue_note` string
  - `top_countries` object[], required
    - `country` string
    - `count` integer
  - `last_7_days` object[], required
    - `date` string, date
    - `total` integer
    - `revenue` number

## Other responses

- `403` — Authentication required — send Authorization: Bearer ifk_...

## Changes

- **2026-07-26** `81718095283e` — 4 info
  - the endpoint scheme security `apiKey` was added to the API
  - api tag `API Keys` added
  - api tag `Free` removed
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/ibanforge/apis/ibanforge-api/changes/stats/get.md)

---

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