Overview
The Deltalytix Public API lets you read and write trading data, manage broker connections, import files, and compute performance metrics programmatically. It is designed for personal scripts, third-party integrations, and first-party OAuth apps.
Base URL
All REST endpoints are served from:
https://www.deltalytix.appExamples in this documentation use that host. Relative paths such as /api/v1/trades are always rooted at the same origin.
Versioning
The current stable surface is API v1, mounted under /api/v1/*. Breaking changes ship under a new major version path. Additive fields may appear within v1 without a version bump.
Machine-readable discovery:
- OpenAPI 3.1:
/openapi.json - OAuth metadata:
/.well-known/openid-configuration - Protected resource metadata:
/.well-known/oauth-protected-resource
What you can do
| Area | Capabilities |
|---|---|
| Profile | Read the authenticated user (GET /api/v1/me) |
| Trades | List and create trades |
| Accounts | List accounts, optionally with performance metrics |
| Connections | List connections, create IBKR Flex connections, trigger sync |
| Imports | Upload CSV/XLSX files with AI or platform-specific parsers |
| Metrics | Summary statistics, equity curves, per-account metrics |
Authentication
Every /api/v1/* request requires a Bearer token:
Authorization: Bearer dltx_at_…Tokens are either:
- OAuth access tokens from the authorization code flow (
dltx_at_…) - Personal access tokens created in the dashboard (
dltx_pat_…)
See Authentication for scopes, OAuth, and PATs.
Shared conventions
Pagination
List endpoints accept:
| Parameter | Default | Max | Description |
|---|---|---|---|
limit | 100 | 500 | Page size |
cursor | — | — | Opaque cursor from a previous response |
Responses use:
{
"data": [],
"nextCursor": null
}When nextCursor is a string, pass it as cursor on the next request. When it is null, you have reached the last page.
Dates
Timestamps and date filters are ISO 8601 strings (for example 2026-03-15T14:30:00.000Z).
Errors
Failed requests return:
{
"error": "machine_code",
"message": "Human-readable explanation",
"details": {}
}See Errors for status codes and OAuth-specific error shapes.
Quick start
curl https://www.deltalytix.app/api/v1/me \
-H "Authorization: Bearer dltx_pat_YOUR_TOKEN"const res = await fetch("https://www.deltalytix.app/api/v1/me", {
headers: {
Authorization: "Bearer dltx_pat_YOUR_TOKEN",
},
});
const me = await res.json();Next: Authentication.