Skip to content

Instrument Quotes


The instrument Quotes endpoint allows the user to get the quotes for a single insturment or a list of instruments through an API call.

Type Endpoint Mode Description
POST /info/quote/:mode full Retrieves the quotes for single instrument
POST /info/quotes/:mode full Retrieves the quotes for list of instruments

List of Mode Values

Values Accepted Description
ltp Get the latest snapshot of LTP
ohlcv Get the latest snapshot of Open, High, Low, Close, Volume
full Get the latest snapshot of the above plus the full Market Depth

Quotes for a Multiple Instruments

Full Mode

Sample Payload
curl --location 'https://api.tiqs.trading/info/quotes/full' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>' \
--header 'Content-Type: application/json' \
--data '[3045, 26009]'
Sample Response
{
  "data": [
    {
      "asks": [
        {
          "orders": 262144,
          "price": 81100,
          "quantity": 1027
        },
        {
          "orders": 131072,
          "price": 81105,
          "quantity": 26
        },
        {
          "orders": 65536,
          "price": 81110,
          "quantity": 28
        },
        {
          "orders": 458752,
          "price": 81115,
          "quantity": 28953
        },
        {
          "orders": 458752,
          "price": 81120,
          "quantity": 824
        }
      ],
      "avgPrice": 81213,
      "bids": [
        {
          "orders": 327680,
          "price": 81080,
          "quantity": 22
        },
        {
          "orders": 655360,
          "price": 81075,
          "quantity": 1789
        },
        {
          "orders": 851968,
          "price": 81070,
          "quantity": 565
        },
        {
          "orders": 786432,
          "price": 81065,
          "quantity": 522
        },
        {
          "orders": 655360,
          "price": 81060,
          "quantity": 432
        }
      ],
      "close": 80190,
      "high": 82200,
      "low": 79950,
      "lowerLimit": 72171,
      "ltp": 81100,
      "ltq": 156,
      "ltt": 1715160889,
      "netChange": 113,
      "netChangeIndicator": 43,
      "oi": 0,
      "oiDayHigh": 0,
      "oiDayLow": 0,
      "open": 80260,
      "time": 1715160889,
      "token": 3045,
      "totalBuyQty": 425335,
      "totalSellQty": 956553,
      "upperLimit": 88209,
      "volume": 23859582
    },
    {
      "asks": [
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        },
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        },
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        },
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        },
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        }
      ],
      "avgPrice": 0,
      "bids": [
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        },
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        },
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        },
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        },
        {
          "orders": 0,
          "price": 0,
          "quantity": 0
        }
      ],
      "close": 4828535,
      "high": 4822305,
      "low": 4785115,
      "lowerLimit": 0,
      "ltp": 4800450,
      "ltq": 0,
      "ltt": 1715160889,
      "netChange": 58,
      "netChangeIndicator": 45,
      "oi": 0,
      "oiDayHigh": 0,
      "oiDayLow": 0,
      "open": 4812420,
      "time": 1715160889,
      "token": 26009,
      "totalBuyQty": 0,
      "totalSellQty": 0,
      "upperLimit": 0,
      "volume": 0
    }
  ],
  "status": "success"
}

OHLCV Mode

Sample Payload
curl --location 'https://api.tiqs.trading/info/quotes/ohlcv' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>' \
--header 'Content-Type: application/json' \
--data '[3045, 26009]'
Sample Response
{
  "data": [
    {
      "close": 80190,
      "high": 82200,
      "low": 79950,
      "ltp": 81105,
      "ltt": 1715160941,
      "oi": 0,
      "open": 80260,
      "token": 3045,
      "volume": 24000444
    },
    {
      "close": 4828535,
      "high": 4822305,
      "low": 4785115,
      "ltp": 4800670,
      "ltt": 1715160942,
      "oi": 0,
      "open": 4812420,
      "token": 26009,
      "volume": 0
    }
  ],
  "status": "success"
}

LTP Mode

Sample Payload
curl --location 'https://api.tiqs.trading/info/quotes/ltp' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>' \
--header 'Content-Type: application/json' \
--data '[3045, 26009]'
Sample Response
{
  "data": [
    {
      "close": 80190,
      "ltp": 81105,
      "token": 3045
    },
    {
      "close": 4828535,
      "ltp": 4799365,
      "token": 26009
    }
  ],
  "status": "success"
}

Quotes for a Single Instrument

Full Mode

Sample Payload
curl --location 'https://api.tiqs.trading/info/quote/full' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
    "token": 3045
}'
Sample Response
{
  "data": {
    "asks": [
      {
        "orders": 655360,
        "price": 81130,
        "quantity": 4565
      },
      {
        "orders": 720896,
        "price": 81135,
        "quantity": 31755
      },
      {
        "orders": 524288,
        "price": 81140,
        "quantity": 902
      },
      {
        "orders": 589824,
        "price": 81145,
        "quantity": 33673
      },
      {
        "orders": 524288,
        "price": 81150,
        "quantity": 563
      }
    ],
    "avgPrice": 81212,
    "bids": [
      {
        "orders": 1966080,
        "price": 81110,
        "quantity": 2822
      },
      {
        "orders": 327680,
        "price": 81105,
        "quantity": 737
      },
      {
        "orders": 917504,
        "price": 81100,
        "quantity": 1625
      },
      {
        "orders": 327680,
        "price": 81095,
        "quantity": 221
      },
      {
        "orders": 786432,
        "price": 81090,
        "quantity": 1721
      }
    ],
    "close": 80190,
    "high": 82200,
    "low": 79950,
    "lowerLimit": 72171,
    "ltp": 81130,
    "ltq": 10,
    "ltt": 1715161025,
    "netChange": 117,
    "netChangeIndicator": 43,
    "oi": 0,
    "oiDayHigh": 0,
    "oiDayLow": 0,
    "open": 80260,
    "time": 1715161025,
    "token": 3045,
    "totalBuyQty": 437475,
    "totalSellQty": 924617,
    "upperLimit": 88209,
    "volume": 24214473
  },
  "status": "success"
}

OHLCV Mode

Sample Payload
curl --location 'https://api.tiqs.trading/info/quote/ohlcv' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
    "token": 3045
}'
Sample Response
{
  "data": {
    "close": 82625,
    "high": 83485,
    "low": 81990,
    "ltp": 82625,
    "ltt": 0,
    "oi": 0,
    "open": 82650,
    "token": 3045,
    "volume": 27449073
  },
  "status": "success"
}

LTP Mode

Sample Payload
curl --location 'https://api.tiqs.trading/info/quote/ltp' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
    "token": 3045
}'
Sample Response
{
  "data": {
    "close": 82625,
    "ltp": 82625,
    "token": 3045
  },
  "status": "success"
}