Venues
Server info
What this server is, its version, and where each part lives.
GET/self-hosted · no auth
Self-hosted. Served by synpath serve on your own machine or host, which must be running. Nothing on this page runs on Synpath's servers.
The answer you get by opening your server's address in a browser. links.trading is present when the trading API is mounted, as it is on your self-hosted server (synpath serve).
Response
Always 200.
import httpx
r = httpx.get("http://127.0.0.1:8000/")
r.raise_for_status()
print(r.json())200
{
"name": "synpath",
"version": "0.1.0",
"links": {
"docs": "/docs",
"openapi": "/openapi.json",
"health": "/health",
"venues": "/venues",
"trading": "/trading"
}
}
