HitBTC · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Hitbtc Margin Orders API
11 actions
11 updates
phrasing
extends
openapi/hitbtc-margin-orders-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.
What the actions change
x-apievangelist-phrasing
Targets 11
$.info
$.paths['/margin/order'].get
$.paths['/margin/order'].post
$.paths['/margin/order'].delete
$.paths['/margin/order/{clientOrderId}'].get
$.paths['/margin/order/{clientOrderId}'].put
$.paths['/margin/order/{clientOrderId}'].delete
$.paths['/margin/order/{clientOrderId}'].patch
$.paths['/margin/order/{client_order_id}'].get
$.paths['/margin/order/{client_order_id}'].delete
$.paths['/margin/order/{client_order_id}'].patch
OpenAPI Overlay
# 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 Orders API
version: 1.0.0
extends: openapi/hitbtc-margin-orders-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: 10
- target: $.paths['/margin/order'].get
update:
x-apievangelist-phrasing:
intent: List margin orders
effect: read
questions:
- What margin orders have I placed?
- Can I filter my margin orders by symbol?
instructions:
- text: List all my margin orders.
- text: Show margin orders on {symbol}.
slots:
symbol: query.symbol
method: generated
generated: '2026-11-21'
- target: $.paths['/margin/order'].post
update:
x-apievangelist-phrasing:
intent: Place a margin order
effect: write
questions:
- How do I open a leveraged long or short position?
- Can I place a stop-limit order on a margin trade?
instructions:
- text: Place a {side} {type} margin order for {quantity} {symbol} at {price}.
slots:
side: requestBody.side
type: requestBody.type
quantity: requestBody.quantity
symbol: requestBody.symbol
price: requestBody.price
- text: Open a {side} {type} margin trade on {symbol} with quantity {quantity} and stop price {stopPrice}.
slots:
side: requestBody.side
type: requestBody.type
symbol: requestBody.symbol
quantity: requestBody.quantity
stopPrice: requestBody.stopPrice
method: generated
generated: '2026-11-21'
- target: $.paths['/margin/order'].delete
update:
x-apievangelist-phrasing:
intent: Cancel all margin orders
effect: destructive
questions:
- Can I cancel every margin order at once?
- Is there a way to clear all active margin trades?
instructions:
- text: Cancel all my margin orders.
- text: Cancel every margin order on {symbol}.
slots:
symbol: query.symbol
method: generated
generated: '2026-11-21'
- target: $.paths['/margin/order/{clientOrderId}'].get
update:
x-apievangelist-phrasing:
intent: Get a margin order by client ID
effect: read
questions:
- Can I look up one margin order by its client order ID?
- What is the status of a margin order I placed earlier?
instructions:
- text: Get margin order {clientOrderId}.
slots:
clientOrderId: path.clientOrderId
- text: Show the status of my margin order {clientOrderId}.
slots:
clientOrderId: path.clientOrderId
method: generated
generated: '2026-11-21'
- target: $.paths['/margin/order/{clientOrderId}'].put
update:
x-apievangelist-phrasing:
intent: Place a margin order with a client ID
effect: write
questions:
- Can I place a margin order and choose its client order ID?
- How do I open a margin trade with a client-provided order ID?
instructions:
- text: Place a {side} {type} margin order for {quantity} {symbol} at {price} with client ID {clientOrderId}.
slots:
side: requestBody.side
type: requestBody.type
quantity: requestBody.quantity
symbol: requestBody.symbol
price: requestBody.price
clientOrderId: path.clientOrderId
- text: Open a {side} {type} margin trade on {symbol} with quantity {quantity} and stop price {stopPrice}, client ID {clientOrderId}.
slots:
side: requestBody.side
type: requestBody.type
symbol: requestBody.symbol
quantity: requestBody.quantity
stopPrice: requestBody.stopPrice
clientOrderId: path.clientOrderId
method: generated
generated: '2026-11-21'
- target: $.paths['/margin/order/{clientOrderId}'].delete
update:
x-apievangelist-phrasing:
intent: Cancel a margin order by client ID
effect: destructive
questions:
- Can I cancel one margin order by its client order ID?
- What happens to a margin order when I cancel it with a client ID?
instructions:
- text: Cancel margin order {clientOrderId}.
slots:
clientOrderId: path.clientOrderId
- text: Close my margin order {clientOrderId}.
slots:
clientOrderId: path.clientOrderId
method: generated
generated: '2026-11-21'
- target: $.paths['/margin/order/{clientOrderId}'].patch
update:
x-apievangelist-phrasing:
intent: Replace a margin order by client ID
effect: destructive
questions:
- Can I change the price and quantity of a margin order I already placed?
- What happens if I replace a margin order that is rejected?
instructions:
- text: Replace margin order {clientOrderId} with quantity {quantity} and price {price}.
slots:
clientOrderId: path.clientOrderId
quantity: requestBody.quantity
price: requestBody.price
- text: Change the size of margin order {clientOrderId} to {quantity} at {price}.
slots:
clientOrderId: path.clientOrderId
quantity: requestBody.quantity
price: requestBody.price
method: generated
generated: '2026-11-21'
- target: $.paths['/margin/order/{client_order_id}'].get
update:
x-apievangelist-phrasing:
intent: Look up a margin order by its client order ID
effect: read
questions:
- Is my margin order filled or still open?
- Where can I see the current state of a single margin order using its identifier?
- Which details come back when I fetch one margin order by ID in HitBTC?
instructions:
- text: Fetch the details of the margin order with ID {client_order_id}.
slots:
client_order_id: path.client_order_id
- text: Check whether margin order {client_order_id} has been filled yet.
slots:
client_order_id: path.client_order_id
method: generated
generated: '2026-11-21'
- target: $.paths['/margin/order/{client_order_id}'].delete
update:
x-apievangelist-phrasing:
intent: Cancel a margin order by its client order ID
effect: destructive
questions:
- How do I cancel a margin order I opened earlier?
- Can I stop a single open margin order before it gets filled?
- What do I need to pass in to cancel just one margin order?
instructions:
- text: Cancel the margin order with ID {client_order_id}.
slots:
client_order_id: path.client_order_id
- text: Withdraw my open margin order {client_order_id} from the book.
slots:
client_order_id: path.client_order_id
method: generated
generated: '2026-11-21'
- target: $.paths['/margin/order/{client_order_id}'].patch
update:
x-apievangelist-phrasing:
intent: Replace a margin order
effect: destructive
questions:
- Can I change the price or size of a margin order I already placed?
- Does replacing a margin order cancel the original one?
instructions:
- text: Replace margin order {client_order_id} with a new one at a different price.
slots:
client_order_id: path.client_order_id
- text: Change the volume of my existing margin order {client_order_id}.
slots:
client_order_id: path.client_order_id
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/hitbtc-margin-orders-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.