MEXC Market Date Endpoints API

The Market Date Endpoints API from MEXC — 13 operation(s) for market date endpoints.

GitHub OpenAPI

Operations 13

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

GET /api/v3/ping Test the API server is reachable · Test Connectivity #
Ask an LLM
“Is the MEXC API server up and reachable?”
“Can I ping the exchange server to check connectivity?”
Tell an agent
Ping the MEXC API server to test connectivity.
Check that the exchange server responds to a connectivity ping.
GET /api/v3/time Get the exchange server time · Check Server Time #
Ask an LLM
“What time does the MEXC exchange server think it is?”
“Can I sync my clock with the exchange server time?”
Tell an agent
Get the current server time from the MEXC exchange.
Check the exchange server's timestamp.
GET /api/v3/exchangeInfo Get exchange information · Exchange Information #
Ask an LLM
“What is the exchange's current status and limits?”
“Which symbols and filters does the exchange support?”
Tell an agent
Get the exchange information including status and limits.
Show the exchange's current state and supported filters.
GET /api/v3/depth Get the order book for a symbol · Order Book #
Ask an LLM
“What are the current buy and sell orders for BTC/USDT?”
“Can I see the depth book for a single trading pair?”
Tell an agent
Get the order book for {symbol}.
Show the buy and sell depth for {symbol}.
GET /api/v3/trades List recent trades for a symbol · Recent Trades List #
Ask an LLM
“What were the most recent trades on BTC/USDT?”
“Can I see the latest executed trades for a pair?”
Tell an agent
List recent trades for {symbol}.
Show the latest executed trades on {symbol}.
GET /api/v3/historicalTrades Look up historical trades for a symbol · Old Trade Lookup #
Ask an LLM
“Can I fetch trades from a past date for BTC/USDT?”
“Where do I get historical trade data for a symbol?”
Tell an agent
Look up historical trades for {symbol}.
Fetch past trade data for {symbol}.
GET /api/v3/aggTrades Get compressed aggregate trades for a symbol · Compressed/Aggregate Trades List #
Ask an LLM
“Can I get compressed trade aggregates for BTC/USDT?”
“What are the compressed aggregate trades for a pair?”
Tell an agent
Get compressed aggregate trades for {symbol}.
Show the compressed trade aggregates for {symbol}.
GET /api/v3/klines Get candlestick data for a symbol · Kline/Candlestick Data #
Ask an LLM
“What are the OHLC candles for BTC/USDT on 1-hour intervals?”
“Can I pull kline data for a symbol at a given interval?”
Tell an agent
Get kline data for {symbol} at {interval} intervals.
Show candlestick candles for {symbol} on {interval} bars.
GET /api/v3/avgPrice Get the current average price for a symbol · Current Average Price #
Ask an LLM
“What is the average price of BTC/USDT right now?”
“Can I get the current weighted average price for a pair?”
Tell an agent
Get the current average price for {symbol}.
Show the weighted average price of {symbol}.
GET /api/v3/ticker/24hr Get 24-hour price change stats for all symbols · 24hr Ticker Price Change Statistics #
Ask an LLM
“What is the 24-hour price change across all trading pairs?”
“Can I get the 24hr ticker stats for every symbol?”
Tell an agent
Get 24-hour price change statistics for all symbols.
Show the 24hr ticker price change across the exchange.
GET /api/v3/ticker/price Get the latest price for a symbol · Symbol Price Ticker #
Ask an LLM
“What is the current price of BTC/USDT?”
“Can I get the latest ticker price for a single pair?”
Tell an agent
Get the latest price ticker for BTC/USDT.
Show the current price of BTC/USDT.
GET /api/v3/ticker/bookTicker Get the best bid and ask for a symbol · Symbol Order Book Ticker #
Ask an LLM
“What is the best bid and ask for BTC/USDT right now?”
“Can I get the top-of-book prices for a pair?”
Tell an agent
Get the best bid and ask for BTC/USDT.
Show the top-of-book prices for BTC/USDT.
GET /api/v3/defaultSymbols List default trading symbols · Default Symbols #
Ask an LLM
“Which symbols are included in the default symbol list?”
“What trading pairs come back by default when I request symbols?”
Tell an agent
List the default symbols.
Show the default trading pairs.

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-market-date-endpoints-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-market-date-endpoints-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MEXC Spot REST API v3 Market Date Endpoints 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: Market Date Endpoints
paths:
  /api/v3/ping:
    get:
      tags:
      - Market Date Endpoints
      summary: Test Connectivity
      operationId: test_connectivity
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/time:
    get:
      tags:
      - Market Date Endpoints
      summary: Check Server Time
      operationId: check_server_time
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/exchangeInfo:
    get:
      tags:
      - Market Date Endpoints
      summary: Exchange Information
      operationId: exchange_information
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/depth:
    get:
      tags:
      - Market Date Endpoints
      summary: Order Book
      operationId: order_book
      parameters:
      - name: symbol
        in: query
        description: Symbol
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/trades:
    get:
      tags:
      - Market Date Endpoints
      summary: Recent Trades List
      operationId: recent_trades_list
      parameters:
      - name: symbol
        in: query
        description: Symbol
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/historicalTrades:
    get:
      tags:
      - Market Date Endpoints
      summary: Old Trade Lookup
      operationId: old_trade_lookup
      parameters:
      - name: symbol
        in: query
        description: Symbol
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/aggTrades:
    get:
      tags:
      - Market Date Endpoints
      summary: Compressed/Aggregate Trades List
      operationId: compressed_aggregate_trades_list
      parameters:
      - name: symbol
        in: query
        description: ''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/klines:
    get:
      tags:
      - Market Date Endpoints
      summary: Kline/Candlestick Data
      operationId: kline_candlestick_data
      parameters:
      - name: symbol
        in: query
        description: Symbol
        required: false
        schema:
          type: string
      - name: interval
        in: query
        description: 'ENUM: Kline interval'
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/avgPrice:
    get:
      tags:
      - Market Date Endpoints
      summary: Current Average Price
      operationId: current_average_price
      parameters:
      - name: symbol
        in: query
        description: Symbol
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/ticker/24hr:
    get:
      tags:
      - Market Date Endpoints
      summary: 24hr Ticker Price Change Statistics
      operationId: 24hr_ticker_price_change_statistics
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/ticker/price:
    get:
      tags:
      - Market Date Endpoints
      summary: Symbol Price Ticker
      operationId: symbol_price_ticker
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/ticker/bookTicker:
    get:
      tags:
      - Market Date Endpoints
      summary: Symbol Order Book Ticker
      operationId: symbol_order_book_ticker
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /api/v3/defaultSymbols:
    get:
      tags:
      - Market Date Endpoints
      summary: Default Symbols
      operationId: default_symbols
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-MEXC-APIKEY