- Historical Replay
- Replay Setup
- Pack Manifest
Historical Research Pack Manifest API
Fetch one pack's manifest by ID. The manifest is the pack's source of truth: it fixes the study period, the publication, definition-freeze and data-cutoff timestamps, the source-code hashes, the results summary, the stated limitations and the SHA-256 and byte length of every downloadable artifact. Background: research packs.
Endpoint
historical.flashalpha.com
Auth required (X-Api-Key)
Rate Limited: Yes
Plan: Alpha+
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
packId | path | string | required | - | Pack ID from the catalog, e.g. income-spy-qqq-2024-2025-v1-db139753fe8b |
at | query | datetime | - | ET wall-clock instant; the pack is returned only if it was available then. Invalid values return 400 invalid_at. |
Request
curl -H "X-Api-Key: YOUR_API_KEY" \
"https://historical.flashalpha.com/v1/research/packs/income-spy-qqq-2024-2025-v1-db139753fe8b"import requests
PACK = "income-spy-qqq-2024-2025-v1-db139753fe8b"
resp = requests.get(
f"https://historical.flashalpha.com/v1/research/packs/{PACK}",
headers={"X-Api-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
m = resp.json()
print(m["status"], m["published_at_utc"], m["data_cutoff_utc"])
for a in m["artifacts"]:
print(a["name"], a["media_type"], a["bytes"], a["sha256"])const resp = await fetch(
"https://historical.flashalpha.com/v1/research/packs/income-spy-qqq-2024-2025-v1-db139753fe8b",
{ headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();
console.log(data.status, data.published_at_utc, data.data_cutoff_utc);
for (const a of data.artifacts) console.log(a.name, a.media_type, a.bytes, a.sha256);Try it live
Replays archived data as of the at time you pick (ET wall-clock). Needs an Alpha plan API key.
Response
{
"schema_version": 1,
"pack_id": "income-spy-qqq-2024-2025-v1-db139753fe8b",
"research_type": "income_strategy_backtest",
"status": "retrospective_pilot_partial_history_coverage",
"evidence_mode": "retrospective_model_simulation",
"published_at_utc": "2026-10-16T09:23:45.160415Z",
"definition_frozen_at_utc": "2026-10-16T08:27:23.633272+00:00",
"data_cutoff_utc": "2025-12-31T21:00:00Z",
"symbols": [
"SPY",
"QQQ"
],
"strategies": [
"covered_call",
"cash_secured_put"
],
"strategy_version": "income-monthly-v1",
"applicability": "strategy_family_research_not_a_backtest_of_this_candidate",
"period_start": "2024-01-02",
"period_end": "2025-12-31",
"summary": [
{
"symbol": "SPY",
"strategy": "covered_call",
"evaluation_window": "full_2024_2025",
"status": "complete_model_simulation",
"metrics": {
"initial_equity_usd": 100000,
"final_equity_usd": 121504.7,
"net_pnl_usd": 21504.7,
"total_return_pct": 21.5047,
"annualized_return_pct": 10.2365,
"max_drawdown_pct": -6.9517,
"sharpe_zero_rf": 1.5294,
"worst_5pct_mean_daily_return_pct": -1.0143,
"closed_trades": 24,
"winning_trades": 18,
"profitable_trade_fraction": 0.75,
"assignment_events": 0,
"quote_mark_sessions": 502,
"fees_usd": 48,
"slippage_usd": 96
},
"coverage": {
"expected_sessions": 502,
"marked_sessions": 502,
"scheduled_entries": 24,
"entered_trades": 24,
"skipped_entries": [],
"failure": null
}
},
{
"symbol": "SPY",
"strategy": "cash_secured_put",
"evaluation_window": "full_2024_2025",
"status": "complete_model_simulation",
"metrics": {
"initial_equity_usd": 100000,
"final_equity_usd": 107037,
"net_pnl_usd": 7037,
"total_return_pct": 7.037,
"annualized_return_pct": 3.4611,
"max_drawdown_pct": -4.3183,
"sharpe_zero_rf": 0.811775,
"worst_5pct_mean_daily_return_pct": -0.604564,
"closed_trades": 24,
"winning_trades": 21,
"profitable_trade_fraction": 0.875,
"assignment_events": 0,
"quote_mark_sessions": 502,
"fees_usd": 48,
"slippage_usd": 48
},
"coverage": {
"expected_sessions": 502,
"marked_sessions": 502,
"scheduled_entries": 24,
"entered_trades": 24,
"skipped_entries": [],
"failure": null
}
}
],
"source_fingerprint": "db139753fe8b5952b4e1f6435164a36276311f0bfb5913ba451976737aff204e",
"source_code_sha256": {
"research/audit_income_pack.py": "9dc9a1354d4afbbbd22f632a808f75e8a1f009dccd17f2bb848e9646fafcd054",
"research/income_pilot.py": "61c22603f9aee6412d2bb213cab0686d18620882bb8b1759ffcea20438cfad13",
"research/publish_income_pack.py": "ea729704e494f8131c678b881ddaa8795d51bae6b2acd587a4298fddfbde6efb",
"research/test_income_pilot.py": "c6c1a4aa57357f55ec11a465349e4ee4e27fe501c2c3a81951c08966ba9ba8d4"
},
"limitations": [
"QQQ 2024 held-contract quote gaps withhold full-period/development performance",
"Retrospective chronological holdout; not prospective validation",
"Quoted bid/ask and size do not establish executable fills"
],
"artifacts": [
{
"name": "accounting-audit.json",
"media_type": "application/json",
"sha256": "9b97c662a2845619075b0611aab4bd728eba61b1676d30210549ca407e264aea",
"bytes": 27854
},
{
"name": "benchmark-curves.csv",
"media_type": "text/csv",
"sha256": "d8e75f79bd41c9046d3accb67957df9ba170e91eadb33e28432f5a7c9023175e",
"bytes": 88053
}
],
"endpoint_version": "2026.09.30",
"data_as_of": {
"node": "f3",
"equity_feed": null,
"equity_options_feed": null,
"index_feed": null,
"index_options_feed": null,
"futures_feed": null,
"futures_options_feed": null,
"flow_feed": null,
"oi_feed": null,
"macro_feed": null
},
"archive_as_of": {
"node": "f3",
"equity_feed": null,
"equity_options_feed": null,
"index_feed": null,
"index_options_feed": null,
"futures_feed": null,
"futures_options_feed": null,
"flow_feed": null,
"oi_feed": null,
"macro_feed": null
}
}Sending request…
See this endpoint on archived data
Send this exact request and the real response shows up here, right next to the example.
Response Fields
| Field | Type | Description |
|---|---|---|
pack_id | string | Name, version and the first 12 hex characters of source_fingerprint; any change to rules, inputs or code produces a new ID |
status | string | Coverage of the study; this pilot is partial because QQQ runs spanning 2024 are withheld |
published_at_utc, definition_frozen_at_utc, data_cutoff_utc | string | The three times an at request is checked against |
summary[] | array | Per symbol, strategy and evaluation window: completion status and metrics (equity, returns, drawdown, trades) |
limitations[] | array | What the study does not establish; read these before citing a result |
artifacts[] | array | name, media_type, sha256 and bytes for each file the artifact route serves |
source_code_sha256 | object | Hash of every research script that produced the pack |
schema_version | number | Schema version |
research_type | string | Research type |
evidence_mode | string | Evidence mode |
symbols | array of string | Symbols |
strategies | array of string | Strategies |
strategy_version | string | Strategy version |
applicability | string | Applicability |
period_start | string | Period start |
period_end | string | Period end |
source_fingerprint | string | Source fingerprint |
source_code_sha256.research/audit_income_pack.py | string | Research/audit income pack: py |
source_code_sha256.research/income_pilot.py | string | Research/income pilot: py |
source_code_sha256.research/publish_income_pack.py | string | Research/publish income pack: py |
source_code_sha256.research/test_income_pilot.py | string | Research/test income pilot: py |
artifacts[].name | string | Artifacts: name |
artifacts[].media_type | string | Artifacts: media type |
artifacts[].sha256 | string | Artifacts: sha256 |
artifacts[].bytes | number | Artifacts: bytes |
endpoint_version, data_as_of, archive_as_of | string, object | Response envelope, see Response envelope. |
Fields of summary[]
| Field | Type | Description |
|---|---|---|
summary[].symbol | string | Underlying symbol |
summary[].strategy | string | Summary: strategy |
summary[].evaluation_window | string | Summary: evaluation window |
summary[].metrics | object | null | Summary: metrics |
summary[].metrics.initial_equity_usd | number | Metrics: initial equity (USD) |
summary[].metrics.final_equity_usd | number | Metrics: final equity (USD) |
summary[].metrics.net_pnl_usd | number | Metrics: net pnl (USD) |
summary[].metrics.total_return_pct | number | Metrics: total return (%) |
summary[].metrics.annualized_return_pct | number | Metrics: annualized return (%) |
summary[].metrics.max_drawdown_pct | number | Metrics: max drawdown (%) |
summary[].metrics.sharpe_zero_rf | number | Metrics: sharpe zero rf |
summary[].metrics.worst_5pct_mean_daily_return_pct | number | Metrics: worst 5pct mean daily return (%) |
summary[].metrics.closed_trades | number | Metrics: closed trades |
summary[].metrics.winning_trades | number | Metrics: winning trades |
summary[].metrics.profitable_trade_fraction | number | Metrics: profitable trade fraction |
summary[].metrics.assignment_events | number | Metrics: assignment events |
summary[].metrics.quote_mark_sessions | number | Metrics: quote mark sessions |
summary[].metrics.fees_usd | number | Metrics: fees (USD) |
summary[].metrics.slippage_usd | number | Metrics: slippage (USD) |
summary[].coverage | object | Summary: coverage |
summary[].coverage.expected_sessions | number | Coverage: expected sessions |
summary[].coverage.marked_sessions | number | Coverage: marked sessions |
summary[].coverage.scheduled_entries | number | Coverage: scheduled entries |
summary[].coverage.entered_trades | number | Coverage: entered trades |
summary[].coverage.skipped_entries | array | Coverage: skipped entries |
summary[].coverage.failure | object | null | Coverage: failure |
summary[].coverage.failure.date | string | Failure: date |
summary[].coverage.failure.reason | string | Failure: reason |
summary[].coverage.failure.contract | string | Failure: contract |
summary[].status | string | Coverage of the study; this pilot is partial because QQQ runs spanning 2024 are withheld |
Errors
| Status | Error | When |
|---|---|---|
400 | invalid_research_pack_id | The ID contains characters outside the allowed set. |
400 | invalid_at | at is not yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss (ET). |
400 | - | A query value has the wrong type, or a required value is missing. The body is an RFC 7807 problem-details object with errors.<param>. |
401 | - | Missing or invalid X-Api-Key. The body is empty; check the status code before parsing JSON. |
403 | tier_restricted | Your plan is below Alpha. The body includes current_plan and required_plan. |
404 | research_pack_not_available | No pack with this ID, or it was not yet available at at. |
429 | Quota exceeded | Daily quota used up. Retry-After gives the seconds until the reset at 00:00 UTC. Rejected requests (including 403) count toward the quota. |
Related endpoints
- Research Pack Catalog API -
GET /v1/research/packs - Research Pack Artifact API -
GET /v1/research/packs/{packId}/artifacts/{name} - Historical trader context - income replays link the relevant pack through
metrics.research - The first pack's results - SPY and QQQ covered calls and cash-secured puts