HitBTC · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Hitbtc Margin Positions API

6 actions 6 updates phrasing extends openapi/hitbtc-margin-positions-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for HitBTC's API. It is a proposal applied on top of the contract, not a document HitBTC publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/margin/position'].get
$.paths['/margin/position'].delete
$.paths['/margin/position/{symbol}'].get
$.paths['/margin/position/{symbol}'].delete
$.paths['/margin/position/{margin_mode}/{symbol}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Hitbtc Margin Positions API
  version: 1.0.0
extends: openapi/hitbtc-margin-positions-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/margin/position'].get
  update:
    x-apievangelist-phrasing:
      intent: List open margin positions
      effect: read
      questions:
      - Which margin positions do I currently have open?
      - Can I see all my open margin positions at once?
      instructions:
      - text: List my open margin positions.
      - text: Show every margin position I hold.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/position'].delete
  update:
    x-apievangelist-phrasing:
      intent: Close all margin positions
      effect: destructive
      questions:
      - How do I close every margin position at once?
      - Can I liquidate all my open margin positions in one call?
      instructions:
      - text: Close all my margin positions.
      - text: Liquidate every open margin position I have.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/position/{symbol}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one margin position
      effect: read
      questions:
      - What is my open margin position on a specific symbol?
      - Can I check the margin position for one currency pair?
      instructions:
      - text: Get my margin position on {symbol}.
        slots:
          symbol: path.symbol
      - text: Show the open margin position for {symbol}.
        slots:
          symbol: path.symbol
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/position/{symbol}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Close a margin position by symbol
      effect: destructive
      questions:
      - How do I close just the margin position on one symbol?
      - Can I close a margin position at a specific price?
      instructions:
      - text: Close my margin position on {symbol}.
        slots:
          symbol: path.symbol
      - text: Close the {symbol} margin position at price {price}.
        slots:
          symbol: path.symbol
          price: query.price
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/position/{margin_mode}/{symbol}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Close a margin position by mode and symbol
      effect: destructive
      questions:
      - Can I close a margin position using the margin mode?
      - Is there a way to close a position with strict validation on price and quantity?
      instructions:
      - text: Close the {margin_mode} margin position on {symbol}.
        slots:
          margin_mode: path.margin_mode
          symbol: path.symbol
      - text: Close the {margin_mode} {symbol} position at {price} with strict validate {strict_validate}.
        slots:
          margin_mode: path.margin_mode
          symbol: path.symbol
          price: requestBody.price
          strict_validate: requestBody.strict_validate
      method: generated
      generated: '2026-11-21'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/hitbtc-margin-positions-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.