
Bitsgap API Explained: Bring Your Own Trading Strategy
Fixed bots cover most strategies. For what's left, Bitsgap's API lets your own code place the trades — while your funds stay on the exchange.
The Bitsgap API lets your own program place, manage, and monitor orders automatically, on any exchange connected to your Bitsgap account. Check a price, read your balance, place an order, close a position — anything you can do by hand in Bitsgap, your code can do on its own schedule, whether that's a simple script or a model you built yourself. Bitsgap's connection to your exchange stays exactly as it is today: trade-only, no withdrawal rights. This just adds a way for your own program to give the instructions.
What you can automate
Once connected, your program can do the same things the Bitsgap interface does, on its own schedule:
- Read live prices, for one pair or a whole exchange
- Check balances, open orders, and futures positions
- Place and cancel orders — market or limit, spot or futures
- Adjust leverage and margin on an open position
- Pull your order history
Each of these works either as a single request or as a live subscription — check a price once, or keep a connection open and react the moment it moves.
Your funds stay on the exchange
Bitsgap already connects to your exchange account with a trade-only key — it can trade, but it can't withdraw. That doesn't change here. This API adds a second, separate connection: your own program talks to Bitsgap itself, authenticated with its own key pair that you generate from your Bitsgap account and that only you hold.
That key can be revoked at any time, which immediately cuts off anything using it. Every request your program sends is signed with a private key that never leaves your machine, so nobody can act in your name without it — not by watching network traffic, not by replaying an old request.
Where to go next
Bitsgap's YouTube channel has walkthrough videos for setting up bots and connecting exchanges. For the API specifically — every endpoint, every command, full authentication details — that reference lives in Bitsgap's public API documentation, with ready-to-run examples that default to demo exchanges, so nothing touches real funds while you're learning it.
FAQ
What can I do with the Bitsgap API? Place and cancel orders, read your balances and positions, and pull live prices — programmatically, on any exchange connected to your Bitsgap account.
Does the API put my funds at risk? No. It's a separate, signed connection between your program and Bitsgap — it doesn't change Bitsgap's own connection to your exchange, which is trade-only and has never had withdrawal rights. You can revoke your API key at any time.
Do I need to know how to code to use it? Yes — the API is for running your own program. If you'd rather not write code, GRID, DCA, and COMBO bots cover the same order execution through the Bitsgap interface instead.
Can I test it before using real funds? Yes. Bitsgap's official examples default to demo exchanges, so you can place and cancel orders with no real money involved before pointing your program at a live one.