Skip to main content
Skip to main content

API Overview

warning

The Silhouette API and SDK are in beta. We are actively adding new operations.

Overview

The Silhouette API provides programmatic access to shielded trading on Hyperliquid. Deposit funds, place and manage orders, and process withdrawals - all through a single endpoint.

info

Mainnet: https://api.silhouette.exchange/ Testnet: https://api-testnet.silhouette.exchange/

All API requests are POST requests sent to the same URL. Rather than separate endpoints for each operation (like /orders or /balances), the API uses a discriminated union pattern - you specify the operation in the operation field of your request body. This provides a consistent request structure across all operations.

Authentication uses Sign-In With Ethereum (SIWE), which proves your identity through your Ethereum wallet. Once authenticated, you receive a bearer token to include in all subsequent requests. See the Authentication page for full details.

Sections

  1. Quick Start - Set up your account, obtain a bearer token, and make your first API call
  2. Authentication - Detailed SIWE authentication flow
  3. Reference - Complete documentation for all API operations
  4. Troubleshooting - Common errors and solutions
  5. OpenAPI Specification - Generate strongly-typed client libraries from our OpenAPI spec

For a higher-level integration, see the Python SDK.