Skip to main content

Curl Updates


2nd April 2023

Additon:

19th March 2023

Addition:Updation:
  • In all the API the “key“ parameter “Status“ has been changed to “status“ in both the success and failure response in version 3

28th Feb 2023

Addition:Updation:
  • Success of Login API has been changed from Version 2
  • {
    "Status": "Success",
    "data": {
    "actid": "*********",
    "userName": "",
    "susertoken": "",
    "email": "*****************"
    }
    }

    to Version 3

    {
    "status": "Success",
    "data": {
    "actid": "AA199",
    "userName": "sssss",
    "susertoken": "dc6b91b7d4059be1d875e83774c5bb3374cf6198a93dbc29655ed4b2f8314a42",
    "email": "[email protected]"
    }
    }
  • In Get Quotes the URL has been changed from
  • https://connect.thefirstock.com/apiV2/getQuotes

    to new version

    https://connect.thefirstock.com/api/V3/getQuote
  • In Span Calculator the input parameter has been changed from version 2
  • {
    "userId": "",
    "jKey": "",
    "data": [
    {
    "exchange": "",
    "instname": "",
    "symbolName": "",
    "expd": "",
    "optt": "",
    "strikePrice": "",
    "netQuantity": ""
    },
    {
    "exchange": "",
    "instname": "",
    "symbolName": "",
    "expd": "",
    "optt": "",
    "strikePrice": "",
    "netQuantity": ""
    }
    ]
    }

    to version 3

    {
    "userId": "",
    "data": [
    {
    "exchange": "",
    "instrumentName": "",
    "symbolName": "",
    "expireDate": "",
    "optionType": "",
    "strikePrice": "",
    "netQuantity": ""
    },
    {
    "exchange": "",
    "instrumentName": "",
    "symbolName": "",
    "expireDate": "",
    "optionType": "",
    "strikePrice": "",
    "netQuantity": ""
    }
    ],
    "jKey": ""
    }
  • In Time Price Series DAY interval has been added to the time Price Series, The input parameter has been changed from version 2
  • {
    "userId": "",
    "exchange": "",
    "token": "",
    "endtime": "",
    "starttime": "",
    "jKey": "",
    "intrv": ""
    }

    to version 3

    {
    "userId": "",
    "exchange": "",
    "token": "",
    "startTime": "",
    "endTime": "",
    "interval": "",
    "jKey": ""
    }
Updation:
API Url changed to
 https://connect.thefirstock.com/api/V3