Bitstamp Exchange API

Access live order book, trade, and ticker data from one of Europe's leading cryptocurrency exchanges.

Bitstamp Integration

Subscribe to Bitstamp's WebSocket channels for real-time market data with minimal latency.

Bitstamp Market Data

The sgcWebSockets Bitstamp component provides real-time access to one of the longest-running cryptocurrency exchanges. Receive live order book updates, trade events, and ticker data for all available trading pairs through a persistent WebSocket connection.

  • Live order book updates
  • Real-time trade events
  • Ticker and OHLC data
  • Automatic reconnection handling

Delphi Bitstamp Example

Subscribe to Bitstamp live trades.

uses
  sgcHTTP_API_Bitstamp;

var
  Bitstamp: TsgcHTTPAPI_Bitstamp;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Bitstamp := TsgcHTTPAPI_Bitstamp.Create(nil);
  Bitstamp.OnBitstampTrade := OnTrade;
  Bitstamp.Connect;
end;

procedure TForm1.Subscribe;
begin
  Bitstamp.SubscribeTrades('btcusd');
end;

procedure TForm1.OnTrade(Sender: TObject;
  aPrice, aAmount: string);
begin
  Memo1.Lines.Add('BTC/USD: $' + aPrice +
    ' x ' + aAmount);
end;

Documentation & Demos

Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.

Ready to Stream Bitstamp Data?

Download the free trial and connect to Bitstamp in minutes.