> ## Documentation Index
> Fetch the complete documentation index at: https://digitalsurge.com.au/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> Complete reference for the Digital Surge API: market data, trading, portfolio, withdrawals, and account endpoints — with an interactive playground.

Every endpoint below is generated from the live [OpenAPI schema](https://app.digitalsurge.com.au/api/schema/), so it always matches production behavior. Endpoints are grouped by scope:

* **Public** — market data: assets, categories, ticker prices, EOFY closing prices. No authentication.
* **Private** — your account: balances, swaps, recurring buys, price triggers, transactions, withdrawals, deposit addresses. Requires an [API key](/guides/authentication).

## Trying endpoints in the browser

Each endpoint page has a playground that sends real requests **directly from your browser to Digital Surge** — your API key is never routed through a third party. Paste your key into the Bearer token field, or just read the generated `curl`/Python/JavaScript snippets.

<Warning>
  The playground talks to production: write operations (creating swaps, withdrawals, price triggers) use real funds on your real account.
</Warning>

## Machine-readable schema

Building a client or pointing an AI tool at the API? Consume the schema directly:

```text theme={null}
https://app.digitalsurge.com.au/api/schema/            # OpenAPI 3 (YAML)
https://app.digitalsurge.com.au/api/schema/?format=json # OpenAPI 3 (JSON)
```
