Gemini Trust Company · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for REST Margin Trading API

4 actions 4 updates phrasing extends openapi/gemini-trust-margin-trading-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Gemini Trust Company's API. It is a proposal applied on top of the contract, not a document Gemini Trust Company publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/v1/margin/account'].post
$.paths['/v1/margin/rates'].post
$.paths['/v1/margin/order/preview'].post

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 REST Margin Trading API
  version: 1.0.0
extends: openapi/gemini-trust-margin-trading-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/v1/margin/account'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a spot margin account summary
      effect: read
      questions:
      - How close is my spot margin account to liquidation?
      - What is my current leverage and buying power for a given pair?
      instructions:
      - text: Show my margin account summary for {symbol}.
        slots:
          symbol: requestBody.symbol
      - text: Get collateral, leverage and liquidation risk for {symbol} on account {account}.
        slots:
          symbol: requestBody.symbol
          account: requestBody.account
      method: generated
      generated: '2026-10-01'
- target: $.paths['/v1/margin/rates'].post
  update:
    x-apievangelist-phrasing:
      intent: Get margin borrowing interest rates
      effect: read
      questions:
      - What interest rate do I pay to borrow assets on margin?
      - Are margin borrow rates quoted hourly, daily or annually?
      instructions:
      - text: List current margin borrow rates for all assets.
      - text: Show margin interest rates available to account {account}.
        slots:
          account: requestBody.account
      method: generated
      generated: '2026-10-01'
- target: $.paths['/v1/margin/order/preview'].post
  update:
    x-apievangelist-phrasing:
      intent: Preview how an order affects margin risk
      effect: read
      questions:
      - Can I see how a trade would change my margin risk before placing it?
      - Which fields do I need to preview a market buy versus a limit order on margin?
      instructions:
      - text: Preview the margin impact of a {type} {side} of {amount} {symbol} at {price}.
        slots:
          type: requestBody.type
          side: requestBody.side
          amount: requestBody.amount
          symbol: requestBody.symbol
          price: requestBody.price
      - text: Simulate a margin market buy of {symbol} spending {totalSpend} without placing it.
        slots:
          symbol: requestBody.symbol
          totalSpend: requestBody.totalSpend
      method: generated
      generated: '2026-10-01'

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/gemini-trust-margin-trading-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. See our Privacy Policy and Terms.

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