QuantSet Docs Developer console

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.

GET/api/v1/quotes/market-snapshot

API keyFrom 10 credits Use a key with access to this operation.

View as MarkdownWhole API as text

Parameters

namespaceus | global
asset_typestock | etf
limitinteger, 1 to 20,000

Maximum number of rows to return.

Optional parameters (4)
countrystring
active_onlyboolean
snapshot_idstring

Pin the request to one immutable snapshot so a read across several pages stays consistent.

formatjson | csv

Return 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_idstring

    The listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.

  • symbolstring

    The ticker without its market prefix.

  • namestring

    The company, fund or instrument name.

  • exchangestring

    The exchange the listing trades on.

  • asset_typestring

    What kind of instrument it is, such as stock, etf, crypto_pair or index.

  • security_typestring

    The kind of security: common_stock, adr, reit, etf, etn, cef, preferred, warrant or unit.

  • sectorstring

    The company's sector, in one standard list used across all markets.

  • datestring

    The trading day or observation date, YYYY-MM-DD.

  • pricenumber

    The latest price in US dollars.

  • opennumber

    The first traded price of the day.

  • highnumber

    The highest traded price of the day.

  • lownumber

    The lowest traded price of the day.

  • change_1d_pctnumber

    The price change over one day, in percent.

  • volumenumber

    The amount traded that day, in the unit named by volume_unit.

  • market_cap_bnumber

    The company's market value, in billions of US dollars.

  • pe_ttmnumber

    Price divided by trailing earnings per share.

View response example or schema

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=50

Use 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=20

Check 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

StatusCodeWhat to do
400conflicting_credentialsSupply one credential.
401invalid_credentialsSupply a valid API key.
402insufficient_creditsReduce the request ceiling or refill your credits.
403insufficient_accessYour key does not have the required access.
409snapshot_changedStart the read again with the current snapshot.
413export_too_largeReduce the page size before requesting CSV again.
422invalid_parameterCorrect the named parameter and retry.
429rate_limitedWait for Retry-After seconds.
500internal_errorThe request could not be completed.
503temporarily_unavailableRetry 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.