Segmentwise List via API

Hi There,
Need help on how to fetch detailed instrument list using [Preformatted text](https://api.dhan.co/v2/instrument/{exchangeSegment})

I have tried the below but I get an error “status”:404,“error”:“Not Found”

(https://api.dhan.co/v2/INDEX/NSE_EQ)

Any one who can help?

Please

Regards,
RK

Hey @RK_RK

Welcome to MadeForTrade community!

This looks incorrect. The correct structure will be:

https://api.dhan.co/v2/instrument/NSE_EQ

Hi Hardik,

Thank you for your response.

I have tried the correct url suggested by you

https://api.dhan.co/v2/instrument/NSE_EQ

Now I get a different error :

{
“errorType”: “Input_Exception”,
“errorCode”: “DH-905”,
“errorMessage”: “Missing required fields, bad values for parameters etc.”
}

I have attached the screenshot of the request and the response.

Regards,
RK

Checking this

1 Like

This is a simple GET request, you can call it on your browser to directly download the file.

1 Like