Instruments
Instruments API
Endpoint URL
Download all trading symbols and instruments with exchange-wise filtering in JSON or CSV format.
GET http://127.0.0.1:5000/api/v1/instrumentsParameters
apikey
string
Yes
API Key for authentication
-
exchange
string
No
Filter by exchange: NSE, BSE, NFO, BFO, BCD, CDS, MCX, NSE_INDEX, BSE_INDEX
All
format
string
No
Output format: json or csv
json
Browser Examples
Replace your_api_key_here with your actual API key and paste in browser:
Download All Exchanges - All Instruments (JSON)
http://127.0.0.1:5000/api/v1/instruments?apikey=your_api_key_hereDownload All Exchanges - All Instruments (CSV)
http://127.0.0.1:5000/api/v1/instruments?apikey=your_api_key_here&format=csvDownload NSE Equities Only (CSV)
Download NFO Derivatives Only (CSV)
Download BSE Equities Only (CSV)
Download MCX Commodities Only (CSV)
Response Fields
symbol
OpenAlgo standard symbol
brsymbol
Broker-specific symbol
name
Instrument name
exchange
Exchange code
token
Instrument identifier
expiry
Expiry date (F&O only)
strike
Strike price (options only)
lotsize
Lot size
instrumenttype
Instrument type (EQ, FUT, CE, PE, etc.)
tick_size
Minimum price movement
JSON Response
CSV Response
Error Codes
401
API key is required
403
Invalid openalgo apikey
400
Invalid exchange or format
Notes
Without exchange parameter: Downloads ALL exchanges in one shot (NSE, BSE, NFO, BFO, BCD, CDS, MCX, NSE_INDEX, BSE_INDEX)
With exchange parameter: Downloads only specified exchange
CSV format auto-downloads in browser
Rate limit: 50 requests/second
Data updates when master contracts are downloaded
Last updated
Was this helpful?