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

# Track records

> How a newsletter or fund has performed: profile stats, scored picks, and a benchmark against the S&P 500.

A **profile** is one tracked investor, and the same five surfaces describe
every one of them. A writer's record and a fund manager's record answer the
same questions in the same field names, so a client that reads a fund can read
a source without a second parser.

The keys are shared; some values are not. `side` is `buy`/`sell` on a fund and
`long`/`short` on a source, and `kind` and `ruling` list their values per kind
in [Trades](https://docs.dripstack.com/v2/calls-trades.md#trades). A parser reads the keys once and branches on `kind`.

A track record is not a forecast. Every number here is computed from what was
published or filed; none of it is a recommendation.

## Endpoints

| Route | Answers | Access | Price |
| - | - | - | - |
| `GET /api/v2/sources/{sourceSlug}/profile` | One writer's profile, open positions, asset summary | Personal/Enterprise plan | Included in plan · wallet: \$0.10 flat |
| `GET /api/v2/sources/{sourceSlug}/benchmark` | One writer's score vs SPY bought and held | Personal/Enterprise plan | Included in plan · wallet: \$0.10 flat |
| `GET /api/v2/sources/{sourceSlug}/stock-picks` | One source's analyst record (legacy envelope) | Plan | Included in plan · wallet: \$0.10 flat |
| `GET /api/v2/funds` | Every 13F filer with derived trades and price coverage | Personal/Enterprise plan | Included in plan |
| `GET /api/v2/funds/{slug}` | One fund's profile and holdings | Personal/Enterprise plan | Included in plan · wallet: \$0.10 flat |
| `GET /api/v2/funds/{slug}/benchmark` | A fund's score vs SPY bought and held | Personal/Enterprise plan | Included in plan · wallet: \$0.10 flat |

Wallet twins live under `/api/v2/x402/…` with the same response shape — see [Access & pricing](https://docs.dripstack.com/v2/access.md).

## Two kinds, one vocabulary

| | 13F fund | Media source |
| - | - | - |
| Path | `/api/v2/funds/{slug}` | `/api/v2/sources/{sourceSlug}/profile` |
| What it is | An SEC 13F filer (or a fund group the detector linked) | A newsletter, blog, podcast or channel |
| A "pick" is | A change between filings — open, add, trim, close | A call mention — a quote, a thesis, a stated horizon |
| Holdings are | The chosen quarter's filed book | The lots still open today |
| Benchmark window | Filing-to-filing windows | Calendar months |
| Identity | `profile.platform` is `SEC_13F`, with the filing CIKs | `profile.platform` is the source platform, e.g. `SUBSTACK` |

`kind` says which one you are reading: `"13f"` or `"media"`.

`{slug}` for a fund is a bare CIK (`1067983`) or a name slug whose trailing
digits are the CIK (`berkshire-hathaway-1067983`). A source slug is the
normalized host (`bytesbeyondborders.substack.com`).

## The five endpoints

Every path below exists twice: on the account mount (plan required) and on the
wallet mount under `/api/v2/x402/…` (\$0.10 per call — see
[Access & Pricing](https://docs.dripstack.com/v2/access.md)).

| Endpoint | Funds | Media |
| - | - | - |
| `…` (profile) | `/api/v2/funds/{slug}` | `/api/v2/sources/{sourceSlug}/profile` |
| `…/picks` | `/api/v2/funds/{slug}/picks` | `/api/v2/sources/{sourceSlug}/picks` |
| `…/trades` | `/api/v2/funds/{slug}/trades` | `/api/v2/sources/{sourceSlug}/trades` |
| `…/benchmark` | `/api/v2/funds/{slug}/benchmark` | `/api/v2/sources/{sourceSlug}/benchmark` |
| `…/calls` | — | `/api/v2/sources/{sourceSlug}/calls` |

`…/calls` is media only: a 13F fund has no calls to score.

**Access.** The account mount requires a Personal or Enterprise plan. There is no free
tier and no partial response: no credential, a rejected credential, or a
credential without a plan is `401` and returns no data. The wallet mount charges
**\$0.10 per call** — never per page — and needs no plan: a paying wallet reads
the full response, one payment one call. Account credentials on the wallet mount
are `403 wallet_only`; a plain request is `402` with the dual x402 / MPP
challenge.

**Units.** Every return is a fraction: `0.0521` is 5.21%. Every date is
`YYYY-MM-DD`. Nothing ends in `Pct`. The only dollars in any response are a 13F
filing's as-filed `valueUsd` — never P\&L, peak capital or an account return.
How the numbers are built is in the
[methodology](https://docs.dripstack.com/methodology).

## MCP tools

The same six surfaces are on the hosted MCP server (`/api/mcp`), plan-gated like
the account mount. Each returns exactly the JSON its HTTP twin returns — same
read model, not a second query:

| Tool | HTTP twin |
| - | - |
| `search_profiles` | discovery: funds by name/CIK, sources by name (no twin) |
| `get_profile` | `GET /api/v2/funds/{slug}` or `/sources/{sourceSlug}/profile` |
| `get_profile_picks` | the `/picks` route for the same profile |
| `get_profile_trades` | the `/trades` route for the same profile |
| `get_profile_benchmark` | the `/benchmark` route for the same profile |
| `get_profile_calls` | the `/calls` route (media profiles only) |

Every tool takes one `profile` argument: a bare CIK (`1067983`), a fund slug
whose trailing digits are the CIK (`berkshire-hathaway-1067983`), or a source
slug (`bytesbeyondborders.substack.com`). `search_profiles` is the discovery
entry point — it returns `{ kind, id, name, cik | sourceSlug }` for both kinds.
Funds keep their REST list at `GET /api/v2/funds`; `search_sources` and
`list_sources` still return sources only, unchanged.

## Ranges select, and the benchmark windows

`from` and `to` choose which rows come back, and never re-derive anything:

* Trades are always derived over the whole history, so an add inside the range
  never reads as a new open.
* On `/benchmark` the range windows the **daily series**: it runs from the
  close before `from` to the close on `to`. `twr`, `spyTwr`, `difference`,
  drawdowns, risk and `growth` are rechained from exactly those sessions — a
  trade already open at the start comes in at that close, and back-to-back
  ranges chain to the combined range. `periods` are the rows overlapping the
  range, and `beat`/`compared` are counted over those rows. `benchmark.from` /
  `benchmark.to` echo the request.
* On `/picks` and `/trades` the range only selects which rows come back.

`limit` is capped at 100 for paged reads, with `total` beside it. Page size is
never a price: one call is one charge.

## `opinions=include|exclude` (media)

Every mention carries a sentiment, and some mentions are views that make no
trade. `opinions=exclude` is the site's **"Direct trades only"** toggle: own
trades and explicit calls to trade, dropping the views. The default is
`include`. It is available on `/profile`, `/picks`, `/trades` and `/benchmark`;
on the benchmark it rescores the record without the opinion-only calls.

## Stock picks returns the same stats

`GET /api/v2/sources/{sourceSlug}/stock-picks` (and its
`/api/v2/publications/{slug}/stock-picks` predecessor) still answers, and its
`stats` are now the shared engine summary — the same `trades`,
`avgReturnPerTrade`, `winRate`, `winRateClosed` and `unpricedCalls` as
`/profile`. There is one win rate definition and no `Pct` field anywhere; the
legacy `extras` block was removed.

## Profile

`GET /api/v2/funds/{slug}` and `GET /api/v2/sources/{sourceSlug}/profile`.

```bash theme={null}
curl "https://dripstack.com/api/v2/funds/berkshire-hathaway-1067983?quarter=2026-06-30" \
  -H "Authorization: Bearer pk_drip_..."
```

```json theme={null}
{
  "kind": "13f",
  "asOf": "2026-11-17",
  "profile": {
    "name": "Berkshire Hathaway Inc",
    "platform": "SEC_13F",
    "filers": [{ "cik": "0001067983", "name": "Berkshire Hathaway Inc" }],
    "filings": 12,
    "quarters": ["2026-03-31", "2026-06-30"]
  },
  "stats": {
    "trades": 57,
    "avgReturnPerTrade": -0.1549,
    "winRate": 0.3333,
    "winRateClosed": 0.3333,
    "unpricedCalls": 3
  },
  "holdings": {
    "quarter": "2026-06-30",
    "filedDate": "2026-08-14",
    "positions": 41,
    "valueUsd": 258000000000,
    "rows": [
      {
        "ticker": "AAPL",
        "name": "Apple Inc",
        "shares": 300000000,
        "valueUsd": 61000000000,
        "weight": 0.2364,
        "change": { "kind": "trim", "shares": -20000000, "fraction": -0.0625 }
      }
    ]
  },
  "assets": [
    {
      "ticker": "AAPL",
      "name": "Apple Inc",
      "picks": 4,
      "bullish": 1,
      "bearish": 3,
      "neutral": 0,
      "firstPick": "2025-11-14",
      "lastPick": "2026-08-14"
    }
  ]
}
```

`quarter` picks the holdings quarter (`YYYY-MM-DD`), defaulting to the latest. A
media profile answers with `kind: "media"`, a `profile` block carrying the
record's `from`/`to` span and its `posts` / `picks` / `opinions` counts, and
`holdings` as open lots. The media route also takes `opinions` (default
`include`): with `opinions=exclude` the `stats`, the `holdings` and the `assets`
summary all come from the explicit-only record, so the open lots match
`/trades?opinions=exclude&status=open`.

```bash theme={null}
curl "https://dripstack.com/api/v2/sources/bytesbeyondborders.substack.com/profile" \
  -H "Authorization: Bearer pk_drip_..."
```

```json theme={null}
{
  "kind": "media",
  "asOf": "2026-11-18",
  "computedAt": "2026-11-18T14:03:22.000Z",
  "snapshot": "b7f4c2e19a0d5f83",
  "profile": {
    "name": "Bytes Beyond Borders",
    "platform": "SUBSTACK",
    "imageUrl": null,
    "siteUrl": "https://bytesbeyondborders.substack.com",
    "from": "2026-05-15",
    "to": "2026-11-17",
    "posts": 18,
    "picks": 34,
    "opinions": 9
  },
  "stats": {
    "trades": 12,
    "avgReturnPerTrade": 0.0841,
    "winRate": 0.5833,
    "winRateClosed": 0.6,
    "unpricedCalls": 1
  },
  "holdings": [
    {
      "lotId": "clx0callid0001/long",
      "pickId": "clx0callid0001",
      "ticker": "NVDA",
      "name": "NVIDIA Corp",
      "side": "long",
      "since": "2026-08-18",
      "entryPrice": 174.2,
      "markDate": "2026-11-17",
      "markPrice": 186.4,
      "openFraction": 1,
      "return": 0.07,
      "expires": "2028-08-18"
    }
  ],
  "assets": [
    {
      "ticker": "NVDA",
      "name": "NVIDIA Corp",
      "picks": 3,
      "bullish": 2,
      "bearish": 1,
      "neutral": 0,
      "firstPick": "2026-05-15",
      "lastPick": "2026-08-14"
    }
  ]
}
```

Each holding carries its `lotId` (stable across re-derivations), the `pickId`
that opened it, and the prices behind `return`: `entryPrice` at the fill and
`markPrice` at the latest close (`markDate`). Returns are fractions and
reproduce exactly — `return = (markPrice − entryPrice) / entryPrice` for a long,
flipped for a short. `markPrice: null` means no mark, so `return` is `null` too.
Two same-day lots are two rows, distinguished by `lotId`.

## Benchmark

`GET /api/v2/funds/{slug}/benchmark` and
`GET /api/v2/sources/{sourceSlug}/benchmark`. Query: `from`, `to`.

The score is time-weighted: the profile's daily series against **SPY bought
once at the profile's start and held** over the same days. `difference` is the
copy-trade answer.

```bash theme={null}
curl "https://dripstack.com/api/v2/funds/berkshire-hathaway-1067983/benchmark?from=2026-01-01" \
  -H "Authorization: Bearer pk_drip_..."
```

```json theme={null}
{
  "kind": "13f",
  "asOf": "2026-11-17",
  "benchmark": {
    "from": "2026-01-01",
    "to": "2026-11-17",
    "twr": 0.1832,
    "spyTwr": 0.0941,
    "difference": 0.0891,
    "beat": 2,
    "compared": 3,
    "sharpe": 1.14,
    "spySharpe": 0.92,
    "volatility": 0.281,
    "spyVolatility": 0.174,
    "alpha": 0.041,
    "beta": 0.87,
    "maxDrawdown": -0.112,
    "spyMaxDrawdown": -0.074,
    "investedShare": 0.87,
    "riskStatus": "provisional",
    "months": 11,
    "periods": [
      {
        "from": "2026-08-17",
        "to": "2026-11-17",
        "ongoing": true,
        "return": 0.0421,
        "spyReturn": 0.0188,
        "difference": 0.0233,
        "priced": 0.96,
        "partial": true
      }
    ],
    "growth": [
      { "date": "2026-11-16", "value": 1.031, "spyValue": 1.011 },
      { "date": "2026-11-17", "value": 1.042, "spyValue": 1.019 }
    ]
  }
}
```

* `riskStatus` is the risk maturity band: `insufficient` under 6 months,
  `provisional` to 35, `standard` at 36+. `months` is the month count behind it.
* `sharpe` and `volatility` score the profile's own daily line; `spySharpe` and
  `spyVolatility` are SPY's, computed the same way over the same days.
* `growth` is the trailing-3-month chart as levels rebased to `1` at the window
  start, not percentages.
* `investedShare` is the share of scored sessions with capital deployed — a
  record that is flat between trades reads below `1` even when its TWR is
  positive.
* Each period row carries `priced` (the share of the window's trades the engine
  could price, `1` when it covered none) and `partial`: coverage below complete.
  A 13F window is partial when some of its trades could not be priced; a media
  month is partial when it mixes trades already closed with ones still open.
* 13F periods are filing-to-filing windows; media periods are calendar months.

## Coverage honesty

The pipeline resolves prices in the background, so a record is only as complete
as its priced legs, and the API says so instead of dropping the gap:

* `stats.unpricedCalls` — trades that never resolved a price. Counted, never
  scored as 0%.
* `ruling` on a trade event — `unpriced`, `held_out`, `not_reported`, or
  `counted`.
* `pricingStatus` on an unpriced trade event — `pending` (the background filler
  may still resolve it) or `unresolvable` (it never will).
* `computedAt` on `/profile` and `/trades` — when that derivation ran. Pricing
  resolves between reads, so an `unpriced` event can become `counted` later;
  compare `computedAt` when two responses disagree.
* `snapshot` on `/profile` and `/trades` — the derivation's content identity.
  Equal `snapshot` (even from different servers) means one shared calculation;
  `/trades` accepts it as a `snapshot` query parameter to hold one snapshot
  across pages (`409 snapshot_conflict` when the content changed).
* A 13F profile's holdings only cover the quarter asked for; the picked quarter
  is always echoed back as `holdings.quarter`.

The website shows the same gaps in its counters caption. If a number looks thin,
check the coverage fields before reading it as performance.

## Per analyst

The unit today is a **source profile**. An analyst who publishes in two places
is two profiles — there is no cross-source analyst view endpoint, and the two
records are not merged. To find a writer, search the curated catalog by name:

```bash theme={null}
curl "https://dripstack.com/api/v2/sources/search?q=doomberg" \
  -H "Authorization: Bearer pk_drip_..."
```

Search matches slug, title, **author name**, podcast show, newsletter, and site
URL across the curated catalog, and returns up to 3 matches with `sourceSlug`.
Feed that slug into `GET /api/v2/sources/{sourceSlug}/profile`. A non-curated
source still answers on its own slug if you already know it, it just will not
appear in search.

## 13F funds

A 13F filing is a **snapshot**, not a transaction: each quarter a fund reports
what it held, not what it bought. Drip diffs consecutive filings, so one stock's
change in one quarter becomes one trade, and a buy plus its later sale becomes a
round trip with a return. Every trade is priced at its own fill, and the whole
ledger is measured against **SPY bought once and held** over the same days.

Numbers are fractions, never dollars — no P\&L, no peak capital, no account
return, on the API or the page.

| Route | Access |
| - | - |
| `GET /api/v2/funds` | Personal/Enterprise plan (`401` otherwise, no data) |
| `GET /api/v2/funds/{slug}` | Personal/Enterprise plan (`401` otherwise, no data) |
| `GET /api/v2/funds/{slug}/picks` | Personal/Enterprise plan — see [Track records](https://docs.dripstack.com/v2/track-records.md) |
| `GET /api/v2/funds/{slug}/trades` | Personal/Enterprise plan — see [Track records](https://docs.dripstack.com/v2/track-records.md) |
| `GET /api/v2/funds/{slug}/benchmark` | Personal/Enterprise plan — see [Track records](https://docs.dripstack.com/v2/track-records.md) |

There is no free tier and no partial response on the account mount: no
credential, a rejected credential, or a credential without a plan is `401` and
returns no data. There is no per-call price either — the plan is the only door.
The wallet twins under `/api/v2/x402/funds/…` are the pay-per-call surface:
**\$0.10 per call, never per page**.

The profile, picks, trades and benchmark shapes are documented once, for both
funds and media sources, in [Track records](https://docs.dripstack.com/v2/track-records.md).

### Coverage comes with the data

Fills are resolved by a background pipeline, so a fund's numbers are only as
complete as its priced legs. Every profile says so in `coverage`:

* `unpriced` — legs waiting on a price fill
* `heldOut` — fund-group book moves, not trades
* `notReported` — legs that asserted nothing new
* `unbenchmarked` — slices whose SPY leg never resolved
* `unpricedTickers` — the symbols behind `unpriced`

An unscoreable trade stays visible with `stats.unpricedCalls` counting it, never
scored as 0%.

### `GET /api/v2/funds`

Every fund scope the derivation has reached, biggest book first.

```bash theme={null}
curl "https://dripstack.com/api/v2/funds?limit=20&q=berkshire" \
  -H "Authorization: Bearer pk_drip_..."
```

Query parameters:

* `q` (optional): fund name or CIK fragment
* `limit` (optional): 1-100, defaults to 50
* `offset` (optional): rows to skip; `total` says how many matched

```json theme={null}
{
  "tier": "PRO",
  "total": 9221,
  "limit": 1,
  "offset": 0,
  "funds": [
    {
      "cik": "0001067983",
      "ciks": ["0001067983"],
      "name": "Berkshire Hathaway Inc",
      "scope": "CIK",
      "legs": 115,
      "priced": 115,
      "pricedPct": 1,
      "firstTradeDate": "2026-02-17",
      "lastTradeDate": "2026-08-14"
    }
  ]
}
```

### `GET /api/v2/funds/{slug}`

One fund's profile: identity (`profile`), the shared `stats`, the chosen
quarter's `holdings` with each row's change, and one `assets` summary row per
ticker. `{slug}` is a bare CIK (`1067983`) or a name slug ending in the CIK
(`berkshire-hathaway-1067983`).

```bash theme={null}
curl "https://dripstack.com/api/v2/funds/berkshire-hathaway-1067983?quarter=2026-06-30" \
  -H "Authorization: Bearer pk_drip_..."
```

The full shape, plus `/picks`, `/trades` and `/benchmark`, lives in
[Track records](https://docs.dripstack.com/v2/track-records.md) — one document for both profile kinds.

### Without a plan

There is no preview. The account mount answers `401` with no data when the
credential is missing, rejected, or has no Personal/Enterprise plan — the preview payload
these routes used to serve is gone. Withheld numbers were never fabricated, and
now there is nothing withheld: either the plan reads the record or the call does
not happen.

For a one-off read without a plan, pay per call on the wallet twins
(`/api/v2/x402/funds/{cik}`, `/picks`, `/trades`, `/benchmark`) — see
[Access & Pricing](https://docs.dripstack.com/v2/access.md).

## `GET /api/v2/sources/{sourceSlug}/stock-picks` (paid)

The source's analyst profile: the shared engine `stats` (`trades`,
`avgReturnPerTrade`, `winRate`, `winRateClosed`, `unpricedCalls` — the same
numbers as `/profile`), the per-author split, the top picks, and the latest
calls. The legacy `extras` block (`avgReturnPct`, `simulationReturnPct`,
`benchmarkReturnPct`, `alphaPct`) was removed — every return is now a fraction
and there is no second win rate.

```bash theme={null}
curl -H "Authorization: Bearer pk_drip_..." \
  "https://dripstack.com/api/v2/sources/bytesbeyondborders.substack.com/stock-picks"
```

* **Personal/Enterprise** subscribers are served **free**.
* Everyone else pays one flat price per call via x402 or MPP.
* The body uses a `source` block where V1 used `publication`.

**Superseded for stats.** `/stock-picks` is the older envelope (a `source` block
around the whole record, `preview`-era fields, credits on top of the plan). The
[investor-profile endpoints](https://docs.dripstack.com/v2/track-records.md) carry the same stats and benchmark on
the vocabulary every profile shares with 13F funds:

| Endpoint | What it answers |
| - | - |
| `GET /api/v2/sources/{sourceSlug}/profile` | identity, the shared `stats`, positions open today |
| `GET /api/v2/sources/{sourceSlug}/picks` | every call mention, filtered by day or ticker |
| `GET /api/v2/sources/{sourceSlug}/trades` | every call the engine ruled, with the lot it opened |
| `GET /api/v2/sources/{sourceSlug}/benchmark` | the score against SPY bought once and held |

Those four require a plan and send no data without one (`401`). The wallet twins
(`/api/v2/x402/sources/{sourceSlug}/profile`, `/picks`, `/benchmark`) charge
\$0.10 per call. See [Track records](https://docs.dripstack.com/v2/track-records.md) for the fields, the fill
rule, and what `opinions=exclude` does.

For per-ticker analyst calls rather than a per-source profile, use
[Stock Picks](https://docs.dripstack.com/v2/calls-trades.md).

## Analyst lookup

There is no analyst endpoint: the unit is a source, and one analyst publishing
in two places is two profiles. Use source search, which matches the stored
author name:

```bash theme={null}
curl "https://dripstack.com/api/v2/sources/search?q=doomberg" \
  -H "Authorization: Bearer pk_drip_..."
# -> { "query": "doomberg", "count": 1,
#      "items": [ { "sourceSlug": "doomberg", "title": "Doomberg", "author": "Doomberg", ... } ] }

curl "https://dripstack.com/api/v2/sources/doomberg/profile" \
  -H "Authorization: Bearer pk_drip_..."
```

`q` matches slug, title, **author name**, podcast show, newsletter, and site URL
(minimum 2 characters) across the curated catalog, returning up to 3 matches. A
non-curated source still answers on its own slug; it just will not appear in
search. A profile's `stats` plus its `benchmark` are the performance surface
there is — see [Track records](https://docs.dripstack.com/v2/track-records.md).

## Errors

| Status | Meaning |
| - | - |
| `400` | Invalid query parameters (bad day, `limit` above 100, unknown `status`) |
| `401` | Account mount: missing/rejected credential, or no Personal/Enterprise plan — no data |
| `402` | Wallet mount: payment required (dual x402 / MPP challenge) |
| `403` | Wrong mount: `wallet_only` on `/api/v2/x402/…`, `account_only` on `/api/v2/…` |
| `404` | The fund or source is not in the derived corpus |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.