Option Chain Data


  • Hello Team
    i am working on option chain data but api nnot provide me any kind of data i have already check on postman to van you please sugguest me which kind of mistake i have made for
    Details are

    URL : https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getOIData

    Parameters in body raw section
    {
    "exchange": "NFO",
    "symboltoken": "84833",
    "interval": "THREE_MINUTE",
    "fromdate": "2024-09-06 09:15",
    "todate": "2024-09-06 10:30"
    }

    its showing
    400 bad Request


  • @logiclump
    Kindly pass below header values
    {
    'X-PrivateKey': 'API_KEY',
    'Accept': 'application/json, application/json',
    'X-SourceID': 'WEB, WEB',
    'X-ClientLocalIP': 'CLIENT_LOCAL_IP',
    'X-ClientPublicIP': 'CLIENT_PUBLIC_IP',
    'X-MACAddress': 'MAC_ADDRESS',
    'X-UserType': 'USER',
    'Authorization': 'Bearer AUTHORIZATION_TOKEN',
    'Content-Type': 'application/json'
    }

    Regards,
    SmartAPI Team