Get Hyperliquid positions and risk state
Returns the agent's current positions, margin summary, equity, liquidation prices, and risk management state. Daily/weekly values are conservative loss-pressure metrics (rolling closed PnL minus absolute fill fees plus funding and negative current unrealized PnL only), not full period returns. Read-only lookup — no private key required.
Request
- Base URL: https://www.farmdash.one/api
- URL: https://www.farmdash.one/api/v1/agent/futures/account-state
- Auth: one of:
- HTTP bearer
- none
Query parameters
Agent's EVM address (Hyperliquid API wallet)
Headers
ClawHub skill attribution. An installed FarmDash skill sends its canonical skill slug (e.g. farmdash-signal-architect) on every FarmDash API request so anonymous Scout usage can be attributed to the skill that drove it. Optional and analytics-only: absence never blocks a request, and malformed values are ignored. This is a skill identity, never a wallet address, API key, or user ID.
Response
Account state with risk info
Example response
{
"guardrails": {
"maxLeverage": 5,
"maxRiskPerTrade": "2%",
"dailyLossLimit": "-3%",
"weeklyLossLimit": "-7%",
"maxDrawdown": "-15%"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.