bloXroute Labs integrates Drift Protocol into their Solana Trader API

bloXroute Team
3 min readMay 15, 2023

By: Ben Pichel

We are excited to announce the integration of Drift’s exchange into bloXroute’s Solana Trader API, further lowering the barriers to entry that algo-traders face when migrating from CeFi to DeFi by giving traders exposure to Drift’s decentralized perpetual futures market in a CEX-like order book API environment.

To celebrate their partnership, bloXroute and Drift have launched a 4-week market-making incentive program beginning on Monday, May 22nd, and lasting till the 19th of June, where market makers can earn up to $1000 per week by providing liquidity on Drift through bloXroute’s Trader API. For more information on the market-making incentive program and instructions on how to participate in the weekly competition, click here.

Effective immediately, access to bloXroute’s Solana Trader API and BDN is free until further notice.

BloXroute Labs launched the Solana Trader API in December 2022, which aims to provide a comprehensive solution to traders operating in the Solana ecosystem. The API was developed in collaboration with several leading Solana projects, including Raydium, Jupiter, and OpenBook (Serum community fork), to provide data streams for token prices, the latest swaps, and orders. Now, the integration with Drift Protocol further enhances the API’s functionality by offering traders exposure to Drift’s decentralized perpetual futures market in a CEX-like order book API environment.

The Trader API also grants algo-traders a significant latency advantage when receiving market data streams and executing transactions on the Solana network without the steep cost of building and maintaining a node. The CEX-like endpoints make the API accessible via Go SDK, Python SDK, TypeScript SDK, or HTTP API & Stream (WebSocket and gRPC) data feeds. For more information, please visit bloXroute Solana Trader API Documentation.

Key Benefits

The bloXroute Solana Trader API offers several advantages that make it an excellent choice for traders. Firstly, it is incredibly user-friendly and doesn’t require running your own node. The API is designed in a CEX-like RESTful system, with all data available in order book format, making it simple and intuitive to use. Additionally, installing the SDK takes less than half an hour, making it incredibly accessible. Finally, it boasts excellent performance and low latency, ensuring that users can execute transactions quickly and efficiently.

Getting Started

The bloXroute Solana Trader API offers multiple options for communicating with our endpoints, including HTTP calls, WebSocket, and gRPC connections. Additionally, the API provides SDKs in three different languages, including Go, Python, and TypeScript, making it incredibly versatile and accessible. bloXroute highly recommends that users utilize their SDKs, as they provide the easiest setup and use for the API.


To install our SDKs, you can use the following page for your reference.


Python SDK:

TypeScript SDK:

A video tutorial of how to install SDKs and start data streaming can be found here:


bloXroute Trader API perp implementation supports the following endpoints:

  • GET Perp Orderbook
  • GET Contracts
  • GET Assets
  • GET Perp Positions
  • GET Perp Open Orders
  • POST Create Position Order
  • POST Create Cancel Position Order
  • POST Create Manage Collateral
  • POST Create Settle Profit and Loss.
  • Stream Perp Orderbooks

Check the list below for the full list of the Solana DEX projects bloXroute supported.

bloXroute plans to work with more projects to further expand the functionality of the Solana Trader API and welcomes other projects to reach out to become a part of the Solana Trader API suite.

Have questions about the Solana Trader API? Our team is here to help. Drop us a message at or on our Discord.

Are you running Solana nodes and are interested in knowing how bloXroute’s Solana BDN can benefit your project? Please contact



bloXroute Team

Scaling blockchains to thousands of on-chain transactions per second. Today.