Skip to main content
POST
Portfolio return attribution

Authorizations

x-api-key
string
header
required

Query Parameters

response_mode
enum<string>
default:compact

Response projection. compact is token-efficient for agents; standard returns the full operational shape; verbose preserves full trust metadata and drill-down context.

Available options:
compact,
standard,
verbose
include
string

Comma-separated compact-mode expansions such as trust, metadata, series, diagnostics, exposures, position_views, position_exposures, optimizer_candidates, or drilldown. Use trust when an agent or report needs provenance, freshness, source-rights, methodology, revision, and degraded-state metadata; use diagnostics for regression details such as rSquared and tStat where supported.

Body

application/json
holdings
object[]
required
Required array length: 1 - 250 elements
country
string
default:US
Required string length: 2 - 12
lookback
string
Required string length: 2 - 12
window
string
Required string length: 2 - 12
frequency
enum<string>
default:daily
Available options:
daily,
weekly,
monthly,
quarterly,
annual
exportFormat
enum<string>
default:json
Available options:
json,
csv,
both
category
string
Required string length: 2 - 32
keys
string[]
mode
enum<string>
default:factor
Available options:
factor,
brinson
benchmark
enum<string>
Available options:
SPY,
ACWX,
QQQ,
IWM,
SIXTY_FORTY
benchmarkSectors
object[]
Maximum array length: 24

Response

Successful response

object
enum<string>
required
Available options:
portfolio_attribution
id
string
required
analysisId
string
required
asOf
string<date-time>
required
country
string
required
window
string
required
lookback
string
required
frequency
enum<string>
required
Available options:
daily,
weekly,
monthly,
quarterly,
annual
holdings
object[]
required
portfolioReturn
number | null
required
totalExplained
number
required
alpha
number | null
required
rSquared
number | null
required
contributions
object[]
required
exposures
object[]
required
export
object
required
summaryMd
string
required
dataAsOf
string
freshnessStatus
enum<string>
Available options:
fresh,
stale,
degraded,
unknown
methodologyVersion
string
materializationVersion
string
responseMode
enum<string>

Projection used for this resource. compact is token-efficient for agents; standard and verbose retain fuller operational context.

Available options:
compact,
standard,
verbose
returnStream
object[]
returnPointCount
integer
Required range: x >= 0
returnStreamSample
object[]
rollingBetas
object[]
rollingBetaCount
integer
Required range: x >= 0
rollingBetasUnavailableReason
string | null
disclosures
string[]

Short product/legal disclosures for research-scenario outputs.

provenance
object
freshness
object

Freshness of the record. For SEC filings, freshness measures the delay between SEC acceptance (sourcePublishedAt) and when the record became available in the API — not the age of the document. Statuses: current (recently published and available promptly), archival (an immutable historical document held in full; its availability delay is not a freshness signal), degraded/stale (a recently published filing that became available later than the freshness thresholds allow), fresh (continuously refreshed datasets recently observed at source), unknown (no timestamps). An old immutable filing is never stale simply because it was published long ago. lagMs is the publish-to-availability delay in milliseconds.

materialization
object
sourceRights
object
methodology
object
revision
object
degradedState
object | null
requestId
string
traceparent
string