services
02

Endpoints

One domain, services.carbium.sh, for every plane, on standard TLS. No rpc. or ws. subdomains. Add your key as in authentication.

carbium://endpoints
rpc / httpshttps://services.carbium.sh
websocket / wsswss://services.carbium.sh
carbon stream / grpchttps://services.carbium.sh:9443
quote / json-rpchttps://services.carbium.sh
$Connections stay open 600 s and TLS sessions resume; reuse one client.
$Quotes are JSON-RPC POST on the RPC endpoint, only four methods, all live: quote, swap, health and prices. No quote host and no GET /quote. See quote api.

quick start

carbium://rpc · quickstart.sh
# RPC over HTTPScurl https://services.carbium.sh \  -H 'content-type: application/json' \  -H 'x-api-key: <YOUR_KEY>' \  -d '{"jsonrpc":"2.0","id":1,"method":"getSlot"}'# -> {"jsonrpc":"2.0","result":445685899,"id":1}