QuantSet Docs Developer console

Endpoints / Prices and sessions

Live market session

Current session quote or 5-minute intraday points with a 60-second cache. This operation uses live observations and reports provenance.observed_at in UTC. Historical generation replay is unavailable.

GET/api/v1/market-session

Sandbox1 credit per request Try the sample free with mw_demo.

View as MarkdownWhole API as text

Parameters

tickerstringrequired

Catalog selector, such as NVDA, 7203.T, or a canonical ID such as us:NVDA.

intervalquote | 5m
formatjson | csv

Return a JSON page or UTF-8 CSV rows.

Response

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.

  • datestring

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

  • timezonestring

    The exchange's time zone.

  • currencystring

    The currency the amounts on this row are in.

  • previousClosenumber
  • dailystring
  • quotestring
  • pointsarray
View response example or schema

Research questions

Where is Nvidia trading relative to the previous close?

GET https://api.quantset.dev/api/v1/market-session?ticker=us:NVDA&interval=quote

Inspect quote together with previousClose, date and timezone before calculating a session move.

How did the price evolve within the session?

GET https://api.quantset.dev/api/v1/market-session?ticker=NVDA&interval=5m

Read the points in time order. Keep the session date and timezone with the series when comparing it with news.

Reading the results

Use interval=5m to inspect the sequence of points for the current session. A session quote and a completed daily close answer different questions.

Coverage and limits

The live session can be closed or lack observations. Use the historical bars endpoint for a past session.

Related guides

Which price endpoint to use

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/market-session?ticker=us:NVDA&interval=quote&format=csv" -H "X-API-Key: mw_demo"

Or pull it straight into Google Sheets with one formula. Excel and larger pulls

=IMPORTDATA("https://api.quantset.dev/api/v1/market-session?ticker=us:NVDA&interval=quote&format=csv&apikey=mw_demo")

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.
404unknown_instrumentThe requested listing is absent from the catalog.
413export_too_largeReduce the page size before requesting CSV again.
422invalid_parameter, ambiguous_instrumentCorrect 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

Can I try Live market session without signing up?
Yes. Use the sandbox key mw_demo and the sample selectors on this page.
What does Live market session cost?
1 credit for each successful request. 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.