Private link
Your bot's server sits in the same datacenter as ours, and a direct link inside the building connects the two. Requests and streams go from your machine to the API over that link only. They never cross the public internet.
Why it matters
Every request a bot makes, and every event it waits for, pays the trip between its server and the API twice: out and back. On the public internet that trip runs through other people's networks, and its length changes from one moment to the next. On a private link it is a few metres of cable.
- Streams reach you first. A trade on the Advanced Data Stream or the Ultra Fast Shred Stream is on your machine the moment we publish it, not after a trip across the internet.
- Trades start sooner. A Lightspeed request reaches the race while the slot is still young, which is what the block 0 lane needs.
- The same timing every time. No route changes, no busy hours, no shared queue at the front door. A bot tuned on Monday behaves the same on Friday.
What goes over it
Everything. The Local Trade API, Lightspeed, every WebSocket stream and Ultra Fast Shred Stream all answer on the private address. Your plan's key works the same on it as on the public one, and the public address keeps working as a fallback.
Getting one
- Get the Developer or Professional plan.
- Ask in the private Telegram group. Tell us the region: Frankfurt, Amsterdam or New York.
- We tell you which datacenter our servers are in. You rent a server or a rack there.
- The datacenter runs the link between your rack and ours. We hand you the private address and put your server's private IP on its allow list.
Connecting
Over the private link you talk to each service directly: no TLS and no proxy in front, since the traffic never leaves the private network. The addresses start with http:// and ws://, and each service has its own port on the private address we hand you.
| Address | What answers | |
|---|---|---|
| Local Trade API and Lightspeed | http://<private address>:8080 | every REST route: /api/local-trade, /api/lightspeed, … |
| Advanced Data Stream | ws://<private address>:8080/api/stream/ws | the plain WebSocket, the fastest way to the stream |
| Socket.IO streams | ws://<private address>:8084 | trades, prices, candles, launches, migrations, and the Advanced Data Stream as a Socket.IO event |
| Ultra Fast Shred Stream | ws://<private address>:8110/api/ultrafast/stream | Ultra Fast |
import WebSocket from "ws";
// The Advanced Data Stream: the same events as on the public address.
const ws = new WebSocket("ws://<private address>:8080/api/stream/ws?key=sk_…&actions=buy,sell,create");
// A trade: the same body as on the public address.
const res = await fetch("http://<private address>:8080/api/lightspeed", {
method: "POST",
headers: { "content-type": "application/json", "x-api-key": "sk_…" },
body: JSON.stringify(order),
});
- Same key, same answers. Paths, bodies, events and limits are those of the public address; only the host changes.
- Only your servers get in. The private address answers the servers on its allow list. Send us your server's private IP, or your rack's range, when we set up the link; anything else gets
403 not_allowed. - Keep the connection open. A new connection costs a handshake. Reuse one (HTTP keep-alive, one socket per stream) and every request leaves at once. Measured from a server next to ours in Frankfurt: a request on an open connection is answered in about 0.7 ms over the private link, 1.7 ms over the public address.
Put your bot in the same city as the region you use. That alone takes the trip to about a millisecond; the private link is the step after.