QuantSet Docs Developer console

Guides

Spreadsheets

The same data, without writing an application. Read a CSV-enabled dataset in Google Sheets or Excel with one formula, the =QUANTSET() custom function, or Excel Power Query. Looking for ready-made DCF, 67-country portfolio, ETF look-through, and Notion templates? See the Google Sheets, Excel & Notion Stock Market Templates Playbook →

Google Sheets

For a CSV-enabled GET operation, add format=csv and pass a data-only key in apikey.

One formula

Use a data-only key with screener access. Paste this formula into a cell to get up to 20 listings with a market cap of at least $10 billion.

=IMPORTDATA("https://api.quantset.dev/api/v1/screener?min_market_cap_b=10&limit=20&format=csv&apikey=YOUR_DATA_ONLY_KEY")

Try a daily price CSV with the sandbox key.

curl "https://api.quantset.dev/api/v1/prices?ticker=NVDA&limit=10&format=csv&apikey=mw_demo"

Larger pulls with Apps Script

A sheet full of formulas gets slow. For a watchlist or a screen, one short script writes the rows straight into a tab. Add it under Extensions, Apps Script, then run it when the sheet opens or on a timer.

function refreshPrices() {
  const url = "https://api.quantset.dev/api/v1/prices?ticker=NVDA&limit=250&format=csv";
  const response = UrlFetchApp.fetch(url, {
    headers: { "X-API-Key": "mw_demo" },
    muteHttpExceptions: true,
  });
  if (response.getResponseCode() !== 200) throw new Error(response.getContentText());
  const rows = Utilities.parseCsv(response.getContentText());
  const book = SpreadsheetApp.getActiveSpreadsheet();
  const sheet = book.getSheetByName("Prices") || book.insertSheet("Prices");
  sheet.clearContents();
  sheet.getRange(1, 1, rows.length, rows[0].length).setValues(rows);
}

Excel

Go to Data, Get Data, From Other Sources, Blank Query. Open the Advanced Editor and paste this. Keeping the address and the path apart lets Excel remember the connection, so it asks for permission once.

let
    Source = Csv.Document(
        Web.Contents("https://api.quantset.dev", [
            RelativePath = "api/v1/prices",
            Query = [
                ticker = "NVDA",
                format = "csv",
                limit = "250",
                apikey = "mw_demo"
            ]
        ]),
        [Delimiter = ",", Encoding = 65001, QuoteStyle = QuoteStyle.Csv]
    ),
    Rows = Table.PromoteHeaders(Source, [PromoteAllScalars = true])
in
    Rows

Sharing the file? Anyone who opens it can read the key inside the query. Ask for a separate key for shared files, so you can switch it off without touching your own.

QuickstartAI agents