I observed that market quote don't work for instrument which have special character in name like M&M, M&MFIN etc. However at the same time same URL and service works for other instrument which don't have special characters:
M&M - curl -v "https://api.kite.trade/quote?i=NSE:M&M" -H "X-Kite-Version: 3" -H "Authorization: token :" * About to connect() to api.kite.trade port 443 (#0) * Trying 104.18.91.38... * Connected to api.kite.trade (104.18.91.38) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server certificate: * subject: CN=*.kite.trade * start date: Mar 03 00:00:00 2020 GMT * expire date: Apr 02 23:59:59 2022 GMT * common name: *.kite.trade * issuer: CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB > GET /quote?i=NSE:M&M HTTP/1.1 > User-Agent: curl/7.29.0 > Host: api.kite.trade > Accept: */* > X-Kite-Version: 3 > Authorization: token : > < HTTP/1.1 200 OK < Date: Fri, 28 Aug 2020 09:35:38 GMT < Content-Type: application/json < Content-Length: 30 < Connection: keep-alive < Accept-Ranges: bytes < CF-Cache-Status: DYNAMIC < 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 < * Connection #0 to host api.kite.trade left intact {"status":"success","data":{}}
Other Check like ITC - curl -v "https://api.kite.trade/quote?i=NSE:ITC" -H "X-Kite-Version: 3" -H "Authorization: token :" * About to connect() to api.kite.trade port 443 (#0) * Trying 104.18.91.38... * Connected to api.kite.trade (104.18.91.38) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server certificate: * subject: CN=*.kite.trade * start date: Mar 03 00:00:00 2020 GMT * expire date: Apr 02 23:59:59 2022 GMT * common name: *.kite.trade * issuer: CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB > GET /quote?i=NSE:ITC HTTP/1.1 > User-Agent: curl/7.29.0 > Host: api.kite.trade > Accept: */* > X-Kite-Version: 3 > Authorization: token : > < HTTP/1.1 200 OK < Date: Fri, 28 Aug 2020 09:36:10 GMT < Content-Type: application/json < Content-Length: 917 < Connection: keep-alive < CF-Cache-Status: DYNAMIC < 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 < * Connection #0 to host api.kite.trade left intact {"status":"success","data":{"NSE:ITC":{"instrument_token":424961,"timestamp":"2020-08-28 15:06:10","last_trade_time":"2020-08-28 15:06:10","last_price":195.65,"last_quantity":1,"buy_quantity":3277802,"sell_quantity":5089718,"volume":29444868,"average_price":194.81,"oi":0,"oi_day_high":0,"oi_day_low":0,"net_change":0,"lower_circuit_limit":174.85,"upper_circuit_limit":213.65,"ohlc":{"open":194.6,"high":196.3,"low":194.05,"close":194.25},"depth":{"buy":[{"price":195.65,"quantity":167,"orders":2},{"price":195.6,"quantity":7897,"orders":6},{"price":195.55,"quantity":22743,"orders":22},{"price":195.5,"quantity":79323,"orders":89},{"price":195.45,"quantity":11082,"orders":25}],"sell":[{"price":195.7,"quantity":4093,"orders":10},{"price":195.75,"quantity":12320,"orders":22},{"price":195.8,"quantity":25346,"orders":27},{"price":195.85,"quantity":16780,"orders":32},{"price":195.9,"quantity":12211,"orders":31}]}}}}