Instruments¶
Download the full list of Global stocks and ETFs you can trade, as a CSV. Use it to find the security_id every other endpoint needs.
GET /v1/market/instruments
The response is text/csv (about 2 MB), sent as a file named scripmaster.csv. Download it once a day and keep a local copy, rather than calling it before each order.
Bash
curl --location 'https://api.indmoneyglobal.com/v1/market/instruments' \
--header 'Authorization: YOUR_ACCESS_TOKEN' \
--output scripmaster.csv
Python
import csv, io, requests
resp = requests.get(
"https://api.indmoneyglobal.com/v1/market/instruments",
headers={"Authorization": ACCESS_TOKEN},
)
rows = list(csv.DictReader(io.StringIO(resp.text)))
vti = next(r for r in rows if r["SYMBOL"] == "VTI")
print(vti["SECURITY_ID"]) # 116532
Sample¶
Text Only
SECURITY_ID,SYMBOL,NAME,EXCHANGE,REGION,INSTRUMENT_TYPE,ISIN,CURRENCY,TRADE_STATUS,IS_TRADABLE,IS_FRACTIONABLE,IS_EXT_HOURS_FRACTIONABLE,EXT_HOURS_ELIGIBLE,PRECISION,TICK_SIZE
116532,VTI,Vanguard Morningstar Total Stock Market ETF,ARCA,US,ETF,US9229087690,USD,TRADABLE,true,true,true,true,6,0.01
Columns¶
| Column | Meaning |
|---|---|
SECURITY_ID | The instrument key for every other call (security_id) |
SYMBOL | Ticker, e.g. VTI |
NAME | Company or fund name |
EXCHANGE | Listing exchange, e.g. ARCA, NASDAQ, NYSE |
REGION | Market region, e.g. US |
INSTRUMENT_TYPE | STOCK or ETF |
ISIN | ISIN code |
CURRENCY | Trading currency, e.g. USD |
TRADE_STATUS | Trading status, e.g. TRADABLE |
IS_TRADABLE | true if new orders are accepted |
IS_FRACTIONABLE | true if you can buy fractional shares or by dollar amount |
IS_EXT_HOURS_FRACTIONABLE | true if fractional orders are allowed in extended hours |
EXT_HOURS_ELIGIBLE | true if the instrument trades in pre-market and after-hours sessions |
PRECISION | Decimal places shown for quantity |
TICK_SIZE | Smallest price step, e.g. 0.01 |
Tip
Before a fractional or dollar order, check IS_FRACTIONABLE. Before an extended-hours order, check EXT_HOURS_ELIGIBLE.