---
title: "Get Statistics"
method: POST
path: "/api/v1/statistics/"
tags: ["statistics"]
---

# Get Statistics

`POST /api/v1/statistics/`

Get raw statistics data without plotting

## Request body

- StatisticsParams — Request for statistics data For single network: Maps to Network.statistics.<statistic>(<parameters>) For multiple networks: Maps to NetworkCollection.statistics.<statistic>(<parameters>)
  - `network_ids` string[], required — List of network UUIDs (single or multiple)
  - `statistic` string, required — Statistics method to call
  - `parameters` object — Parameters for the statistics method

## Response `200`

Successful Response

- TaskQueuedResponse — Response when a task is queued
  - `task_id` string, required
  - `status_url` string, required
  - `message` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pypsa/apis/pypsa-app.md) · [All operations](https://skmtc.dev/pypsa/apis/pypsa-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pypsa/pypsa-app/revisions/a9fc864817c3/schema)
