Market Quote data for option contract

gauravatkite
How can we get the market quote for an option contract (i.e. SBIN20OCT195CE) with following api-

curl "https://api.kite.trade/quote?i=NSE:INFY" \
-H "X-Kite-Version: 3" \
-H "Authorization: token api_key:access_token"

I tried this api by giving the symbol name simply, but it give nothing in output

# curl -v "https://api.kite.trade/quote?i=NSE:SBIN20OCT195CE" -H "X-Kite-Version: 3" -H "Authorization: token apikey:token"
< HTTP/1.1 200 OK
< Date: Mon, 05 Oct 2020 19:32:05 GMT
< Content-Type: application/json
< Content-Length: 30
< Connection: keep-alive
< Set-Cookie: __cfduid=d4482bbc2f78335d7a378efac7075e2651601926325; expires=Wed, 04-Nov-20 19:32:05 GMT; path=/; domain=.kite.trade; HttpOnly; SameSite=Lax
< CF-Cache-Status: DYNAMIC
< cf-request-id: 059bd8fce500001d3b860f7200000001
< Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< Strict-Transport-Security: max-age=15552000; includeSubDomains
< Server: cloudflare
< CF-RAY: 5dd9910e3d0d1d3b-MAA
<
* Connection #0 to host api.kite.trade left intact
{"status":"success","data":{}}
  • rakeshr
    NSE:SBIN20OCT195CE
    Exchange will be NFO for above option contract instead of NSE.
Sign In or Register to comment.