How to getCommordity market Price using API

pdzala
Hi i am developing one app for display live rate of commodity market stock like GOLD,COPPER ,SILVER etc i am trying to get this price using

API : https://api.kite.trade/quote/ltp?i=NSE:INFY&i=BSE:SENSEX&i=NSE:NIFTY+50

can you explain how can i get the price of GOLD,COPPER ,SILVER using this API or any other available api
Tagged:
  • rakeshr
    @pdzala
    Hi i am developing one app for display live rate of commodity market stock
    Is this an open public App?
    If yes, then all users have to access through kite account.
    As public display of data outside of a broker's ecosystem is not permitted by the exchanges.
  • pdzala
    hi it is not with multiple user or it's for one user and i already purchased your api access for my one user i want to display just commodity stock and i can not find the symbol and don't know how to call the API for it can you give me an example of api to get the commodity market data
  • sujith
    You can get all the details for an instrument from the instruments master dump as mentioned here.
  • pdzala
    hi i already checked it but can not get the GOLD price using API : https://api.kite.trade/quote/ltp?i=NSE:INFY&i=BSE:SENSEX&i=NSE:NIFTY+50

    but can not get response
  • nikhilR
    nikhilR edited September 2020
    Hi @pdzala ,

    MCX trades futures and options on the underlying commodities. Thus the kiteconnect API only provides quotes for futures and options of those underlying commodities. Is this what you are looking for?

    If so, then you can download the instruments master from here: https://kite.trade/docs/connect/v3/market-quotes/#instruments

    Look for MCX contracts like GOLD20OCTFUT, COPPER20SEPFUT, etc.

    If you are looking for the commodity prices (spot prices) for GOLD, COPPER, etc., kiteconnect doesn't provide these. You can fetch those from here: https://www.mcxindia.com/market-data/spot-market-price
    The file refreshes periodically, so you will have to poll and update the values every once in a while.
  • Varshatiwari
    You might look into data providers or financial technology businesses that offer APIs exclusively for commodities market data if you want to get commodity market prices using an API. These APIs enable traders and developers to programmatically access current or past commodities market prices. Developers can use market data APIs, including commodity prices, provided by financial technology businesses like Kotak Securities to include into their own trading futures and options app or website. In order to understand how to access and use commodities market prices through their APIs, it's critical to choose trustworthy data sources and carefully examine their pricing and API documentation.
    https://play.google.com/store/apps/details?id=com.kotak.neo&hl=en_IN&gl=US
Sign In or Register to comment.