Prerequisites
- An API key. Get one from the dashboard, and pass it in the
X-API-KEYheader on every request. - The base URL for all requests is
https://api.davidhf.com.
Every data endpoint requires a
scenario_id. A scenario is a self-contained synthetic market world. See Scenarios for the full model.Get started
Find a scenario
David ships with a library of ready-made scenarios. List them to grab a Copy an
scenario_id:id. You’ll use it as scenario_id in every query below.See what's inside
Inspect a scenario’s manifest to see its date range and available tickers:The response includes
available_tickers (e.g. AAPL, MSFT, NVDA) and a public_summary describing the market world.Browse more scenarios
David curates the full scenario library, you don’t generate worlds, you choose from them. Filter the library to assemble the sets you need:Next steps
Scenarios
How worlds are scoped, validated, and replayed.
Authentication
Keys, accounts, plans, and rate limits.
Point-in-time agents
Build a leakage-free backtest loop.
API reference
Every endpoint in detail.