---
title: "Get api calls in date range for app."
method: GET
path: "/api/apps/{app}/usages/calls/{fromDate}/{toDate}"
tags: ["Statistics"]
---

# Get api calls in date range for app.

`GET /api/apps/{app}/usages/calls/{fromDate}/{toDate}`

## Path parameters

- `app` string, required
- `fromDate` string, date, required
- `toDate` string, date, required

## Response `200`

API call returned.

- CallsUsageDtoDto
  - `totalCalls` integer, required — The total number of API calls.
  - `totalBytes` integer, required — The total number of bytes transferred.
  - `monthCalls` integer, required — The total number of API calls this month.
  - `monthBytes` integer, required — The total number of bytes transferred this month.
  - `blockingApiCalls` integer, required — The amount of calls that will block the app.
  - `allowedBytes` integer, required — The included API traffic.
  - `allowedCalls` integer, required — The included API calls.
  - `averageElapsedMs` number, double, required — The average duration in milliseconds.
  - `details` object, required — The statistics by date and group.

## Other responses

- `404` — App not found.
- `500` — Operation failed.

---

[API](https://skmtc.net/squidex/apis/squidex-api.md) · [All operations](https://skmtc.net/squidex/apis/squidex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/squidex/squidex-api/revisions/b4a9b62f113a/schema)
