Loading...
Loading...
Operate MEXC Spot REST APIs through UXC with a curated OpenAPI schema, HMAC query signing, and separate public/signed workflow guardrails.
npx skill4agent add holon-run/uxc mexc-openapi-skilluxcuxcuxcPATHhttps://api.mexc.comhttps://raw.githubusercontent.com/holon-run/uxc/main/skills/mexc-openapi-skill/references/mexc-spot.openapi.jsonapi_keyX-MEXC-APIKEYsecret_keyuxc auth credential set mexc-spot \
--auth-type api_key \
--field api_key=env:MEXC_API_KEY \
--field secret_key=env:MEXC_SECRET_KEYuxc auth binding add \
--id mexc-spot \
--host api.mexc.com \
--path-prefix /api/v3 \
--scheme https \
--credential mexc-spot \
--signer-json '{"kind":"hmac_query_v1","algorithm":"hmac_sha256","signing_field":"secret_key","key_field":"api_key","key_placement":"header","key_name":"X-MEXC-APIKEY","signature_param":"signature","signature_encoding":"hex","timestamp_param":"timestamp","timestamp_unit":"milliseconds","canonicalization":{"mode":"preserve_order"}}' \
--priority 100uxc auth binding match https://api.mexc.com/api/v3/accountcommand -v mexc-openapi-cliuxc link mexc-openapi-cli https://api.mexc.com --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/mexc-openapi-skill/references/mexc-spot.openapi.jsonmexc-openapi-cli -hmexc-openapi-cli get:/api/v3/ticker/price -hmexc-openapi-cli get:/api/v3/account -hmexc-openapi-cli post:/api/v3/order -hmexc-openapi-cli get:/api/v3/ticker/price symbol=BTCUSDTmexc-openapi-cli get:/api/v3/depth symbol=BTCUSDT limit=20mexc-openapi-cli get:/api/v3/account recvWindow=5000mexc-openapi-cli get:/api/v3/openOrders symbol=BTCUSDT recvWindow=5000get:/api/v3/pingget:/api/v3/exchangeInfoget:/api/v3/ticker/priceget:/api/v3/ticker/24hrget:/api/v3/depthget:/api/v3/accountget:/api/v3/openOrdersget:/api/v3/orderpost:/api/v3/orderdelete:/api/v3/order--textokkindprotocoldataerrortimestampsignaturerecvWindowexchangeInfomexc-openapi-cli <operation> ...uxc https://api.mexc.com --schema-url <mexc_spot_openapi_schema> <operation> ...references/usage-patterns.mdreferences/mexc-spot.openapi.json