BTSE · Schema

OTCQuoteResponse

CompanyCryptocurrencyExchangeTradingDigital AssetsFuturesWebSocket

Properties

Name Type Description
success boolean Request validation result. `true` when the HTTP status is `200`.
code integer Request status code. `1` on success; otherwise an error code.
msg string Request status message. `Success` on success; otherwise an error message.
time number Current Unix timestamp.
data object
View JSON Schema on GitHub

JSON Schema

btse-otcquote-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/btse/main/json-schema/btse-otcquote-response-schema.json",
  "title": "OTCQuoteResponse",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/btse-otc-openapi.yml#/components/schemas/OTCQuoteResponse",
  "allOf": [
    {
      "$ref": "#/$defs/CommonResponse"
    },
    {
      "type": "object",
      "required": [
        "data"
      ],
      "properties": {
        "data": {
          "$ref": "#/$defs/OTCQuoteItem"
        }
      }
    }
  ],
  "$defs": {
    "CommonResponse": {
      "type": "object",
      "required": [
        "success",
        "code",
        "msg",
        "time"
      ],
      "properties": {
        "success": {
          "type": "boolean",
          "description": "Request validation result. `true` when the HTTP status is `200`."
        },
        "code": {
          "type": "integer",
          "description": "Request status code. `1` on success; otherwise an error code."
        },
        "msg": {
          "type": "string",
          "description": "Request status message. `Success` on success; otherwise an error message."
        },
        "time": {
          "type": "number",
          "description": "Current Unix timestamp."
        }
      }
    },
    "OTCQuoteItem": {
      "type": "object",
      "required": [
        "quoteId",
        "clOrderId",
        "side",
        "baseSize",
        "baseCurrency",
        "quoteSize",
        "quoteCurrency",
        "ratio",
        "status",
        "expireTime"
      ],
      "properties": {
        "quoteId": {
          "type": "string",
          "description": "Quote ID"
        },
        "clOrderId": {
          "type": "string",
          "description": "Client order ID assigned by the client"
        },
        "side": {
          "$ref": "#/$defs/TxnSideEnum"
        },
        "baseSize": {
          "type": "string",
          "description": "Size in `baseCurrency`. Max 8 decimal places when `side=BUY`; max 9 decimal places when `side=SELL`."
        },
        "baseCurrency": {
          "type": "string",
          "description": "Base currency"
        },
        "quoteSize": {
          "type": "string",
          "description": "Size in `quoteCurrency`. Max 9 decimal places when `side=BUY`; max 8 decimal places when `side=SELL`."
        },
        "quoteCurrency": {
          "type": "string",
          "description": "Quote currency"
        },
        "ratio": {
          "type": "string",
          "description": "How many `quoteCurrency` per one `baseCurrency` (`quoteSize` / `baseSize`). Max 10 decimal places."
        },
        "status": {
          "$ref": "#/$defs/OTCQuoteStatusEnum"
        },
        "expireTime": {
          "type": "number",
          "description": "Expiration timestamp (Unix ms)"
        },
        "ttl": {
          "type": "number",
          "description": "Time to live in seconds"
        }
      }
    },
    "OTCQuoteStatusEnum": {
      "type": "string",
      "enum": [
        "NEW_QUOTE",
        "REQUOTE",
        "COMPLETED",
        "EXPIRED"
      ],
      "description": "Quote status"
    },
    "TxnSideEnum": {
      "type": "string",
      "enum": [
        "BUY",
        "SELL"
      ],
      "description": "Transaction side"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/btse-otcquote-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.