side is buy/sell on a fund and
long/short on a source, and kind and ruling list their values per kind
in 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
Wallet twins live under
/api/v2/x402/… with the same response shape — see Access & pricing.
Two kinds, one vocabulary
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).
…/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.
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:
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
/benchmarkthe range windows the daily series: it runs from the close beforefromto the close onto.twr,spyTwr,difference, drawdowns, risk andgrowthare 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.periodsare the rows overlapping the range, andbeat/comparedare counted over those rows.benchmark.from/benchmark.toecho the request. - On
/picksand/tradesthe 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.
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.
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.
riskStatusis the risk maturity band:insufficientunder 6 months,provisionalto 35,standardat 36+.monthsis the month count behind it.sharpeandvolatilityscore the profile’s own daily line;spySharpeandspyVolatilityare SPY’s, computed the same way over the same days.growthis the trailing-3-month chart as levels rebased to1at the window start, not percentages.investedShareis the share of scored sessions with capital deployed — a record that is flat between trades reads below1even when its TWR is positive.- Each period row carries
priced(the share of the window’s trades the engine could price,1when it covered none) andpartial: 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%.rulingon a trade event —unpriced,held_out,not_reported, orcounted.pricingStatuson an unpriced trade event —pending(the background filler may still resolve it) orunresolvable(it never will).computedAton/profileand/trades— when that derivation ran. Pricing resolves between reads, so anunpricedevent can becomecountedlater; comparecomputedAtwhen two responses disagree.snapshoton/profileand/trades— the derivation’s content identity. Equalsnapshot(even from different servers) means one shared calculation;/tradesaccepts it as asnapshotquery parameter to hold one snapshot across pages (409 snapshot_conflictwhen the content changed).- A 13F profile’s holdings only cover the quarter asked for; the picked quarter
is always echoed back as
holdings.quarter.
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: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.
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.
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 incoverage:
unpriced— legs waiting on a price fillheldOut— fund-group book moves, not tradesnotReported— legs that asserted nothing newunbenchmarked— slices whose SPY leg never resolvedunpricedTickers— the symbols behindunpriced
stats.unpricedCalls counting it, never
scored as 0%.
GET /api/v2/funds
Every fund scope the derivation has reached, biggest book first.
q(optional): fund name or CIK fragmentlimit(optional): 1-100, defaults to 50offset(optional): rows to skip;totalsays how many matched
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).
/picks, /trades and /benchmark, lives in
Track records — one document for both profile kinds.
Without a plan
There is no preview. The account mount answers401 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.
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.
- Personal/Enterprise subscribers are served free.
- Everyone else pays one flat price per call via x402 or MPP.
- The body uses a
sourceblock where V1 usedpublication.
/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 carry the same stats and benchmark on
the vocabulary every profile shares with 13F funds:
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 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.
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: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.

