FarmDash.one · Schema
AccountStateResponse
DeFiDeFAIAI AgentsMCPOpenAPIx402BlockchainCryptocurrencyairdrop trackingDeveloper ToolsAgent ReadinessMachine PaymentsHyperliquidWallet Intelligencezero custody
Properties
| Name | Type | Description |
|---|---|---|
| ok | boolean | |
| account | object | |
| positions | array | |
| risk | object | |
| guardrails | object | |
| timestamp | integer | |
| warnings | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/farmdash/json-schema/farmdash-account-state-response-schema.json",
"title": "AccountStateResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/farmdash-account-api-openapi.yml#/components/schemas/AccountStateResponse",
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"account": {
"$ref": "#/$defs/AccountSummary"
},
"positions": {
"type": "array",
"items": {
"$ref": "#/$defs/FuturesPosition"
}
},
"risk": {
"$ref": "#/$defs/RiskState"
},
"guardrails": {
"$ref": "#/$defs/Guardrails"
},
"timestamp": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/$defs/DustStormWarning"
}
}
},
"$defs": {
"AccountSummary": {
"type": "object",
"properties": {
"equity": {
"type": "string"
},
"totalNotionalPosition": {
"type": "string"
},
"marginUsed": {
"type": "string"
},
"availableMargin": {
"type": "string"
},
"aggregateLeverage": {
"type": "string"
}
}
},
"DustStormWarning": {
"type": "object",
"required": [
"kind",
"message"
],
"properties": {
"kind": {
"type": "string",
"const": "dust_storm"
},
"message": {
"type": "string"
}
}
},
"FuturesPosition": {
"type": "object",
"properties": {
"coin": {
"type": "string"
},
"size": {
"type": "number"
},
"side": {
"type": "string",
"enum": [
"long",
"short"
]
},
"entryPrice": {
"type": "number"
},
"markPrice": {
"type": "number"
},
"unrealizedPnl": {
"type": "number"
},
"returnOnEquity": {
"type": "number"
},
"leverage": {
"type": "number"
},
"leverageType": {
"type": "string"
},
"liquidationPrice": {
"type": [
"number",
"null"
]
},
"marginUsed": {
"type": "number"
}
}
},
"Guardrails": {
"type": "object",
"properties": {
"maxLeverage": {
"type": "integer"
},
"maxRiskPerTrade": {
"type": "string"
},
"maxPositions": {
"type": "integer"
},
"dailyLossLimit": {
"type": "string"
},
"weeklyLossLimit": {
"type": "string"
},
"maxDrawdown": {
"type": "string"
}
}
},
"RiskState": {
"type": "object",
"properties": {
"dailyPnl": {
"type": "string"
},
"dailyPnlPct": {
"type": "string"
},
"weeklyPnl": {
"type": "string"
},
"realizedDailyPnl": {
"type": "string"
},
"realizedWeeklyPnl": {
"type": "string"
},
"unrealizedPnl": {
"type": "string"
},
"pnlSource": {
"type": "string",
"enum": [
"hyperliquid_venue_loss_pressure"
]
},
"pnlAsOf": {
"type": "integer",
"format": "int64"
},
"pnlMethodology": {
"type": "string"
},
"drawdown": {
"type": "string"
},
"peakEquity": {
"type": "string"
},
"isTradingHalted": {
"type": "boolean"
},
"haltReason": {
"type": [
"string",
"null"
]
},
"isReducedSize": {
"type": "boolean"
},
"openPositionCount": {
"type": "integer"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/farmdash-account-state-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.