API Overview
Overview
The Silhouette API provides programmatic access to shielded trading on Hyperliquid. Deposits, order management, and withdrawals are exposed through a single endpoint.
Mainnet: https://api.silhouette.exchange/
Testnet: https://api-testnet.silhouette.exchange/
The API docs currently cover two API surfaces:
- The existing
/v0operation API, documented in the quick start, authentication, reference, troubleshooting, OpenAPI, and SDK pages. - The REST API v1/RFQ API, documented from the bundled OpenAPI source in the separate RFQ API Spec section.
For the /v0 operation API, 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 for the /v0 operation API 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
- Quick Start - Set up your account, obtain a bearer token, and make your first API call
- Authentication - Detailed SIWE authentication flow
- Reference - Complete documentation for all API operations
- Troubleshooting - Common errors and solutions
- OpenAPI Specification - Generate strongly-typed client libraries from OpenAPI specs
- RFQ API Spec - REST API v1/RFQ endpoint reference, schemas, and HMAC authentication details
For a higher-level integration, see the Python SDK.