Skip to main content
Skip to main content

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.

info

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

The API docs currently cover two API surfaces:

  • The existing /v0 operation 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

  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 OpenAPI specs
  6. RFQ API Spec - REST API v1/RFQ endpoint reference, schemas, and HMAC authentication details

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