Endpoints / Instruments, ETFs and capabilities
Whole-market quote snapshot
Latest price, OHLC, 1-day change %, volume, market cap and trailing P/E across all active US or global listings in a single request.
/api/v1/quotes/market-snapshotAPI keyFrom 10 credits Use a key with access to this operation.
Parameters
namespaceus | globalasset_typestock | etflimitinteger, 1 to 20,000Maximum number of rows to return.
Optional parameters (4)
countrystringactive_onlybooleansnapshot_idstringPin the request to one immutable snapshot so a read across several pages stays consistent.
formatjson | csvReturn a JSON page or UTF-8 CSV rows.
Response
Response fields (16)
Each row has these fields. Rows arrive in data, next to schema_version, snapshot_id, total_count, next_cursor, provenance.
instrument_idstringThe listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.
symbolstringThe ticker without its market prefix.
namestringThe company, fund or instrument name.
exchangestringThe exchange the listing trades on.
asset_typestringWhat kind of instrument it is, such as stock, etf, crypto_pair or index.
security_typestringThe kind of security: common_stock, adr, reit, etf, etn, cef, preferred, warrant or unit.
sectorstringThe company's sector, in one standard list used across all markets.
datestringThe trading day or observation date, YYYY-MM-DD.
pricenumberThe latest price in US dollars.
opennumberThe first traded price of the day.
highnumberThe highest traded price of the day.
lownumberThe lowest traded price of the day.
change_1d_pctnumberThe price change over one day, in percent.
volumenumberThe amount traded that day, in the unit named by volume_unit.
market_cap_bnumberThe company's market value, in billions of US dollars.
pe_ttmnumberPrice divided by trailing earnings per share.
Research questions
Which latest US stock quotes can I inspect together?
GET https://api.quantset.dev/api/v1/quotes/market-snapshot?namespace=us&asset_type=stock&limit=50Use each row’s instrument_id and date. Compare market_cap_b in billions and change_1d_pct in percent.
Which Japanese listings appear in the latest market slice?
GET https://api.quantset.dev/api/v1/quotes/market-snapshot?namespace=global&country=Japan&limit=20Check date and instrument_id per row. Use single-listing prices for an actual historical series.
Reading the results
This is a cross-section of latest available observations. Check dates and asset types before ranking securities by daily move.
Coverage and limits
A limited result is a bounded slice of the selected universe. A listing’s absence from that slice says nothing about its trading status.
CSV, spreadsheets and agents
The same rows as a spreadsheet-ready table. Add format=csv to the request.
curl "https://api.quantset.dev/api/v1/quotes/market-snapshot?namespace=us&asset_type=stock&limit=50&format=csv" -H "X-API-Key: YOUR_API_KEY"
Or pull it straight into Google Sheets with one formula. Excel and larger pulls
=IMPORTDATA("https://api.quantset.dev/api/v1/quotes/market-snapshot?namespace=us&asset_type=stock&limit=50&format=csv&apikey=YOUR_API_KEY")AI agents call this endpoint over HTTP, or read its Markdown version. Connect Claude, ChatGPT, Cursor or your own agent
Errors
| Status | Code | What to do |
|---|---|---|
| 400 | conflicting_credentials | Supply one credential. |
| 401 | invalid_credentials | Supply a valid API key. |
| 402 | insufficient_credits | Reduce the request ceiling or refill your credits. |
| 403 | insufficient_access | Your key does not have the required access. |
| 409 | snapshot_changed | Start the read again with the current snapshot. |
| 413 | export_too_large | Reduce the page size before requesting CSV again. |
| 422 | invalid_parameter | Correct the named parameter and retry. |
| 429 | rate_limited | Wait for Retry-After seconds. |
| 500 | internal_error | The request could not be completed. |
| 503 | temporarily_unavailable | Retry safe reads after a short delay. |
Questions
- What does Whole-market quote snapshot cost?
- 10 credits for the first 25 rows, then 5 credits for every 25 more. A request that fails costs nothing.
- Which plan includes it?
- Every account. Free credits, credit packs and subscriptions all read this data.
- Can I get it as CSV or in a spreadsheet?
- Yes. Add format=csv to the request. In Google Sheets, put that URL inside IMPORTDATA with a data-only key in apikey.
- Can an AI agent use this?
- Yes. An agent calls it over HTTP like any client. Add .md to this page's address for a version written for agents.
- What does null mean in the response?
- The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.
More in instruments, etfs and capabilities
GET /api/v1/instrumentsSandboxGet an instrumentGET /api/v1/instruments/{instrument_id}SandboxETF & trust profileGET /api/v1/etf-profileSandboxETF constituent holdingsGET /api/v1/etf-holdingsSandboxStock ETF exposuresGET /api/v1/etf-exposuresSandboxCapabilitiesGET /api/v1/capabilitiesAgent research context packGET /api/v1/contextOptions chain & implied moveGET /api/v1/optionsFINRA daily short-sale volumeGET /api/v1/short-interest