Guides
Global markets
One ID format and one response shape for more than 66,000 listings in 66 markets outside the US. Every example here runs live on three sample listings: Shell in London, Kyokuyo in Tokyo and Reliance in Mumbai.
global:SHEL.Lglobal:1301.Tglobal:RELIANCE.NS
Find the listing
Search by company name or ticker. Each result carries the ID to use everywhere else, with its country, exchange and trading currency. A search for Shell returns the London listing, the New York listing and Hankook Shell Oil in Seoul.
curl "https://api.quantset.dev/api/v1/instruments?q=shell&limit=5" -H "X-API-Key: mw_demo"
A non-US ID is global:, then the ticker with its exchange suffix.
| Market | Example ID | Trades in |
|---|---|---|
| London | global:SHEL.L | Pence, shown as GBp |
| Tokyo | global:1301.T | JPY |
| Mumbai | global:RELIANCE.NS | INR |
| Seoul | global:005930.KS | KRW |
| Hong Kong | global:00700.HK | HKD |
Read prices in the local currency
Bars come back in the currency the listing trades in, named in quote_currency. London quotes in pence, so a close of 3,574.5 is £35.745.
curl "https://api.quantset.dev/api/v1/prices?ticker=SHEL.L&limit=5" -H "X-API-Key: mw_demo"
Each bar also has an adjustment label that says what has been checked about splits and dividends for that series. What the labels mean
Ask for several markets at once
One request can mix markets, and it can mix them with US listings and crypto pairs. Each row keeps its own currency.
curl "https://api.quantset.dev/api/v1/quotes?tickers=global:SHEL.L,global:1301.T,global:RELIANCE.NS" -H "X-API-Key: mw_demo"
Convert to US dollars
For the latest price, the snapshot has already done it. native_close is the local close, usd_rate is the rate that was applied, fx_date is the day that rate is from, and price is the result in dollars.
curl "https://api.quantset.dev/api/v1/snapshots?ticker=SHEL.L" -H "X-API-Key: mw_demo"
Use a personal data key with credits for dated FX rates. Three currencies are quoted in hundredths of the main unit: pence (GBp or GBX), South African cents (ZAc) and Israeli agorot (ILA). Scale those by 0.01 before applying the rate.
curl "https://api.quantset.dev/api/v1/fx/rates?base_currency=GBP,JPY,INR&latest_only=true" -H "X-API-Key: YOUR_DATA_ONLY_KEY"
import requests
BASE = "https://api.quantset.dev"
HEADERS = {"X-API-Key": "YOUR_DATA_ONLY_KEY"}
# Currencies quoted in hundredths of the main unit.
MINOR = {"GBp": "GBP", "GBX": "GBP", "ZAc": "ZAR", "ILA": "ILS"}
def get(path, **params):
response = requests.get(BASE + path, params=params, headers=HEADERS, timeout=15)
response.raise_for_status()
return response.json()["data"]
bars = get("/api/v1/prices", ticker="SHEL.L", limit=30)
quoted = bars[0]["quote_currency"]
currency, scale = (MINOR[quoted], 0.01) if quoted in MINOR else (quoted, 1)
rate = get("/api/v1/fx/rates", base_currency=currency, latest_only="true")[0]["usd_per_unit"]
for bar in bars[-5:]:
print(bar["date"], round(bar["close"] * scale * rate, 2), "USD")
Read company financials
Income statements, balance sheets and cash flow statements use the same fields as US companies. Every row names its own reporting currency, which is not always the trading currency: Shell trades in pence and reports in US dollars, Reliance reports in rupees.
curl "https://api.quantset.dev/api/v1/financial-statements/income?tickers=global:SHEL.L,global:RELIANCE.NS&period=annual&limit_per_instrument=1" -H "X-API-Key: mw_demo"
No filing date outside the US. Non-US rows have no available_at, and each one says so with fiscal_date_is_provider_label in quality_issues. Use them for analysis and screening, not for a backtest that needs to know when a number became public.
Open the local filings
Statutory disclosures and listing profiles from the home market, for listings in China, Hong Kong, Korea, Europe and India.
curl "https://api.quantset.dev/api/v1/regional-filings?ticker=SHEL.L" -H "X-API-Key: mw_demo"
Compare across markets
Correlation and volatility are computed on returns aligned in US dollars, so a London stock, a US stock and a crypto pair sit on one basis.
curl "https://api.quantset.dev/api/v1/analytics/correlations?tickers=us:NVDA,global:SHEL.L,crypto:BTCUSDT" -H "X-API-Key: mw_demo"
Pull it into a spreadsheet
Add format=csv to any of these requests. This formula fills a Google Sheet with a year of London prices.
=IMPORTDATA("https://api.quantset.dev/api/v1/prices?ticker=SHEL.L&limit=250&format=csv&apikey=mw_demo")
What differs from US listings
| US listings | Global listings | |
|---|---|---|
| ID | us:NVDA | global: plus ticker and exchange suffix |
| Currency | US dollars | Local, named in quote_currency |
| Daily prices | Back to 1962 | History length varies by market |
| Adjusted close | adj_close where it has passed its checks | Not published. Read the adjustment label |
| Hourly bars | Yes | No |
| Statements | Matched to SEC filings, with filing dates | Standardized, without filing dates |
| Plan | Every plan | All paid products and trial credits. The public sandbox reads its sample listings |