codeAPI

Ventuals is built on Hyperliquid, so you can interact with any asset listed on Ventuals directly through the Hyperliquid APIarrow-up-right. All core functionality—market data, order placement, order management, account queries, and position tracking—is available via the Hyperliquid API.

When interacting with Hyperliquid's API, you may need to specify dex: "vntl" in your queries, or filter for coins whose ticker symbols are prefixed with vntl: (e.g., vntl:SPACEX).

The key steps are:

  1. Connect to the API — Via HTTP or websockets

  2. Fetch data — Use the /info endpoint to fetch information about markets and specific users.

  3. Place and manage orders — Use the /exchange endpoint to place, cancel, and modify orders.

  4. Subscribe to real-time data streams — Use the websocket endpoint to receive real-time updates about markets and specific users

Last updated