BigONE Position API

Position Management

Operations 2

PUT /positions/{symbol}/margin Adjust Leverage / Margin #
PUT /positions/{symbol}/risk-limit Set Risk Limit #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-user-trade-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-create-order-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-asset-pair-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-ticker-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-candle-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-withdrawal-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-deposit-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-create-withdrawal-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-asset-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-create-transfer-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-transfer-info-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-convert-quote-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-convert-trade-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-convert-range-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-create-trade-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-convert-asset-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-position-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-trade-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-instrument-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-place-order-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/bigone/json-schema/bigone-account-schema.json

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/bigone:bigone-position-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

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

OpenAPI Specification

bigone-position-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bigone Position API
  version: 2.0.0
  contact:
    email: developer@big.one
  description: 'Operations tagged Position across 2 of this provider''s published API definitions: contract_rest.yml, bigone-contract-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.big.one/api/contract/v2
tags:
- name: Position
  description: Position Management
paths:
  /positions/{symbol}/margin:
    put:
      tags:
      - Position
      summary: Adjust Leverage / Margin
      security:
      - bearerAuth: []
      parameters:
      - name: symbol
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                margin:
                  type: number
                  description: Position Margin. Set 0 unless adding extra margin (isolated).
                  example: 0
                leverage:
                  type: number
                  description: Leverage (valid when isCross is true)
                  example: 100
                isCross:
                  type: boolean
                  description: 'Margin Type. true: Cross Margin, false: Isolated Margin'
                  example: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Position'
      operationId: putPositionsBySymbolMargin
      x-operation-id-source: derived
    servers:
    - url: https://api.big.one/api/contract/v2
  /positions/{symbol}/risk-limit:
    put:
      tags:
      - Position
      summary: Set Risk Limit
      security:
      - bearerAuth: []
      parameters:
      - name: symbol
        in: path
        required: true
        schema:
          type: string
        description: Contract types, includes BTCUSD, BTCUSDT, ETHUSDT, EOSUSDT
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - notional
              properties:
                notional:
                  type: number
                  description: Position notional value limit
                  example: 200
            example:
              notional: 200
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  notional:
                    type: number
                    description: Position notional value limit
                    example: 200
                  IMR:
                    type: number
                    description: Initial Margin Rate
                    example: 0.015
              example:
                notional: 200
                IMR: 0.015
      operationId: putPositionsBySymbolRiskLimit
      x-operation-id-source: derived
    servers:
    - url: https://api.big.one/api/contract/v2
components:
  schemas:
    Position:
      type: object
      description: An open contract position with its details including size, PnL, and margin information.
      properties:
        id:
          type: string
          format: uuid
          description: The unique position identifier.
          example: 5aec8f3f-9846-41af-0005-1b306eeb533a
        symbol:
          type: string
          description: The contract instrument symbol (e.g., BTCUSD, BTCUSDT).
          example: BTCUSD
        userId:
          type: string
          description: The user ID who owns this position.
          example: 5aec525e-335d-4724-0005-20153b361f89
        currency:
          type: string
          description: The margin currency for this position (e.g., USDT, BTC).
          example: BTC
        isCross:
          type: boolean
          description: Whether the position uses Cross Margin mode. true = cross margin, false = isolated margin.
          example: true
        marginRate:
          type: number
          description: The current margin rate.
          example: 0.01
        feeRateTaker:
          type: number
          description: The taker fee rate for this position.
          example: 0.0007
        feeRateMaker:
          type: number
          description: The maker fee rate for this position (negative values indicate rebates).
          example: -0.0002
        size:
          type: number
          description: The position size in contracts. Positive = long position, Negative = short position.
          example: 0
        notional:
          type: number
          description: The position notional value in the settlement currency.
          example: 0
        initMargin:
          type: number
          description: The initial margin required to open this position.
          example: 0
        margin:
          type: number
          description: The current margin allocated to this position.
          example: 0
        orderMargin:
          type: number
          description: The margin frozen for open orders related to this position.
          example: 0.0013327626
        realisedPnl:
          type: number
          description: The realized profit and loss from closed trades.
          example: 0
        totalPnl:
          type: number
          description: The total profit and loss (realized + unrealized).
          example: 0
        markPrice:
          type: number
          description: The current mark price used for margin calculations.
          example: 11303.14
        riskLimit:
          type: number
          description: The current risk limit tier for this position.
          example: 100
        liquidatePrice:
          type: number
          description: The estimated liquidation price. When mark price reaches this level, liquidation will be triggered.
          example: 0
        entryPrice:
          type: number
          description: The average entry price of the position.
          example: 0
        unrealizedPnl:
          type: number
          description: The unrealized profit and loss based on mark price.
          example: 0
        leverage:
          type: number
          description: The effective leverage (notional value / margin).
          example: 100
        equity:
          type: number
          description: The position equity (margin + unrealized PnL).
          example: 0
        value:
          type: number
          description: The position value in the settlement currency.
          example: 0
        risk:
          type: number
          description: The risk value for this position.
          example: 0
        rom:
          type: number
          description: Return on Margin (percentage).
          example: 0
        buyingNotional:
          type: number
          description: The total notional value of buy orders in this position.
          example: 0
        sellingNotional:
          type: number
          description: The total notional value of sell orders in this position.
          example: -0.116909
        buyingSize:
          type: number
          description: The total size of buy orders in this position.
          example: 0
        sellingSize:
          type: number
          description: The total size of sell orders in this position.
          example: -1400
        seqNo:
          type:
          - integer
          - 'null'
          format: int64
          description: The sequence number for order book updates.
          example: null
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- contract_rest.yml
- bigone-contract-openapi.yml