Universe
Every asset on one date, in one call
Universe returns the fields you choose for every asset on one date, about 11,000 rows, sorted by ticker. It's built for trading models: one call per run instead of one per ticker, then rank and filter on your side.
Which endpoint? Universe gives you everything for one date. To get only the assets that match conditions, sorted, use Search. For many dates at once, use History.
Cost
Universe is priced by how many fields you ask for, not by rows: 25 credits for up to 10 fields, 50 for up to 20, and 75 for up to 30. A past date costs the same as today. ticker is free, and a request that returns no rows costs nothing.
Parameters
| Parameter | Default | Description |
|---|---|---|
fields | — | Required. Up to 30 fields, as a comma-separated list or a JSON array, using the flat names from Schema, as in Search. ticker is always included |
date | latest | A past date, YYYY-MM-DD. A date without a row of its own reads the newest row before it: up to 10 days back on daily, 14 on weekly |
timeframe | daily | daily or weekly |
asset_class | all | stock, etf or crypto |
member_of | — | Only members of an index on that date: sp500, sp400, sp600, sp100, nasdaq100, russell1000 or russell2000. See Search |
held_by | — | Only assets a fund held on that date, by fund ticker or SEC series id. See Funds |
Latest. Without date, each asset class is read on its own newest date, since crypto trades at weekends. latest_dates_by_asset_class gives each one, and date is set only when they're all the same. How far back you can read depends on your plan.
Timing. A row for date D includes everything known by 04:00 UTC the next morning, such as results released after the close. A model acting on it should trade at the next session's open.
Response fields
| Field | Type | Description |
|---|---|---|
rows | object[] | One per asset, sorted by ticker: ticker and your fields. Any value can be null when it doesn't apply, such as fundamentals for crypto |
row_count | integer | Rows returned |
fields | string[] | The fields in each row, starting with ticker |
timeframe, asset_class | string, string | null | What was read |
date | string | null | The date read, when every asset class shares one |
date_mode | string | explicit with date, otherwise per_asset_class_latest |
latest_dates_by_asset_class | object | Without date: each asset class's newest date |
requested_date, row_dates_by_asset_class | string, object | With date: the date you asked for, and the date read for each asset class |
membership | object | With member_of or held_by: what was applied |
knowledge_cutoff | string | When each row's information stops: 04:00 UTC the day after its date |
band_contract | string | Version of the band definitions. Compare band values only between responses with the same one |
Errors
| Status | error.type | Cause | What to do |
|---|---|---|---|
400 | invalid_parameter | No fields, more than 30, an unknown field, or an unknown asset_class or index. | Read the message: it names the problem. Check field names with Schema. |
403 | tier_restricted | A date before your plan's first readable date. | Use a later date, or upgrade at the upgrade_url in the response. |
404 | no_data | Nothing on or shortly before date. | Try another date, or the other timeframe. |
404 | not_found | The held_by fund doesn't exist. | Find the fund with Funds. |
429 | too_many_concurrent_queries | Requests for more than 15 fields share a limited pool, and it's busy. | Wait for the Retry-After seconds and send it again. |
Errors aren't charged. Authentication and rate-limit errors are on Authentication and Errors & Caching.
Examples
Membership is as it was public on that date, so stocks added later are left out and stocks removed later are included.