GMX · Schema

PositionResponse

DeFiPerpetual ExchangeDEXTradingLeverageLiquidity PoolsGLPGM TokensGLVArbitrumAvalancheWeb3

Properties

Name Type Description
relatedOrders array
pendingClaimableFundingFeesUsd string
pendingFundingFeesUsd string
uiFeeUsd string
closingFeeUsd string
netValue string
leverageWithoutPnl string
leverageWithPnl string
leverage string
closePriceImpactDeltaUsd string
pendingImpactUsd string
priceImpactDiffUsd string
netPriceImapctDeltaUsd string
pnlAfterAllFeesPercentage string
pnlAfterAllFees string
netValueAfterAllFees string
pnlAfterFeesPercentage string
pnlAfterFees string
pnlPercentage string
hasLowCollateral boolean
remainingCollateralAmount string
remainingCollateralUsd string
collateralUsd string
liquidationPrice string
entryPrice string
markPrice string
poolName string
indexName string
data string
pendingImpactAmount string
uiFeeAmount string
traderDiscountAmount string
positionFeeAmount string
pnl string
isOpening boolean
claimableShortTokenAmount string
claimableLongTokenAmount string
fundingFeeAmount string
isLong boolean
decreasedAtTime string
increasedAtTime string
pendingBorrowingFeesUsd string
collateralAmount string
sizeInTokens string
sizeInUsd string
collateralTokenAddress string
marketAddress string
account string
contractKey string
key string
View JSON Schema on GitHub

JSON Schema

PositionResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/gmx/json-schema/PositionResponse.json",
  "title": "PositionResponse",
  "properties": {
    "relatedOrders": {
      "items": {
        "$ref": "#/components/schemas/OrderResponse"
      },
      "type": "array"
    },
    "pendingClaimableFundingFeesUsd": {
      "type": "string"
    },
    "pendingFundingFeesUsd": {
      "type": "string"
    },
    "uiFeeUsd": {
      "type": "string"
    },
    "closingFeeUsd": {
      "type": "string"
    },
    "netValue": {
      "type": "string"
    },
    "leverageWithoutPnl": {
      "type": "string"
    },
    "leverageWithPnl": {
      "type": "string"
    },
    "leverage": {
      "type": "string"
    },
    "closePriceImpactDeltaUsd": {
      "type": "string"
    },
    "pendingImpactUsd": {
      "type": "string"
    },
    "priceImpactDiffUsd": {
      "type": "string"
    },
    "netPriceImapctDeltaUsd": {
      "type": "string"
    },
    "pnlAfterAllFeesPercentage": {
      "type": "string"
    },
    "pnlAfterAllFees": {
      "type": "string"
    },
    "netValueAfterAllFees": {
      "type": "string"
    },
    "pnlAfterFeesPercentage": {
      "type": "string"
    },
    "pnlAfterFees": {
      "type": "string"
    },
    "pnlPercentage": {
      "type": "string"
    },
    "hasLowCollateral": {
      "type": "boolean"
    },
    "remainingCollateralAmount": {
      "type": "string"
    },
    "remainingCollateralUsd": {
      "type": "string"
    },
    "collateralUsd": {
      "type": "string"
    },
    "liquidationPrice": {
      "type": "string"
    },
    "entryPrice": {
      "type": "string"
    },
    "markPrice": {
      "type": "string"
    },
    "poolName": {
      "type": "string"
    },
    "indexName": {
      "type": "string"
    },
    "data": {
      "type": "string"
    },
    "pendingImpactAmount": {
      "type": "string"
    },
    "uiFeeAmount": {
      "type": "string"
    },
    "traderDiscountAmount": {
      "type": "string"
    },
    "positionFeeAmount": {
      "type": "string"
    },
    "pnl": {
      "type": "string"
    },
    "isOpening": {
      "type": "boolean"
    },
    "claimableShortTokenAmount": {
      "type": "string"
    },
    "claimableLongTokenAmount": {
      "type": "string"
    },
    "fundingFeeAmount": {
      "type": "string"
    },
    "isLong": {
      "type": "boolean"
    },
    "decreasedAtTime": {
      "type": "string"
    },
    "increasedAtTime": {
      "type": "string"
    },
    "pendingBorrowingFeesUsd": {
      "type": "string"
    },
    "collateralAmount": {
      "type": "string"
    },
    "sizeInTokens": {
      "type": "string"
    },
    "sizeInUsd": {
      "type": "string"
    },
    "collateralTokenAddress": {
      "type": "string"
    },
    "marketAddress": {
      "type": "string"
    },
    "account": {
      "type": "string"
    },
    "contractKey": {
      "type": "string"
    },
    "key": {
      "type": "string"
    }
  },
  "required": [
    "pendingClaimableFundingFeesUsd",
    "pendingFundingFeesUsd",
    "uiFeeUsd",
    "closingFeeUsd",
    "netValue",
    "closePriceImpactDeltaUsd",
    "pendingImpactUsd",
    "priceImpactDiffUsd",
    "netPriceImapctDeltaUsd",
    "pnlAfterAllFeesPercentage",
    "pnlAfterAllFees",
    "netValueAfterAllFees",
    "pnlAfterFeesPercentage",
    "pnlAfterFees",
    "pnlPercentage",
    "hasLowCollateral",
    "remainingCollateralAmount",
    "remainingCollateralUsd",
    "collateralUsd",
    "markPrice",
    "poolName",
    "indexName",
    "data",
    "pendingImpactAmount",
    "uiFeeAmount",
    "traderDiscountAmount",
    "positionFeeAmount",
    "pnl",
    "claimableShortTokenAmount",
    "claimableLongTokenAmount",
    "fundingFeeAmount",
    "isLong",
    "decreasedAtTime",
    "increasedAtTime",
    "pendingBorrowingFeesUsd",
    "collateralAmount",
    "sizeInTokens",
    "sizeInUsd",
    "collateralTokenAddress",
    "marketAddress",
    "account",
    "contractKey",
    "key"
  ],
  "type": "object"
}

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.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/PositionResponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.