BSE Web Service


Click here for a complete list of operations.

Level1

Level I Data

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
symbol:
market:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /BVBOnline/Intraday.asmx HTTP/1.1
Host: 195.28.176.74
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "www.bvb.ro/Level1"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <Header xmlns="www.bvb.ro">
      <User>string</User>
      <Password>string</Password>
    </Header>
  </soap:Header>
  <soap:Body>
    <Level1 xmlns="www.bvb.ro">
      <symbol>string</symbol>
      <market>string</market>
    </Level1>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Level1Response xmlns="www.bvb.ro">
      <Level1Result>
        <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
        <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
        <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime>
        <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice>
        <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice>
        <Value xmlns="http://www.bvb.ro/">decimal</Value>
        <Volume xmlns="http://www.bvb.ro/">long</Volume>
        <Trades xmlns="http://www.bvb.ro/">long</Trades>
        <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent>
        <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent>
        <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice>
        <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice>
        <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice>
        <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice>
        <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol>
        <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice>
        <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus>
        <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime>
        <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol>
        <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice>
        <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol>
        <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice>
      </Level1Result>
    </Level1Response>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /BVBOnline/Intraday.asmx HTTP/1.1
Host: 195.28.176.74
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <Header xmlns="www.bvb.ro">
      <User>string</User>
      <Password>string</Password>
    </Header>
  </soap12:Header>
  <soap12:Body>
    <Level1 xmlns="www.bvb.ro">
      <symbol>string</symbol>
      <market>string</market>
    </Level1>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Level1Response xmlns="www.bvb.ro">
      <Level1Result>
        <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
        <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
        <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime>
        <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice>
        <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice>
        <Value xmlns="http://www.bvb.ro/">decimal</Value>
        <Volume xmlns="http://www.bvb.ro/">long</Volume>
        <Trades xmlns="http://www.bvb.ro/">long</Trades>
        <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent>
        <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent>
        <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice>
        <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice>
        <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice>
        <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice>
        <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol>
        <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice>
        <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus>
        <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime>
        <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol>
        <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice>
        <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol>
        <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice>
      </Level1Result>
    </Level1Response>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /BVBOnline/Intraday.asmx/Level1?symbol=string&market=string HTTP/1.1
Host: 195.28.176.74
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<TypeLevel1 xmlns="www.bvb.ro">
  <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
  <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
  <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime>
  <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice>
  <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice>
  <Value xmlns="http://www.bvb.ro/">decimal</Value>
  <Volume xmlns="http://www.bvb.ro/">long</Volume>
  <Trades xmlns="http://www.bvb.ro/">long</Trades>
  <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent>
  <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent>
  <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice>
  <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice>
  <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice>
  <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice>
  <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol>
  <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice>
  <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus>
  <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime>
  <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol>
  <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice>
  <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol>
  <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice>
</TypeLevel1>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /BVBOnline/Intraday.asmx/Level1 HTTP/1.1
Host: 195.28.176.74
Content-Type: application/x-www-form-urlencoded
Content-Length: length

symbol=string&market=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<TypeLevel1 xmlns="www.bvb.ro">
  <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
  <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
  <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime>
  <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice>
  <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice>
  <Value xmlns="http://www.bvb.ro/">decimal</Value>
  <Volume xmlns="http://www.bvb.ro/">long</Volume>
  <Trades xmlns="http://www.bvb.ro/">long</Trades>
  <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent>
  <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent>
  <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice>
  <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice>
  <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice>
  <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice>
  <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol>
  <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice>
  <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus>
  <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime>
  <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol>
  <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice>
  <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol>
  <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice>
</TypeLevel1>