HitBTC · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Hitbtc Margin Accounts API

6 actions 6 updates phrasing extends openapi/hitbtc-margin-accounts-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/isolated/{symbol}'].get
$.paths['/margin/account/cross/{currency}'].get
$.paths['/margin/account/{margin_mode}/{instrument}'].put
$.paths['/margin/margin-settings/amr'].put

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 Accounts API
  version: 1.0.0
extends: openapi/hitbtc-margin-accounts-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: Get my margin account balance
      effect: read
      questions:
      - What is my current margin balance?
      - Can I see my margin account details?
      instructions:
      - text: Show my margin account balance.
      - text: Get my margin account details.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/account/isolated/{symbol}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an isolated margin account
      effect: read
      questions:
      - What is the balance of my isolated margin account for BTC?
      - Can I check an isolated margin account for one symbol?
      instructions:
      - text: Show my isolated margin account for {symbol}.
        slots:
          symbol: path.symbol
      - text: Get the isolated margin balance of {symbol}.
        slots:
          symbol: path.symbol
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/account/cross/{currency}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a cross-margin account
      effect: read
      questions:
      - What is my cross-margin balance in USD?
      - Can I see a cross-margin account for a currency?
      instructions:
      - text: Show my cross-margin account for {currency}.
        slots:
          currency: path.currency
      - text: Get the cross-margin balance in {currency}.
        slots:
          currency: path.currency
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/account/{margin_mode}/{instrument}'].put
  update:
    x-apievangelist-phrasing:
      intent: Open, update or close a margin account
      effect: write
      questions:
      - How do I open a new margin account?
      - Can I close a margin account by setting its balance to zero?
      instructions:
      - text: Open a {margin_mode} margin account for {instrument}.
        slots:
          margin_mode: path.margin_mode
          instrument: path.instrument
      - text: Close the {margin_mode} margin account for {instrument} by setting its balance to zero.
        slots:
          margin_mode: path.margin_mode
          instrument: path.instrument
      method: generated
      generated: '2026-11-21'
- target: $.paths['/margin/margin-settings/amr'].put
  update:
    x-apievangelist-phrasing:
      intent: Turn auto margin replenishment on or off
      effect: write
      questions:
      - Can I turn auto margin replenishment on for my isolated margin account?
      - Does changing AMR affect all positions of a cross-margin account?
      instructions:
      - text: Set AMR to {amr} for my {margin_mode} margin account.
        slots:
          amr: requestBody.amr
          margin_mode: requestBody.margin_mode
      - text: Turn auto margin replenishment {amr} on my {margin_mode} account for {symbol}.
        slots:
          amr: requestBody.amr
          margin_mode: requestBody.margin_mode
          symbol: requestBody.symbol
      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-accounts-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.