Skip to main content

API

How to access the SX Bet API.

Written by Declan Lawford-Wickham
Updated over 3 weeks ago

SX Bet offers free API access for builders — see API documentation for all information on the API.

How to get your API key

  1. Sign up for SX Bet using email or MetaMask.

  2. Go to your Account page.

  3. Copy your API key from the Account section.

FAQ

Do I need an API key to use the API? No. You can access endpoints, pull markets/odds, and post or fill orders without an API key.

When do I need an API key? You only need a key if you want to subscribe to realtime channels via the API.

Is the API free? Yes — SX Bet provides free access to the API.

Can I share my API key?

Don’t share your key publicly or with anyone you don’t trust. Treat it like a password.

Did this answer your question?