| Use Case | Description |
|---|---|
| Algorithmic Trading | Use the Hyperliquid API to build and deploy high-performance trading algorithms that can execute trades in real-time. |
| Quantitative Analysis | Leverage the API to access historical market data and perform quantitative analysis on trading strategies. |
| Risk Management | Utilize the API to monitor and manage risk in real-time, ensuring that trading positions are optimized for maximum return. |
Post Request
A POST request is used to send data to a server to create or update a resource. In the context of the Hyperliquid API, a POST request can be used to place an order, cancel an order, or update account information.
To get started with the Hyperliquid API, follow these steps:
- Create an account: Sign up for a Hyperliquid account and generate an API key.
- Choose a programming language: Select a programming language that’s compatible with the Hyperliquid API, such as Python or Java.
- Review the documentation: Familiarize yourself with the Hyperliquid API documentation and explore the various endpoints and parameters.
Common Hyperliquid API Endpoints
The Hyperliquid API provides a range of endpoints that can be used to interact with the platform. Here are some of the most common endpoints:
| Endpoint | Description |
|---|---|
| GET /orders | Retrieve a list of open orders. |
| POST /orders | Place a new order. |
| DELETE /orders/{id} | Cancel an existing order. |
| GET /accounts | Retrieve account information, including balance and position data. |
Hyperliquid API Documentation FAQ
Get answers to frequently asked questions about the Hyperliquid API documentation.
General Questions
-
Q: What is the Hyperliquid API?
The Hyperliquid API is a RESTful API that provides access to a wide range of financial data and services, allowing developers to build innovative applications and integrations.
-
Q: Where can I find the Hyperliquid API documentation?
The Hyperliquid API documentation is available on our website, and can be accessed by clicking on the “API Documentation” link at the top of the page.
-
Q: What programming languages are supported by the Hyperliquid API?
The Hyperliquid API supports a wide range of programming languages, including but not limited to: Python, Java, JavaScript, and C#.
Authentication and Authorization
-
Q: How do I authenticate with the Hyperliquid API?
To authenticate with the Hyperliquid API, you will need to obtain an API key and provide it in the Authorization header of your API requests.
-
Q: What is the difference between an API key and an access token?
An API key is used to identify your application and is provided when you sign up for the Hyperliquid API, while an access token is obtained through the OAuth flow and is used to authenticate specific API requests.
-
Q: How long is my access token valid for?
Access tokens are valid for a limited time (usually 1 hour) and must be refreshed or obtained again after expiration.
API Requests and Responses
-
Q: What is the base URL for the Hyperliquid API?
The base URL for the Hyperliquid API is https://api.hyperliquid.com/.
-
Q: What HTTP methods are supported by the Hyperliquid API?
The Hyperliquid API supports the following HTTP methods: GET, POST, PUT, DELETE, and PATCH.
-
Q: What format are API responses in?
API responses are in JSON format by default, but can also be returned in XML format if specified in the request headers.
Troubleshooting and Support
-
Q: I’m getting an error when making an API request, what should I do?
Check the API documentation and ensure that you are making the request correctly, and if the issue persists, contact our support team for assistance.
-
Q: How do I report a bug or issue with the Hyperliquid API?
You can report bugs or issues with the Hyperliquid API by contacting our support team through email or by submitting a support ticket on our website.
-
Q: What are the Hyperliquid API support hours?
Our support team is available to assist you Monday-Friday, 9am-5pm EST, excluding holidays.

