All B2B endpoints are authenticated with tenant credentials. If you are looking for standard end-user product setup, start from Core Concepts and Quick Start.
Integration Flow
The recommended order is:- Create or fetch an API wallet for the target address.
- Set the returned
public_keyas the Hyperliquid API Agent. - Start the Owly strategy instance.
- Save the returned bot identifier for later status and lifecycle calls.
- Receive webhook notifications if configured.
Base URL
Authentication
Every request must include these headers:Response Format
Successful responses follow this envelope:Step 1: Create or Fetch an API Wallet
Endpoint
Request Body
Success Example
Important behavior:
- Repeating the same request for the same
targetunder the same tenant returns the existing wallet whenever possible. - If the
targetis already occupied by another tenant or another incompatible flow, the API returns409.
Step 2: Set the API Agent on Hyperliquid
Use thepublic_key returned in Step 1 and set it as the API Agent for the target address on Hyperliquid.
This step is completed by the partner on Hyperliquid. Owly does not perform the on-chain or Hyperliquid-side configuration for you.
Step 3: Start the Strategy Instance
Endpoint
Request Body
Webhook Semantics
Success Example
The
name field in the response is the bot_name used by the status, stop, and close endpoints. Persist it on your side.Webhook Notifications
If a webhook is configured, Owly can actively deliver strategy events to your callback endpoint. Webhook categories include:trade event: trading-related events produced by the strategy instancerisk event: risk-control events produced by the strategy instancestatus event: strategy state changes
- return
2xxto acknowledge successful receipt - design the receiver to be idempotent
- assume retries and duplicate deliveries are possible
- rely only on Owly’s external event fields and business semantics, not internal service names or internal state machines
Strategy Lifecycle Endpoints
Get Status
Stop a Strategy
Close a Strategy
close ends the lifecycle of the strategy instance. After closing, it no longer continues to run.
Success example:
Common Errors
Minimal cURL Example
Create an API Wallet
Start a Strategy
Query Status
Integration Recommendations
- Always follow the sequence
api-wallet -> set API Agent on Hyperliquid -> start. - Persist the returned
bot_nameimmediately. - Make webhook consumers idempotent and retry-safe.
- Treat webhook events as Owly business notifications and do not depend on Owly internal implementation details.
- If
created = false, reuse the returnedpublic_key. - If startup fails, first verify tenant authentication, Hyperliquid API Agent setup, target ownership, and whether
configsatisfies the currentBotConfigrequirements.