MEXC Parent child account API

The Parent child account API from MEXC — 6 operation(s) for parent child account.

GitHub OpenAPI

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v3/sub-account/virtualSubAccount Create a virtual sub-account · new virtualSubAccount #
Ask an LLM
“How do I create a virtual sub-account under my master account?”
“Can I add a note when creating a virtual sub-account?”
Tell an agent
Create a virtual sub-account for {subAccount}.
Create a virtual sub-account {subAccount} with note {note}.
GET /api/v3/sub-account/list List sub-accounts · Query sub-account list #
Ask an LLM
“Which sub-accounts exist under my master account?”
“Can I see all my sub-accounts at once?”
Tell an agent
List my sub-accounts.
Show every sub-account under my master account.
POST /api/v3/sub-account/apiKey Create an API key for a sub-account · new sub-account apiKey #
Ask an LLM
“How do I generate a new API key for a sub-account?”
“Can I restrict a sub-account's API key to certain permissions?”
Tell an agent
Create an API key for sub-account {subAccount}.
Generate a new API key for {subAccount} with permissions {permissions}.
GET /api/v3/sub-account/apiKey Get an API key for a sub-account · Query sub-account apiKey #
Ask an LLM
“What API key has been issued to a particular sub-account?”
“Can I look up a sub-account's API key by its name?”
Tell an agent
Get the API key for sub-account {subAccount}.
Show the API key issued to {subAccount}.
DELETE /api/v3/sub-account/apiKey Delete an API key from a sub-account · Delete sub-account apiKey #
Ask an LLM
“How do I revoke an API key from a sub-account?”
“Can I remove a sub-account's API key by its key ID?”
Tell an agent destructive · confirm first
Delete API key {apiKey} from sub-account {subAccount}.
Revoke the API key {apiKey} on {subAccount}.
POST /api/v3/capital/sub-account/universalTransfer Transfer funds between sub-accounts · Sub-account UniversalTransfer #
Ask an LLM
“How do I move funds from one sub-account to another?”
“Can I transfer a specific amount of an asset between sub-accounts?”
Tell an agent
Transfer {amount} {asset} from {fromAccountType} {fromAccount} to {toAccountType} {toAccount}.
Move {amount} {asset} between sub-accounts {fromAccount} and {toAccount}.
GET /api/v3/capital/sub-account/universalTransfer List sub-account universal transfers · Query Sub-account UniversalTransfer Record #
Ask an LLM
“How do I see transfers between my sub-accounts?”
“Can I filter a sub-account's universal transfer history by asset?”
Tell an agent
Show universal transfer records for {asset}.
List transfers from {fromAccountType} to {toAccountType} for sub-account {toAccount}.
POST /api/v3/sub-account/futures Enable futures for a sub-account · Enable Futures For Sub-account #
Ask an LLM
“How do I turn on futures trading for a sub-account?”
“Can I enable futures on a sub-account without touching the master account?”
Tell an agent
Enable futures for sub-account {subAccount}.
Turn on futures trading on {subAccount}.
POST /api/v3/sub-account/margin Enable margin for a sub-account · Enable Margin For Sub-account #
Ask an LLM
“How do I activate margin trading for a sub-account?”
“Can I enable margin on a sub-account separately from the master account?”
Tell an agent
Enable margin for sub-account {subAccount}.
Turn on margin trading on {subAccount}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/mexc:mexc-parent-child-account-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

mexc-parent-child-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MEXC Spot REST API v3 Parent child account API
  description: MEXC Spot REST API (v3) providing programmatic access to spot trading, market data, account management, and wallet operations.
  version: 1.0.0
servers:
- url: https://api.mexc.com
tags:
- name: Parent child account
paths:
  /api/v3/sub-account/virtualSubAccount:
    post:
      tags:
      - Parent child account
      summary: new virtualSubAccount
      operationId: new_virtualsubaccount
      parameters:
      - name: subAccount
        in: query
        description: subAccount
        required: false
        schema:
          type: string
      - name: note
        in: query
        description: remarks
        required: false
        schema:
          type: string
      - name: timestamp
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: signature
        in: query
        description: ''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/sub-account/list:
    get:
      tags:
      - Parent child account
      summary: Query sub-account list
      operationId: query_sub_account_list
      parameters:
      - name: timestamp
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: signature
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: recvWindow
        in: query
        description: ''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/sub-account/apiKey:
    post:
      tags:
      - Parent child account
      summary: new sub-account apiKey
      operationId: new_sub_account_apikey
      parameters:
      - name: subAccount
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: note
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: permissions
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: timestamp
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: signature
        in: query
        description: ''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
    get:
      tags:
      - Parent child account
      summary: Query sub-account apiKey
      operationId: query_sub_account_apikey
      parameters:
      - name: subAccount
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: timestamp
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: signature
        in: query
        description: ''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
    delete:
      tags:
      - Parent child account
      summary: Delete sub-account apiKey
      operationId: delete_sub_account_apikey
      parameters:
      - name: subAccount
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: apiKey
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: signature
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: timestamp
        in: query
        description: ''
        required: false
        schema:
          type: string
      requestBody:
        content:
          text/plain:
            schema:
              type: object
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/capital/sub-account/universalTransfer:
    post:
      tags:
      - Parent child account
      summary: Sub-account UniversalTransfer
      operationId: sub_account_universaltransfer
      parameters:
      - name: asset
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: amount
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: fromAccountType
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: fromAccount
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: toAccountType
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: toAccount
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: clientTranId
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: timestamp
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: signature
        in: query
        description: ''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
    get:
      tags:
      - Parent child account
      summary: Query Sub-account UniversalTransfer Record
      operationId: query_sub_account_universaltransfer_record
      parameters:
      - name: asset
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: fromAccountType
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: toAccountType
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: toAccount
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: timestamp
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: signature
        in: query
        description: ''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/sub-account/futures:
    post:
      tags:
      - Parent child account
      summary: Enable Futures For Sub-account
      operationId: enable_futures_for_sub_account
      parameters:
      - name: subAccount
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: timestamp
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: signature
        in: query
        description: ''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/sub-account/margin:
    post:
      tags:
      - Parent child account
      summary: Enable Margin For Sub-account
      operationId: enable_margin_for_sub_account
      parameters:
      - name: subAccount
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: timestamp
        in: query
        description: ''
        required: false
        schema:
          type: string
      - name: signature
        in: query
        description: ''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-MEXC-APIKEY