---
title: "All Equity Curves"
method: GET
path: "/api/tradeworkz/equity-curves"
tags: ["TradeWorkz"]
---

# All Equity Curves

`GET /api/tradeworkz/equity-curves`

## Request

- Base URL: `https://api.zerogex.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.zerogex.io/api/tradeworkz/equity-curves`
- Auth: HTTP bearer

Bundled equity curves for every enabled bot.

The dashboard's fleet-overview chart overlays every bot on one axis, so
one round-trip returning all curves beats N parallel requests — both for
latency (single DB scan on the bot_id-indexed table) and for the React
hook rules (no dynamic hook-in-loop on the client).

## Query parameters

- `days` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zerogex/apis/zerogex-api.md) · [All operations](https://skmtc.dev/zerogex/apis/zerogex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zerogex/apis/zerogex-api/revisions/753b26bf0592?raw)
