BloFin · Schema
GetApiV1AccountPositionsHistoryResponse
CompanyCryptocurrencyCryptocurrency ExchangeTradingFuturesSpot TradingCopy TradingWebSocket
Properties
| Name | Type | Description |
|---|---|---|
| historyId | string | History ID |
| positionId | string | Position ID |
| instId | string | Instrument ID, e.g. BTC-USDT |
| instType | string | Instrument type |
| side | string | Position side, buy or sell |
| marginMode | string | Margin mode cross isolated |
| positionSide | string | Position side long short net |
| closePositions | string | Closed position quantity |
| maxPositions | string | Maximum position quantity |
| liquidationPositions | string | Liquidation position quantity |
| openAveragePrice | string | Average open price |
| closeAveragePrice | string | Average close price |
| createTime | string | Creation time, Unix timestamp format in milliseconds, e.g. 1597026383085 |
| updateTime | string | Update time, Unix timestamp format in milliseconds, e.g. 1597026383085 |
| leverage | string | Leverage |
| realizedPnl | string | Realized profit and loss |
| realizedPnlRatio | string | Realized profit and loss ratio |
| fee | string | Trading fee |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/blofin/json-schema/blofin-get-api-v1-account-positions-history-response-schema.json",
"title": "GetApiV1AccountPositionsHistoryResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/blofin-account-api-openapi.yml#/components/schemas/GetApiV1AccountPositionsHistoryResponse",
"type": "object",
"properties": {
"historyId": {
"type": "string",
"description": "History ID"
},
"positionId": {
"type": "string",
"description": "Position ID"
},
"instId": {
"type": "string",
"description": "Instrument ID, e.g. BTC-USDT"
},
"instType": {
"type": "string",
"description": "Instrument type"
},
"side": {
"type": "string",
"description": "Position side, buy or sell"
},
"marginMode": {
"type": "string",
"description": "Margin mode cross isolated"
},
"positionSide": {
"type": "string",
"description": "Position side long short net"
},
"closePositions": {
"type": "string",
"description": "Closed position quantity"
},
"maxPositions": {
"type": "string",
"description": "Maximum position quantity"
},
"liquidationPositions": {
"type": "string",
"description": "Liquidation position quantity"
},
"openAveragePrice": {
"type": "string",
"description": "Average open price"
},
"closeAveragePrice": {
"type": "string",
"description": "Average close price"
},
"createTime": {
"type": "string",
"description": "Creation time, Unix timestamp format in milliseconds, e.g. 1597026383085"
},
"updateTime": {
"type": "string",
"description": "Update time, Unix timestamp format in milliseconds, e.g. 1597026383085"
},
"leverage": {
"type": "string",
"description": "Leverage"
},
"realizedPnl": {
"type": "string",
"description": "Realized profit and loss"
},
"realizedPnlRatio": {
"type": "string",
"description": "Realized profit and loss ratio"
},
"fee": {
"type": "string",
"description": "Trading fee"
}
}
}
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/blofin-get-api-v1-account-positions-history-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.