Skip to main content
Use a workspace API key to hit the Onstacks API. Send the key in the Authorization header on every protected request.

Base URL

Shell

Authenticate requests

Shell
Send the key as a bearer token:
HTTP

Make your first request

1

Check service readiness

Health endpoints do not require an API key.
cURL
2

List wallets

Use environment=sandbox while testing.
cURL
3

Create a wallet

cURL
4

Create a transfer preview

Preview a withdrawal before creating a transfer.
cURL
Treat API keys like passwords. Store them server-side and never expose live keys in browser code.