API overview
Reach your Degen & Friends prop accounts from your own scripts and tools: read your figures, log days and payouts, and manage your accounts.
The Degen & Friends API lets your own scripts and tools work with the prop accounts you track on the site: your combines, challenges and funded accounts, their logged days and payouts, and the figures worked out from them.
With it you can, for example:
- pull your balances, P&L, drawdown and equity curve into a spreadsheet or dashboard;
- log each day's closing balance automatically from your trading platform's export;
- record payouts, archive old accounts and switch what your public profile shows.
Everything the API does, you can also do on the site at Prop accounts. The API only ever reaches your own accounts.
Quick start
- Sign in and open API keys in the menu (under Settings).
- Create a key. Pick Read-only to look, or Read & write to make changes too. Copy the key: it is shown once.
- Call the API with the key in the
Authorizationheader:
curl https://degenandfriends.com/api/v1/accounts \ -H "Authorization: Bearer dfk_your_key_here"
You get your live accounts back:
{
"accounts": [
{
"id": "8a432717-ea69-4f9f-98a7-130d6b54203d",
"label": "TPT 50K combine",
"firm": { "id": "3f0c…", "name": "Take Profit Trader", "approved": true },
"stage": "evaluation",
"status": "active",
"account_size": 50000,
"figures": { "balance": 51450.5, "pnl": 1450.5, "pnl_pct": 2.9, "…": "…" }
}
]
}
The basics
- Base URL:
https://degenandfriends.com/api/v1 - Format: JSON in, JSON out. Send
Content-Type: application/jsonwith a body. - Money is in US dollars, as numbers with at most two decimals (
50250.75). - Dates are
YYYY-MM-DD, in your own time zone: a trading day is the day you traded, as you'd write it. - Times (
archived_at,created_at) are ISO 8601 in UTC (2026-12-15T18:02:11.482+00:00). - Ids are UUIDs.
- Field names are
snake_case. - Nothing is cached: every response is fresh.
Endpoints
GET /me: whose key this is, and what it may do.GET /firms: our approved prop firms.GET /accounts,POST /accounts: list your accounts, add one.GET /accounts/{id},PATCH /accounts/{id}: read one, change it, share it, archive or restore it.GET /accounts/{id}/days,PUT /accounts/{id}/days/{date},DELETE /accounts/{id}/days/{date}: trading days.GET /accounts/{id}/payouts,POST /accounts/{id}/payouts,DELETE /accounts/{id}/payouts/{payout_id}: payouts.
Read on: Keys and authentication, Accounts, Trading days, Payouts, Firms and your key, Errors and limits.
Self-reported
The numbers are yours: prop firms don't offer an API we could check them against. Anything you share on your public profile is labelled "self-reported".