HitBTC · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Hitbtc Margin Account API

6 actions 6 updates phrasing extends openapi/hitbtc-margin-account-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/account'].get
$.paths['/margin/account'].delete
$.paths['/margin/account/{symbol}'].get
$.paths['/margin/account/{symbol}'].put
$.paths['/margin/account/{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 Account API
  version: 1.0.0
extends: openapi/hitbtc-margin-account-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/account'].get
  update:
    x-apievangelist-phrasing:
      intent: List margin accounts
      effect: read
      questions:
      - Which margin accounts do I have?
      - Can I see the margin balance across all symbols?
      instructions:
      - text: List all my margin accounts.
      - text: Show margin account details for every symbol.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/account'].delete
  update:
    x-apievangelist-phrasing:
      intent: Close all margin positions
      effect: destructive
      questions:
      - How do I close every open margin position at once?
      - Will closing all margin positions free up reserved balance?
      instructions:
      - text: Close all my margin positions and free up reserved margin balance.
      - text: Close every margin account at market price.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/account/{symbol}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a margin account for a symbol
      effect: read
      questions:
      - What is my margin balance for BTC/USD?
      - Can I check one symbol's margin account details?
      instructions:
      - text: Get my margin account for {symbol}.
        slots:
          symbol: path.symbol
      - text: Show margin balance on {symbol}.
        slots:
          symbol: path.symbol
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/account/{symbol}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a margin account
      effect: write
      questions:
      - Can I change the margin balance on a symbol?
      - What happens if I set a margin account's balance to zero?
      instructions:
      - text: Set the margin balance on {symbol} to {marginBalance}.
        slots:
          symbol: path.symbol
          marginBalance: requestBody.marginBalance
      - text: Update margin account {symbol} with strict validation {strictValidate}.
        slots:
          symbol: path.symbol
          strictValidate: requestBody.strictValidate
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/account/{symbol}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Close one margin account
      effect: destructive
      questions:
      - Can I close just the margin account for one symbol?
      - Will closing a single margin account close its positions at market price?
      instructions:
      - text: Close the margin account for {symbol}.
        slots:
          symbol: path.symbol
      - text: Close {symbol}'s margin account at price {price}.
        slots:
          symbol: path.symbol
          price: query.price
      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-account-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.