Authorization Headers

Each request to bloXroute's Serum API will need an auth header. Each request to the API should include an Authorization header.

Obtaining an Auth Header

If you're an existing bloXroute customer, you can use the same authorization header as you would use for any other Cloud API offering from bloXroute.

If you are not a bloXroute customer, you can create an account and you can find your header from our account portal.

Using the header

You should include the authorization header upon establishing any connection with the Trader API.

curl --header "Authorization: <YOUR-AUTHORIZATION-HEADER>" https://ny.solana.dex.blxrbdn.com

Client SDKs

By default, you can set the environment variable AUTH_HEADER to have our client SDKs automatically load the value for connections you make to the Trader API. You can also specify this manually –– consult each SDK's documentation for more details.

Last updated